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" "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" "1qvsuy2flpjxljwrvm1a7", "language" "nodejs", "code" "var request = require('request');\nvar options = {\n 'method' 'get',\n 'url' 'https //sandbox crbcos com/cardpayments/v1/cardtokens/5583ec45 8870 4570 a2a7 b3ef0164e605',\n 'headers' {\n 'accept' 'application/json',\n 'authorization' 'bearer eyjhbgcioijsuzi1niisimtpzci6ijlqdxnaakyyuuxwa3rjofljdzdqc1hmcmn1yyising1dci6ijlqdxnaakyyuuxwa3rjofljdzdqc1hmcmn1yyisinr5cci6ikpxvcj9 eyjpc3mioijodhrwczovl2lkchrlc3quy3jiy29zlmnvbsisim5izii6mtc3mtm5otyxncwiawf0ijoxnzcxmzk5nje0lcjlehaioje3nze0mde0mtqsimf1zci6wyjodhrwczovl2fwas5jcmjjb3muy29tlyisimh0dhbzoi8vawrwdgvzdc5jcmjjb3muy29tl3jlc291cmnlcyjdlcjzy29wzsi6wyjvcgvuawqilcjodhrwczovl2fwas5jcmjjb3muy29tlyjdlcjhbxiiolsizxh0zxjuywwixswiy2xpzw50x2lkijoiy29zzxhwbg9yzxj1asisinn1yii6imnjy2e0otuwlty3mmetndhmzs1inzuyltzjnjnmzdfinjk2zsisimf1dghfdgltzsi6mtc3mtm5njixniwiawrwijoiq1jcrw50cmfby2nvdw50iiwibmftzsi6injub3jtawxliiwiz2l2zw5fbmftzsi6iljldxzlbiisinjvbguiolsivlboiefjy2vzcyisinnly0rldnnbbgwilcjkzxztzwmurxh0lkrldiisinnly0nhcmrby2nlc3milcihrgv2zwxvcgvycyisinnly1jvbgvdt1ntyngilcjzzwnbcmdvq0rwawv3zxjziiwic2vjum9szunpu0rldiisinnly0fxu19srfailcjtzwnbv1nfv1nqiiwizgv2u2vjlkludc5ezxyixswic2lkijoirkzeqte2n0e5nufgmdvfrki4req1mumzrjfemda4reeilcjqdgkioijbmzrendyxrkffotjfneq5qjvfq0iwmuq2q0fdrtaxmij9 jvrqde5816yfxjbe5xawbdgcwzrkp3htp2x1m ry0nayxcsq4axflju1eoe8osco qnl4xjnjodvvdd8j2lefb68gg87fxrvgz3vy4zfgsgcuxprqzjd nhcmu5ictdb7mlbr8o59uy37iyoqdexiut1xekpdrzewbfwgj z7b36y9ngi1t cvtnzuvynock3wbrcj90lcuqgwnily7rgmr5 uikkd8azrdczgsj1w2fdkgsn13fnyqw6ak4vrihddnx6j2682fdo5oib6zv0k6 b0h1pcaaggauxavfoktpmqkz5evh1pkxe2z8jkkayj ws96fogp3e48ksurx9a'\n }\n};\nrequest(options, function (error, response) {\n if (error) throw new error(error);\n console log(response body);\n});\n" }, { "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" "dd pgzpsxzbuktnz6l5 x" }, "results" { "languages" \[ { "id" "zskegucw0ij9unybpihiv", "language" "200", "code" "{\n \\"id\\" \\"759f4eab 5400 4e25 9815 b4af0085684e\\",\n \\"partnerid\\" \\"1101a33d fbd9 4b9e b169 b29500f12407\\",\n \\"productid\\" \\"29f3022a ccfc 42eb aa8f b29500f13d00\\",\n \\"accountnumber\\" \\"2113556886\\",\n \\"masteraccountnumber\\" \\"2113556886\\",\n \\"token\\" \\"39a99d770b354e63ac4efaf64e757f24000000\\",\n \\"rail\\" \\"visadirect\\",\n \\"cardtype\\" \\"debit\\",\n \\"producttype\\" \\"unknown\\",\n \\"authorizationstatus\\" \\"approved\\",\n \\"statusreasoncode\\" \\"00\\",\n \\"statusreasondescription\\" \\"approved and completed successfully\\",\n \\"isauthorized\\" true,\n \\"firstname\\" \\"bob\\",\n \\"lastname\\" \\"bobbie\\",\n \\"address\\" {\n \\"street1\\" \\"101 main street\\",\n \\"street2\\" \\"more address info\\",\n \\"city\\" \\"new york\\",\n \\"state\\" \\"ny\\",\n \\"postalcode\\" \\"07666\\",\n \\"countrycode\\" \\"us\\"\n },\n \\"isaddressverified\\" true,\n \\"addressverificationdetails\\" {\n \\"avsresponsecode\\" \\"y\\",\n \\"cvv2resultcode\\" \\"m\\",\n \\"iscvvmatched\\" true\n },\n \\"accountnameinquiryused\\" \\"used\\",\n \\"accountnameinquiryresult\\" \\"match\\",\n \\"nameverificationdetails\\" {\n \\"lastnameverificationstatus\\" \\"match\\",\n \\"firstnameverificationstatus\\" \\"match\\",\n \\"middlenameverificationstatus\\" \\"match\\",\n \\"nameverificationprocessingresult\\" \\"name match performed\\"\n },\n \\"phone\\" \\"2015551212\\",\n \\"emailaddress\\" \\"mmm\@xxx com\\",\n \\"binnumber\\" \\"411111\\",\n \\"panlastfour\\" \\"1111\\",\n \\"expirationmonth\\" 12,\n \\"expirationyear\\" 2030,\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 \\"clientidentifier\\" \\"string\\",\n \\"createdat\\" \\"2026 08 23t04 05 43 3 04 00\\",\n \\"isactive\\" true,\n \\"authorizedat\\" \\"2026 08 23t04 05 43 597 04 00\\",\n \\"lastmodifiedat\\" \\"2026 08 23t04 05 43 5968251 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" "boolean", "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" "addressverificationdetails", "kind" "optional", "type" "object", "description" "detailed results from address verification service (avs) and cvv2 verification performed during card authorization", "children" \[ { "name" "avsresponsecode", "kind" "optional", "type" "string", "description" "avs response code from the card network (e g , 'y' for match, 'n' for no match) max 10 characters" }, { "name" "avsresponsedesc", "kind" "optional", "type" "string", "description" "human readable description of the avs response max 255 characters" }, { "name" "cvv2resultcode", "kind" "optional", "type" "string", "description" "cvv2 verification result code from the card network max 10 characters" }, { "name" "iscvvmatched", "kind" "optional", "type" "boolean", "description" "indicates whether the cvv2 provided matched the card on file" } ] }, { "name" "accountnameinquiryused", "kind" "optional", "type" "string", "description" "", "children" \[] }, { "name" "accountnameinquiryresult", "kind" "optional", "type" "string", "description" "", "children" \[] }, { "name" "nameverificationdetails", "kind" "optional", "type" "object", "description" "acquirer network information (ani) results for cardholder name verification performed during card authorization", "children" \[ { "name" "lastnameverificationstatus", "kind" "optional", "type" "string", "description" "verification status for the last name (e g , 'match', 'no match', 'not checked')" }, { "name" "firstnameverificationstatus", "kind" "optional", "type" "string", "description" "verification status for the first name (e g , 'match', 'no match', 'not checked')" }, { "name" "middlenameverificationstatus", "kind" "optional", "type" "string", "description" "verification status for the middle name (e g , 'match', 'no match', 'not checked')" }, { "name" "nameverificationprocessingresult", "kind" "optional", "type" "string", "description" "overall processing result for name verification (e g , 'success', 'failed')" } ] }, { "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" "cardfingerprint", "kind" "optional", "type" "string", "description" "a consistent, opaque identifier for a card without exposing any pan related data or risking reversibility", "children" \[] }, { "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" "aoew96rl9dmiuyhzxj uf" }