Payments
...
Card Tokens APIs
Card tokens
{ "name" "endpoint /cardpayments/v1/cardtokens", "method" "post", "url" "https //sandbox crbcos com/cardpayments/v1/cardtokens", "description" "create a card token", "tab" "examples", "examples" { "languages" \[ { "id" "wd2osvm9exz6gdbbmbvon", "language" "javascript", "code" "", "customlabel" "" } ], "selectedlanguageid" "wd2osvm9exz6gdbbmbvon" }, "results" { "languages" \[ { "id" "zskegucw0ij9unybpihiv", "language" "200", "code" "", "customlabel" "" }, { "id" "w5gl11rtuib7wexh6hp d", "language" "400", "code" "{\n \\"errors\\" \[\n {\n \\"code\\" 0,\n \\"message\\" \\"string\\"\n } \n ] \n} ", "customlabel" "" } ], "selectedlanguageid" "zskegucw0ij9unybpihiv" }, "request" { "pathparameters" \[], "queryparameters" \[], "headerparameters" \[], "bodydataparameters" \[ { "name" "productid", "kind" "required", "type" "string", "description" "", "" "required" }, { "name" "clientidentifier", "kind" "optional", "type" "string", "description" "a string that identifies the client associated with the payment max 50 characters", "" "a string that identifies the client associated with the payment max 50 characters" }, { "name" "firstname", "kind" "required", "type" "string", "description" "first name min 1 character, max 35 characters", "" "first name min 1 character, max 35 characters" }, { "name" "lastname", "kind" "required", "type" "string", "description" "last name min 1 character, max 35 characters", "" "last name min 1 character, max 35 characters" }, { "name" "address", "kind" "optional", "type" "object", "description" "address of card holder", "" "address of card holder", "children" \[ { "name" "street1", "kind" "required", "type" "string", "description" "address of card holder street address line 1 max length 60" }, { "name" "street2", "kind" "optional", "type" "string", "description" "address of card holder street address line 2 max length 60" }, { "name" "city", "kind" "required", "type" "string", "description" "city full name 50 character maximum" }, { "name" "state", "kind" "required", "type" "string", "description" "state code 2 characters" }, { "name" "postalcode", "kind" "required", "type" "string", "description" "max 10 characters" }, { "name" "countrycode", "kind" "required", "type" "string", "description" "2 letter iso country code" } ], "schema" \[ { "name" "street1", "kind" "required", "type" "string", "description" "address of card holder street address line 1 max length 60" }, { "name" "street2", "kind" "optional", "type" "string", "description" "address of card holder street address line 2 max length 60" }, { "name" "city", "kind" "required", "type" "string", "description" "city full name 50 character maximum" }, { "name" "state", "kind" "required", "type" "string", "description" "state code 2 characters" }, { "name" "postalcode", "kind" "required", "type" "string", "description" "max 10 characters" }, { "name" "countrycode", "kind" "required", "type" "string", "description" "2 letter iso country code" } ] }, { "name" "phone", "kind" "required", "type" "string", "description" "valid phone number", "" "valid phone number" }, { "name" "emailaddress", "kind" "optional", "type" "string", "description" "valid email address", "" "valid email address" }, { "name" "pan", "kind" "required", "type" "string", "description" "the last four digits of the primary account number (card number) ", "" "the last four digits of the primary account number (card number) " }, { "name" "expirationmonth", "kind" "required", "type" "string", "description" "two digit month credit cards expire at the end of the month written on the card", "" "two digit month credit cards expire at the end of the month written on the card" }, { "name" "expirationyear", "kind" "required", "type" "string", "description" "two digit year", "" "two digit year" }, { "name" "cvv", "kind" "required", "type" "string", "description" "the card verification value on the card", "" "the card verification value on the card" } ], "formdataparameters" \[] }, "currentnewparameter" { "label" "body parameter", "value" "bodydataparameters" }, "hastryitout" false, "response" \[ { "name" "id", "kind" "optional", "type" "string", "description" "" }, { "name" "partnerid", "kind" "optional", "type" "string", "description" " a uuid that identifies the partner, as defined in cos " }, { "name" "productid", "kind" "optional", "type" "string", "description" "" }, { "name" "token", "kind" "optional", "type" "string", "description" "a randomly generated string of characters that relates to the consumer's payment card (15 38 alphanumeric characters) " }, { "name" "authorizationstatus", "kind" "optional", "type" "string", "description" "responses can be \n notrequired\n new\n pending\n approved\n rejected\n failed" }, { "name" "statusreasoncode", "kind" "optional", "type" "string", "description" "" }, { "name" "statusreasondescription", "kind" "optional", "type" "string", "description" "" }, { "name" "isauthorized", "kind" "optional", "type" "string", "description" "" }, { "name" "firstname", "kind" "optional", "type" "string", "description" "" }, { "name" "lastname", "kind" "optional", "type" "string", "description" "" }, { "name" "address", "kind" "optional", "type" "object", "description" "", "children" \[ { "name" "street1", "kind" "optional", "type" "string", "description" "" }, { "name" "street2", "kind" "optional", "type" "string", "description" "" }, { "name" "city", "kind" "optional", "type" "string", "description" "" }, { "name" "state", "kind" "optional", "type" "string", "description" "" }, { "name" "postalcode", "kind" "optional", "type" "string", "description" "" }, { "name" "countrycode", "kind" "optional", "type" "string", "description" "" } ] }, { "name" "isaddressverified", "kind" "optional", "type" "boolean", "description" "" }, { "name" "phone", "kind" "optional", "type" "string", "description" "" }, { "name" "emailaddress", "kind" "optional", "type" "string", "description" "" }, { "name" "binnumber", "kind" "optional", "type" "string", "description" "" }, { "name" "panlastfour", "kind" "optional", "type" "string", "description" "" }, { "name" "expirationmonth", "kind" "optional", "type" "integer", "description" "" }, { "name" "expirationyear", "kind" "optional", "type" "integer", "description" "" }, { "name" "isexpired", "kind" "optional", "type" "boolean", "description" "" }, { "name" "cardbrand", "kind" "optional", "type" "string", "description" "will be one of the following \n americanexpress\n chinaunionpay\n dankort\n dinersclub\n discover\n hipercard\n jcb\n laser\n maestro\n mastercard\n rupay\n solo\n switch\n visa\n unknown" }, { "name" "capabilities", "kind" "optional", "type" "object", "description" "", "children" \[ { "name" "fastfundssupported", "kind" "optional", "type" "boolean", "description" "" }, { "name" "domesticpushenabled", "kind" "optional", "type" "boolean", "description" "" }, { "name" "domesticpullenabled", "kind" "optional", "type" "boolean", "description" "" }, { "name" "internationalpushenabled", "kind" "optional", "type" "boolean", "description" "" }, { "name" "internationalpullenabled", "kind" "optional", "type" "boolean", "description" "" } ] }, { "name" "issuercountrycode", "kind" "optional", "type" "string", "description" "" }, { "name" "clientidentifier", "kind" "optional", "type" "string", "description" "" }, { "name" "createdat", "kind" "optional", "type" "string", "description" "" }, { "name" "isactive", "kind" "optional", "type" "boolean", "description" "" }, { "name" "authorizedat", "kind" "optional", "type" "string", "description" "" }, { "name" "deactivatedat", "kind" "optional", "type" "string", "description" "" }, { "name" "lastmodifiedat", "kind" "optional", "type" "string", "description" "", "children" \[] } ] }