Card token by ID
api reference retrieves the information for a card token through tokenid { "name" "endpoint /cardpayments/v1/cardtokens/{id}", "method" "get", "url" "https //sandbox crbcos com/cardpayments/v1/cardtokens/{id}", "description" "", "tab" "examples", "examples" { "languages" \[ { "id" "wd2osvm9exz6gdbbmbvon", "language" "javascript", "code" "", "customlabel" "" }, { "id" "dd pgzpsxzbuktnz6l5 x", "language" "curl", "code" "curl location 'https //sandbox crbcos com/cardpayments/v1/cardtokens/febe40ae cbe7 4428 9aab b41b004159eb' \\\\\n header 'accept application/json' \\\\\n header 'authorization bearer token'" }, { "id" "fgije4rc1rx2xnfvxav1e", "language" "python", "code" "import http client\n\nconn = http client httpsconnection(\\"sandbox crbcos com\\")\npayload = ''\nheaders = {\n 'accept' 'application/json',\n 'authorization' 'bearer toekn'\n}\nconn request(\\"get\\", \\"/cardpayments/v1/cardtokens/febe40ae cbe7 4428 9aab b41b004159eb\\", payload, headers)\nres = conn getresponse()\ndata = res read()\nprint(data decode(\\"utf 8\\"))" }, { "id" "f6a3eoaaucoybd4cgyojg", "language" "ruby", "code" "require \\"uri\\"\nrequire \\"net/http\"\n\nurl = uri(\\"https //sandbox crbcos com/cardpayments/v1/cardtokens/febe40ae cbe7 4428 9aab b41b004159eb\\")\n\nhttps = net http new(url host, url port)\nhttps use ssl = true\n\nrequest = net http get new(url)\nrequest\[\\"accept\\"] = \\"application/json\\"\nrequest\[\\"authorization\\"] = \\"bearer eyjhbgcioijsuzi1niisimtpzci6ikjssvlrbmppxzzac3jsr1dqb2jbnmr2xznpvsising1dci6ikjssvlrbmppxzzac3jsr1dqb2jbnmr2xznpvsisinr5cci6ikpxvcj9 eyjpc3mioijodhrwczovl2lkchrlc3quy3jiy29zlmnvbsisim5izii6mtc3nja3njqxocwiawf0ijoxnzc2mdc2nde4lcjlehaioje3nzywnzgymtgsimf1zci6wyjodhrwczovl2fwas5jcmjjb3muy29tlyisimh0dhbzoi8vawrwdgvzdc5jcmjjb3muy29tl3jlc291cmnlcyjdlcjzy29wzsi6wyjvcgvuawqilcjodhrwczovl2fwas5jcmjjb3muy29tlyjdlcjhbxiiolsizxh0zxjuywwixswiy2xpzw50x2lkijoiy29zzxhwbg9yzxj1asisinn1yii6imnjy2e0otuwlty3mmetndhmzs1inzuyltzjnjnmzdfinjk2zsisimf1dghfdgltzsi6mtc3nja3njqxnywiawrwijoiq1jcrw50cmfby2nvdw50iiwibmftzsi6injub3jtawxliiwiz2l2zw5fbmftzsi6iljldxzlbiisinjvbguiolsivlboiefjy2vzcyisinnly0rldnnbbgwilcjkzxztzwmurxh0lkrldiisinnly0nhcmrby2nlc3milcihrgv2zwxvcgvycyisinnly1jvbgvdt1ntyngilcjzzwnbcmdvq0rwawv3zxjziiwic2vjum9szunpu0rldiisinnly0fxu19srfailcjtzwnbv1nfv1nqiiwic2vjq2xhdwrlq29kzurldmvsb3blcnmilcjkzxztzwmusw50lkrldijdlcjzawqioijbmevdndyzrjhgmze0rjm0mzdgmuq2oey5njgymjndqiisimp0asi6ike0rta4n0vfruiyodnbnengnte0rungmdk3mumxneiyin0 qlxmfznrw6j4xx3b3i7z9l f9bf3cs7qykltj5u6wctsqg5bywnsx37yg5ucktpjwzbeezh2svfllhomr hxbioskdt2p8q78ymdnc0qhk4e4 jsf7zkayftkzmac8an2trugk x5uh592wiomrzi2j1cvp8s knl2voabn8kycqpq6bnxequxxnjgfv3monjtyqhqcruwitwmxhg4hihcwindnselhzhf5 5aus0qbg703qx5oerpg4mpbvoa9wzfdqi9fa k0vwowwcmg6tfbc8e xkljudext 07lraujcm k8yocvdacusevyuo4b 3m0xfkz1kmufjggikpfq\\"\n\nresponse = https request(request)\nputs response read body\n" }, { "id" "zzewc vm akgy gupo b7", "language" "go", "code" "package main\n\nimport (\n \\"fmt\\"\n \\"net/http\"\n \\"io\\"\n)\n\nfunc main() {\n\n url = \\"https //sandbox crbcos com/cardpayments/v1/cardtokens/febe40ae cbe7 4428 9aab b41b004159eb\\"\n method = \\"get\\"\n\n client = \&http client {\n }\n req, err = http newrequest(method, url, nil)\n\n if err != nil {\n fmt println(err)\n return\n }\n req header add(\\"accept\\", \\"application/json\\")\n req header add(\\"authorization\\", \\"bearer eyjhbgcioijsuzi1niisimtpzci6ikjssvlrbmppxzzac3jsr1dqb2jbnmr2xznpvsising1dci6ikjssvlrbmppxzzac3jsr1dqb2jbnmr2xznpvsisinr5cci6ikpxvcj9 eyjpc3mioijodhrwczovl2lkchrlc3quy3jiy29zlmnvbsisim5izii6mtc3nja3njqxocwiawf0ijoxnzc2mdc2nde4lcjlehaioje3nzywnzgymtgsimf1zci6wyjodhrwczovl2fwas5jcmjjb3muy29tlyisimh0dhbzoi8vawrwdgvzdc5jcmjjb3muy29tl3jlc291cmnlcyjdlcjzy29wzsi6wyjvcgvuawqilcjodhrwczovl2fwas5jcmjjb3muy29tlyjdlcjhbxiiolsizxh0zxjuywwixswiy2xpzw50x2lkijoiy29zzxhwbg9yzxj1asisinn1yii6imnjy2e0otuwlty3mmetndhmzs1inzuyltzjnjnmzdfinjk2zsisimf1dghfdgltzsi6mtc3nja3njqxnywiawrwijoiq1jcrw50cmfby2nvdw50iiwibmftzsi6injub3jtawxliiwiz2l2zw5fbmftzsi6iljldxzlbiisinjvbguiolsivlboiefjy2vzcyisinnly0rldnnbbgwilcjkzxztzwmurxh0lkrldiisinnly0nhcmrby2nlc3milcihrgv2zwxvcgvycyisinnly1jvbgvdt1ntyngilcjzzwnbcmdvq0rwawv3zxjziiwic2vjum9szunpu0rldiisinnly0fxu19srfailcjtzwnbv1nfv1nqiiwic2vjq2xhdwrlq29kzurldmvsb3blcnmilcjkzxztzwmusw50lkrldijdlcjzawqioijbmevdndyzrjhgmze0rjm0mzdgmuq2oey5njgymjndqiisimp0asi6ike0rta4n0vfruiyodnbnengnte0rungmdk3mumxneiyin0 qlxmfznrw6j4xx3b3i7z9l f9bf3cs7qykltj5u6wctsqg5bywnsx37yg5ucktpjwzbeezh2svfllhomr hxbioskdt2p8q78ymdnc0qhk4e4 jsf7zkayftkzmac8an2trugk x5uh592wiomrzi2j1cvp8s knl2voabn8kycqpq6bnxequxxnjgfv3monjtyqhqcruwitwmxhg4hihcwindnselhzhf5 5aus0qbg703qx5oerpg4mpbvoa9wzfdqi9fa k0vwowwcmg6tfbc8e xkljudext 07lraujcm k8yocvdacusevyuo4b 3m0xfkz1kmufjggikpfq\\")\n\n res, err = client do(req)\n if err != nil {\n fmt println(err)\n return\n }\n defer res body close()\n\n body, err = io readall(res body)\n if err != nil {\n fmt println(err)\n return\n }\n fmt println(string(body))\n}" } ], "selectedlanguageid" "zzewc vm akgy gupo b7" }, "results" { "languages" \[ { "id" "zskegucw0ij9unybpihiv", "language" "200", "code" "{\n \\"id\\" \\"febe40ae cbe7 4428 9aab b41b004159eb\\",\n \\"partnerid\\" \\"82a1cfb9 de92 4cc2 8a74 ad6600e36d7a\\",\n \\"productid\\" \\"31cae717 408e 4813 a6b1 ad6600e48632\\",\n \\"accountnumber\\" \\"2287979807\\",\n \\"token\\" \\"7d30206f4d3848d387564f4ffdc3d151000000\\",\n \\"authorizationstatus\\" \\"approved\\",\n \\"statusreasoncode\\" \\"00\\",\n \\"statusreasondescription\\" \\"approved and completed successfullly\\",\n \\"isauthorized\\" true,\n \\"firstname\\" \\"randy\\",\n \\"lastname\\" \\"marsh\\",\n \\"address\\" {\n \\"street1\\" \\"1234 south park ave\\",\n \\"street2\\" \\"\\",\n \\"city\\" \\"south park\\",\n \\"state\\" \\"co\\",\n \\"postalcode\\" \\"81241\\",\n \\"countrycode\\" \\"us\\"\n },\n \\"isaddressverified\\" false,\n \\"accountnameinquiryused\\" \\"used\\",\n \\"accountnameinquiryresult\\" \\"match\\",\n \\"binnumber\\" \\"411111\\",\n \\"panlastfour\\" \\"1111\\",\n \\"expirationmonth\\" 6,\n \\"expirationyear\\" 30,\n \\"cardfingerprint\\" \\"7bleadlya+3nxdukox6wje0gkuhvenizuojffjvd0munyh4p3voov0w5lx3jw4h75omx50mirts6xnpcxlx/2w==\\",\n \\"isexpired\\" false,\n \\"cardbrand\\" \\"visa\\",\n \\"capabilities\\" {\n \\"fastfundssupported\\" true,\n \\"domesticpushenabled\\" true,\n \\"domesticpullenabled\\" true,\n \\"internationalpushenabled\\" true,\n \\"internationalpullenabled\\" true\n },\n \\"issuercountrycode\\" \\"us\\",\n \\"createdat\\" \\"2026 03 27t23 57 56 197 04 00\\",\n \\"isactive\\" true,\n \\"authorizedat\\" \\"2026 03 27t23 59 04 38 04 00\\",\n \\"deactivatedat\\" \\"2026 03 28t16 31 27 833 04 00\\",\n \\"lastmodifiedat\\" \\"2026 03 28t16 57 23 8422946 04 00\\"\n}", "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" "the guid of the card token you want to retrieve", "" "the guid of the card token you want to retrieve" } ], "queryparameters" \[], "headerparameters" \[], "formdataparameters" \[], "bodydataparameters" \[] }, "currentnewparameter" { "label" "path parameter", "value" "pathparameters" }, "hastryitout" false, "response" \[ { "name" "id", "kind" "optional", "type" "string", "description" "the guid of the card token you want to retrieve" }, { "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" "accountnumber", "kind" "optional", "type" "string", "description" "account number" }, { "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" "an indicator on whether or not the card token is authorized" }, { "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" "an indicator on whether or not the address was verified" }, { "name" "accountnameinquiryused", "kind" "optional", "type" "string", "description" "", "children" \[] }, { "name" "accountnameinquiryresult", "kind" "optional", "type" "string", "description" "", "children" \[] }, { "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" "true if the card is expired" }, { "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" "true if the card is active " }, { "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" } ], "autogeneratedanchorslug" "endpoint cardpaymentsv1cardtokensid", "legacyhash" "rpqvkv656t3pozobvc6u " }