Card token
api reference retrieves the information for multiple card tokens using multiple filter parameters if needed { "name" "endpoint /cardpayments/v1/cardtokens", "method" "get", "url" "https //sandbox crbcos com/cardpayments/v1/cardtokens", "description" "", "tab" "examples", "examples" { "languages" \[ { "id" "znezqxujkzi4oyu 2jqxr", "language" "curl", "code" "curl location 'https //sandbox crbcos com/cardpayments/v1/cardtokens' \\\\\n header 'accept application/json' \\\\\n header 'authorization bearer token'" }, { "id" "inqymtahndsh2rewtgjmg", "language" "nodejs", "code" "var https = require('follow redirects') https;\nvar fs = require('fs');\n\nvar options = {\n 'method' 'get',\n 'hostname' 'sandbox crbcos com',\n 'path' '/cardpayments/v1/cardtokens',\n 'headers' {\n 'accept' 'application/json',\n 'authorization' 'bearer token'\n },\n 'maxredirects' 20\n};\n\nvar req = https request(options, function (res) {\n var chunks = \[];\n\n res on(\\"data\\", function (chunk) {\n chunks push(chunk);\n });\n\n res on(\\"end\\", function (chunk) {\n var body = buffer concat(chunks);\n console log(body tostring());\n });\n\n res on(\\"error\\", function (error) {\n console error(error);\n });\n});\n\nreq end();" }, { "id" "mvz1zktv txm lxjk 6hg", "language" "python", "code" "import http client\n\nconn = http client httpsconnection(\\"sandbox crbcos com\\")\npayload = ''\nheaders = {\n 'accept' 'application/json',\n 'authorization' 'bearer eyjhbgcioijsuzi1niisimtpzci6ikjssvlrbmppxzzac3jsr1dqb2jbnmr2xznpvsising1dci6ikjssvlrbmppxzzac3jsr1dqb2jbnmr2xznpvsisinr5cci6ikpxvcj9 eyjpc3mioijodhrwczovl2lkchrlc3quy3jiy29zlmnvbsisim5izii6mtc3nja3njqxocwiawf0ijoxnzc2mdc2nde4lcjlehaioje3nzywnzgymtgsimf1zci6wyjodhrwczovl2fwas5jcmjjb3muy29tlyisimh0dhbzoi8vawrwdgvzdc5jcmjjb3muy29tl3jlc291cmnlcyjdlcjzy29wzsi6wyjvcgvuawqilcjodhrwczovl2fwas5jcmjjb3muy29tlyjdlcjhbxiiolsizxh0zxjuywwixswiy2xpzw50x2lkijoiy29zzxhwbg9yzxj1asisinn1yii6imnjy2e0otuwlty3mmetndhmzs1inzuyltzjnjnmzdfinjk2zsisimf1dghfdgltzsi6mtc3nja3njqxnywiawrwijoiq1jcrw50cmfby2nvdw50iiwibmftzsi6injub3jtawxliiwiz2l2zw5fbmftzsi6iljldxzlbiisinjvbguiolsivlboiefjy2vzcyisinnly0rldnnbbgwilcjkzxztzwmurxh0lkrldiisinnly0nhcmrby2nlc3milcihrgv2zwxvcgvycyisinnly1jvbgvdt1ntyngilcjzzwnbcmdvq0rwawv3zxjziiwic2vjum9szunpu0rldiisinnly0fxu19srfailcjtzwnbv1nfv1nqiiwic2vjq2xhdwrlq29kzurldmvsb3blcnmilcjkzxztzwmusw50lkrldijdlcjzawqioijbmevdndyzrjhgmze0rjm0mzdgmuq2oey5njgymjndqiisimp0asi6ike0rta4n0vfruiyodnbnengnte0rungmdk3mumxneiyin0 qlxmfznrw6j4xx3b3i7z9l f9bf3cs7qykltj5u6wctsqg5bywnsx37yg5ucktpjwzbeezh2svfllhomr hxbioskdt2p8q78ymdnc0qhk4e4 jsf7zkayftkzmac8an2trugk x5uh592wiomrzi2j1cvp8s knl2voabn8kycqpq6bnxequxxnjgfv3monjtyqhqcruwitwmxhg4hihcwindnselhzhf5 5aus0qbg703qx5oerpg4mpbvoa9wzfdqi9fa k0vwowwcmg6tfbc8e xkljudext 07lraujcm k8yocvdacusevyuo4b 3m0xfkz1kmufjggikpfq'\n}\nconn request(\\"get\\", \\"/cardpayments/v1/cardtokens\\", payload, headers)\nres = conn getresponse()\ndata = res read()\nprint(data decode(\\"utf 8\\"))" }, { "id" "p6oxzzfuosjk6lgfa0zgt", "language" "ruby", "code" "require \\"uri\\"\nrequire \\"net/http\"\n\nurl = uri(\\"https //sandbox crbcos com/cardpayments/v1/cardtokens\\")\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 token\\"\n\nresponse = https request(request)\nputs response read body\n" }, { "id" "u6cw6dohkc0vufffjy8pd", "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\\"\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 token\\")\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" "znezqxujkzi4oyu 2jqxr" }, "results" { "languages" \[ { "id" "zskegucw0ij9unybpihiv", "language" "200", "code" "{\n \\"results\\" \[\n {\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 }\n ],\n \\"pagenumber\\" 1,\n \\"pagesize\\" 1,\n \\"haspreviouspage\\" false,\n \\"hasnextpage\\" false\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" \[], "queryparameters" \[ { "name" "from", "kind" "optional", "type" "string", "description" "date time from for the search", "" "string" }, { "name" "to", "kind" "optional", "type" "string", "description" "date time to for the search", "" "date time to for the search" }, { "name" "firstname", "kind" "optional", "type" "string", "description" "first name", "" "first name" }, { "name" "lastname", "kind" "optional", "type" "string", "description" "last name", "" "last name" }, { "name" "partnerid", "kind" "optional", "type" "string", "description" " a uuid that identifies the partner, as defined in cos ", "" " 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 ", "" "a uuid that identifies the product, as defined in cos " }, { "name" "status", "kind" "optional", "type" "string", "description" "will be one of the following \n notrequired\n new\n pending\n approved\n rejected\n failed", "" "will be one of the following \n notrequired\n new\n pending\n approved\n rejected\n failed" }, { "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", "" "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" "issuercountrycode", "kind" "optional", "type" "string", "description" "a string representing the country code of the card issuer ", "" "a string representing the country code of the card issuer " }, { "name" "clientidentifier", "kind" "optional", "type" "string", "description" "a string that identifies the client associated with the token max 50 characters", "" "a string that identifies the client associated with the token max 50 characters" } ], "headerparameters" \[], "formdataparameters" \[], "bodydataparameters" \[] }, "currentnewparameter" { "label" "query parameter", "value" "queryparameters" }, "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 cardpaymentsv1cardtokens", "legacyhash" "yubbdtjgvvrpugdcp 9tp" }