Payments
...
Card Tokens APIs
Card token by ID
{ "name" "endpoint /cardpayments/v1/cardtokens/{id}", "method" "get", "url" "https //sandbox crbcos com/cardpayments/v1/cardtokens/{id}", "description" "retrieves the information for a card token through tokenid", "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" \[ { "name" "id", "kind" "required", "type" "string", "description" "", "" "required" } ], "queryparameters" \[], "headerparameters" \[], "bodydataparameters" \[], "formdataparameters" \[] }, "currentnewparameter" { "label" "path parameter", "value" "pathparameters" }, "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" "a uuid that identifies the product, as defined in cos " }, { "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" "a code indicating the reason for certain statuses, particularly useful in rejections or failures " }, { "name" "statusreasondescription", "kind" "optional", "type" "string", "description" "a description explaining the reason code " }, { "name" "isauthorized", "kind" "optional", "type" "string", "description" "" }, { "name" "firstname", "kind" "optional", "type" "string", "description" "first name min 1 character, max 35 characters" }, { "name" "lastname", "kind" "optional", "type" "string", "description" "last name min 1 character, max 35 characters" }, { "name" "address", "kind" "optional", "type" "object", "description" "address of card holder", "children" \[ { "name" "street1", "kind" "optional", "type" "string", "description" "street address line 1 max length 60" }, { "name" "street2", "kind" "optional", "type" "string", "description" "street address line 2 max length 60" }, { "name" "city", "kind" "optional", "type" "string", "description" "name of the city max length 60" }, { "name" "state", "kind" "optional", "type" "string", "description" "state code 2 characters" }, { "name" "postalcode", "kind" "optional", "type" "string", "description" "max 10 characters" }, { "name" "countrycode", "kind" "optional", "type" "string", "description" "2 letter iso country code" }, { "name" "isaddressverified", "kind" "optional", "type" "boolean", "description" "" }, { "name" "phone", "kind" "optional", "type" "string", "description" "valid phone number" }, { "name" "emailaddress", "kind" "optional", "type" "string", "description" "valid email address" }, { "name" "binnumber", "kind" "optional", "type" "string", "description" "the first 4 digits on the card this identification number indicates the card issuing bank " }, { "name" "panlastfour", "kind" "optional", "type" "string", "description" "last 4 digits of pan " }, { "name" "expirationmonth", "kind" "optional", "type" "integer", "description" "two digit month credit cards expire at the end of the month written on the card" }, { "name" "expirationyear", "kind" "optional", "type" "integer", "description" "two digit year" }, { "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" "capabilities are the actions permitted to do on a specific card, these are returned from the rails when the card is authorized", "children" \[ { "name" "fastfundssupported", "kind" "optional", "type" "boolean", "description" "card network can move the funds to the card immediately" }, { "name" "domesticpushenabled", "kind" "optional", "type" "boolean", "description" "enabled to push within the us" }, { "name" "domesticpullenabled", "kind" "optional", "type" "boolean", "description" "enabled to pull within the us" }, { "name" "internationalpushenabled", "kind" "optional", "type" "boolean", "description" "enabled to push internationally outside of the us" }, { "name" "internationalpullenabled", "kind" "optional", "type" "boolean", "description" "enabled to pull internationally outside of the us \nnote internationalpullenabled is not yet supported across all of the rails" } ] }, { "name" "issuercountrycode", "kind" "optional", "type" "string", "description" "iso country of issuer used for domestic/international logic & compliance" }, { "name" "clientidentifier", "kind" "optional", "type" "string", "description" "user reference id max 50 characters" }, { "name" "createdat", "kind" "optional", "type" "string", "description" "when token was created" }, { "name" "isactive", "kind" "optional", "type" "boolean", "description" "" }, { "name" "authorizedat", "kind" "optional", "type" "string", "description" "when authorized" }, { "name" "deactivatedat", "kind" "optional", "type" "string", "description" "when deactivated" }, { "name" "lastmodifiedat", "kind" "optional", "type" "string", "description" "last update timestamp" } ] } ] }