Card tokens
relevant webhooks for this endpoint be sure you have docid\ bn5xtgkjogbe ctwomcbs for these webhooks docid\ wso2e9cmh8zs8pyijc 7r docid\ wso2e9cmh8zs8pyijc 7r api reference post a card token created a new card token for the given information { "name" "endpoint /cardpayments/v1/cardtokens", "method" "post", "url" "https //sandbox crbcos com/cardpayments/v1/cardtokens", "description" "", "tab" "examples", "examples" { "languages" \[ { "id" "ijsuh svyozpsxbz7lz6i", "language" "go", "code" "package main\n\nimport (\n \\"fmt\\"\n \\"strings\\"\n \\"net/http\"\n \\"io\\"\n)\n\nfunc main() {\n\n url = \\"https //sandbox crbcos com/cardpayments/v1/cardtokens\\"\n method = \\"post\\"\n\n payload = strings newreader(`{`+\\"\n\\"+`\n \\"productid\\" \\"31cae717 408e 4813 a6b1 ad6600e48632\\",`+\\"\n\\"+`\n \\"accountnumber\\" \\"2287979807\\",`+\\"\n\\"+`\n \\"clientidentifier\\" \\"string\\",`+\\"\n\\"+`\n \\"firstname\\" \\"bob\\",`+\\"\n\\"+`\n \\"lastname\\" \\"bobbie\\",`+\\"\n\\"+`\n \\"address\\" {`+\\"\n\\"+`\n \\"street1\\" \\"101 main street\\",`+\\"\n\\"+`\n \\"street2\\" \\"more address info\\",`+\\"\n\\"+`\n \\"city\\" \\"new york\\",`+\\"\n\\"+`\n \\"state\\" \\"ny\\",`+\\"\n\\"+`\n \\"postalcode\\" \\"07666\\",`+\\"\n\\"+`\n \\"countrycode\\" \\"us\\"`+\\"\n\\"+`\n },`+\\"\n\\"+`\n \\"phone\\" \\"2015551212\\",`+\\"\n\\"+`\n \\"emailaddress\\" \\"mmm\@xxx com\\",`+\\"\n\\"+`\n \\"pan\\" \\"4111111111111111\\",`+\\"\n\\"+`\n \\"expirationmonth\\" 12,`+\\"\n\\"+`\n \\"expirationyear\\" 2030,`+\\"\n\\"+`\n \\"cvv\\" \\"263\\"`+\\"\n\\"+`\n}`)\n\n client = \&http client {\n }\n req, err = http newrequest(method, url, payload)\n\n if err != nil {\n fmt println(err)\n return\n }\n req header add(\\"content type\\", \\"application/json\\")\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}" }, { "id" "s0f udyxiizudqfern20i", "language" "python", "code" "import http client\nimport json\n\nconn = http client httpsconnection(\\"sandbox crbcos com\\")\npayload = json dumps({\n \\"productid\\" \\"31cae717 408e 4813 a6b1 ad6600e48632\\",\n \\"accountnumber\\" \\"2287979807\\",\n \\"clientidentifier\\" \\"string\\",\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 \\"phone\\" \\"2015551212\\",\n \\"emailaddress\\" \\"mmm\@xxx com\\",\n \\"pan\\" \\"4111111111111111\\",\n \\"expirationmonth\\" 12,\n \\"expirationyear\\" 2030,\n \\"cvv\\" \\"263\\"\n})\nheaders = {\n 'content type' 'application/json',\n 'accept' 'application/json',\n 'authorization' '••••••'\n}\nconn request(\\"post\\", \\"/cardpayments/v1/cardtokens\\", payload, headers)\nres = conn getresponse()\ndata = res read()\nprint(data decode(\\"utf 8\\"))" }, { "id" "szw1shga n230r3hbkqrq", "language" "ruby", "code" "require \\"uri\\"\nrequire \\"json\\"\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 post new(url)\nrequest\[\\"content type\\"] = \\"application/json\\"\nrequest\[\\"accept\\"] = \\"application/json\\"\nrequest\[\\"authorization\\"] = \\"bearer eyjhbgcioijsuzi1niisimtpzci6ikjssvlrbmppxzzac3jsr1dqb2jbnmr2xznpvsising1dci6ikjssvlrbmppxzzac3jsr1dqb2jbnmr2xznpvsisinr5cci6ikpxvcj9 eyjpc3mioijodhrwczovl2lkchrlc3quy3jiy29zlmnvbsisim5izii6mtc3nja3njqxocwiawf0ijoxnzc2mdc2nde4lcjlehaioje3nzywnzgymtgsimf1zci6wyjodhrwczovl2fwas5jcmjjb3muy29tlyisimh0dhbzoi8vawrwdgvzdc5jcmjjb3muy29tl3jlc291cmnlcyjdlcjzy29wzsi6wyjvcgvuawqilcjodhrwczovl2fwas5jcmjjb3muy29tlyjdlcjhbxiiolsizxh0zxjuywwixswiy2xpzw50x2lkijoiy29zzxhwbg9yzxj1asisinn1yii6imnjy2e0otuwlty3mmetndhmzs1inzuyltzjnjnmzdfinjk2zsisimf1dghfdgltzsi6mtc3nja3njqxnywiawrwijoiq1jcrw50cmfby2nvdw50iiwibmftzsi6injub3jtawxliiwiz2l2zw5fbmftzsi6iljldxzlbiisinjvbguiolsivlboiefjy2vzcyisinnly0rldnnbbgwilcjkzxztzwmurxh0lkrldiisinnly0nhcmrby2nlc3milcihrgv2zwxvcgvycyisinnly1jvbgvdt1ntyngilcjzzwnbcmdvq0rwawv3zxjziiwic2vjum9szunpu0rldiisinnly0fxu19srfailcjtzwnbv1nfv1nqiiwic2vjq2xhdwrlq29kzurldmvsb3blcnmilcjkzxztzwmusw50lkrldijdlcjzawqioijbmevdndyzrjhgmze0rjm0mzdgmuq2oey5njgymjndqiisimp0asi6ike0rta4n0vfruiyodnbnengnte0rungmdk3mumxneiyin0 qlxmfznrw6j4xx3b3i7z9l f9bf3cs7qykltj5u6wctsqg5bywnsx37yg5ucktpjwzbeezh2svfllhomr hxbioskdt2p8q78ymdnc0qhk4e4 jsf7zkayftkzmac8an2trugk x5uh592wiomrzi2j1cvp8s knl2voabn8kycqpq6bnxequxxnjgfv3monjtyqhqcruwitwmxhg4hihcwindnselhzhf5 5aus0qbg703qx5oerpg4mpbvoa9wzfdqi9fa k0vwowwcmg6tfbc8e xkljudext 07lraujcm k8yocvdacusevyuo4b 3m0xfkz1kmufjggikpfq\\"\nrequest body = json dump({\n \\"productid\\" \\"31cae717 408e 4813 a6b1 ad6600e48632\\",\n \\"accountnumber\\" \\"2287979807\\",\n \\"clientidentifier\\" \\"string\\",\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 \\"phone\\" \\"2015551212\\",\n \\"emailaddress\\" \\"mmm\@xxx com\\",\n \\"pan\\" \\"4111111111111111\\",\n \\"expirationmonth\\" 12,\n \\"expirationyear\\" 2030,\n \\"cvv\\" \\"263\\"\n})\n\nresponse = https request(request)\nputs response read body\n" }, { "id" "cktct4rhfvdujg71k lxf", "language" "curl", "code" "curl location 'https //sandbox crbcos com/cardpayments/v1/cardtokens' \\\\\n header 'content type application/json' \\\\\n header 'accept application/json' \\\\\n header 'authorization bearer eyjhbgcioijsuzi1niisimtpzci6ikjssvlrbmppxzzac3jsr1dqb2jbnmr2xznpvsising1dci6ikjssvlrbmppxzzac3jsr1dqb2jbnmr2xznpvsisinr5cci6ikpxvcj9 eyjpc3mioijodhrwczovl2lkchrlc3quy3jiy29zlmnvbsisim5izii6mtc3nja3njqxocwiawf0ijoxnzc2mdc2nde4lcjlehaioje3nzywnzgymtgsimf1zci6wyjodhrwczovl2fwas5jcmjjb3muy29tlyisimh0dhbzoi8vawrwdgvzdc5jcmjjb3muy29tl3jlc291cmnlcyjdlcjzy29wzsi6wyjvcgvuawqilcjodhrwczovl2fwas5jcmjjb3muy29tlyjdlcjhbxiiolsizxh0zxjuywwixswiy2xpzw50x2lkijoiy29zzxhwbg9yzxj1asisinn1yii6imnjy2e0otuwlty3mmetndhmzs1inzuyltzjnjnmzdfinjk2zsisimf1dghfdgltzsi6mtc3nja3njqxnywiawrwijoiq1jcrw50cmfby2nvdw50iiwibmftzsi6injub3jtawxliiwiz2l2zw5fbmftzsi6iljldxzlbiisinjvbguiolsivlboiefjy2vzcyisinnly0rldnnbbgwilcjkzxztzwmurxh0lkrldiisinnly0nhcmrby2nlc3milcihrgv2zwxvcgvycyisinnly1jvbgvdt1ntyngilcjzzwnbcmdvq0rwawv3zxjziiwic2vjum9szunpu0rldiisinnly0fxu19srfailcjtzwnbv1nfv1nqiiwic2vjq2xhdwrlq29kzurldmvsb3blcnmilcjkzxztzwmusw50lkrldijdlcjzawqioijbmevdndyzrjhgmze0rjm0mzdgmuq2oey5njgymjndqiisimp0asi6ike0rta4n0vfruiyodnbnengnte0rungmdk3mumxneiyin0 qlxmfznrw6j4xx3b3i7z9l f9bf3cs7qykltj5u6wctsqg5bywnsx37yg5ucktpjwzbeezh2svfllhomr hxbioskdt2p8q78ymdnc0qhk4e4 jsf7zkayftkzmac8an2trugk x5uh592wiomrzi2j1cvp8s knl2voabn8kycqpq6bnxequxxnjgfv3monjtyqhqcruwitwmxhg4hihcwindnselhzhf5 5aus0qbg703qx5oerpg4mpbvoa9wzfdqi9fa k0vwowwcmg6tfbc8e xkljudext 07lraujcm k8yocvdacusevyuo4b 3m0xfkz1kmufjggikpfq' \\\\\n data raw '{\n \\"productid\\" \\"31cae717 408e 4813 a6b1 ad6600e48632\\",\n \\"accountnumber\\" \\"2287979807\\",\n \\"clientidentifier\\" \\"string\\",\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 \\"phone\\" \\"2015551212\\",\n \\"emailaddress\\" \\"mmm\@xxx com\\",\n \\"pan\\" \\"4111111111111111\\",\n \\"expirationmonth\\" 12,\n \\"expirationyear\\" 2030,\n \\"cvv\\" \\"263\\"\n}'" }, { "id" "zjdnpmlelrtmusmh2jas5", "language" "nodejs", "code" "var https = require('follow redirects') https;\nvar fs = require('fs');\n\nvar options = {\n 'method' 'post',\n 'hostname' 'sandbox crbcos com',\n 'path' '/cardpayments/v1/cardtokens',\n 'headers' {\n 'content type' 'application/json',\n 'accept' 'application/json',\n 'authorization' 'bearer eyjhbgcioijsuzi1niisimtpzci6ikjssvlrbmppxzzac3jsr1dqb2jbnmr2xznpvsising1dci6ikjssvlrbmppxzzac3jsr1dqb2jbnmr2xznpvsisinr5cci6ikpxvcj9 eyjpc3mioijodhrwczovl2lkchrlc3quy3jiy29zlmnvbsisim5izii6mtc3nja3njqxocwiawf0ijoxnzc2mdc2nde4lcjlehaioje3nzywnzgymtgsimf1zci6wyjodhrwczovl2fwas5jcmjjb3muy29tlyisimh0dhbzoi8vawrwdgvzdc5jcmjjb3muy29tl3jlc291cmnlcyjdlcjzy29wzsi6wyjvcgvuawqilcjodhrwczovl2fwas5jcmjjb3muy29tlyjdlcjhbxiiolsizxh0zxjuywwixswiy2xpzw50x2lkijoiy29zzxhwbg9yzxj1asisinn1yii6imnjy2e0otuwlty3mmetndhmzs1inzuyltzjnjnmzdfinjk2zsisimf1dghfdgltzsi6mtc3nja3njqxnywiawrwijoiq1jcrw50cmfby2nvdw50iiwibmftzsi6injub3jtawxliiwiz2l2zw5fbmftzsi6iljldxzlbiisinjvbguiolsivlboiefjy2vzcyisinnly0rldnnbbgwilcjkzxztzwmurxh0lkrldiisinnly0nhcmrby2nlc3milcihrgv2zwxvcgvycyisinnly1jvbgvdt1ntyngilcjzzwnbcmdvq0rwawv3zxjziiwic2vjum9szunpu0rldiisinnly0fxu19srfailcjtzwnbv1nfv1nqiiwic2vjq2xhdwrlq29kzurldmvsb3blcnmilcjkzxztzwmusw50lkrldijdlcjzawqioijbmevdndyzrjhgmze0rjm0mzdgmuq2oey5njgymjndqiisimp0asi6ike0rta4n0vfruiyodnbnengnte0rungmdk3mumxneiyin0 qlxmfznrw6j4xx3b3i7z9l f9bf3cs7qykltj5u6wctsqg5bywnsx37yg5ucktpjwzbeezh2svfllhomr hxbioskdt2p8q78ymdnc0qhk4e4 jsf7zkayftkzmac8an2trugk x5uh592wiomrzi2j1cvp8s knl2voabn8kycqpq6bnxequxxnjgfv3monjtyqhqcruwitwmxhg4hihcwindnselhzhf5 5aus0qbg703qx5oerpg4mpbvoa9wzfdqi9fa k0vwowwcmg6tfbc8e xkljudext 07lraujcm k8yocvdacusevyuo4b 3m0xfkz1kmufjggikpfq'\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\nvar postdata = json stringify({\n \\"productid\\" \\"31cae717 408e 4813 a6b1 ad6600e48632\\",\n \\"accountnumber\\" \\"2287979807\\",\n \\"clientidentifier\\" \\"string\\",\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 \\"phone\\" \\"2015551212\\",\n \\"emailaddress\\" \\"mmm\@xxx com\\",\n \\"pan\\" \\"4111111111111111\\",\n \\"expirationmonth\\" 12,\n \\"expirationyear\\" 2030,\n \\"cvv\\" \\"263\\"\n});\n\nreq write(postdata);\n\nreq end();" } ], "selectedlanguageid" "zjdnpmlelrtmusmh2jas5" }, "results" { "languages" \[ { "id" "zskegucw0ij9unybpihiv", "language" "200", "code" "{\n \\"id\\" \\"26acd726 dade 4064 996a b42b00b634df\\",\n \\"partnerid\\" \\"82a1cfb9 de92 4cc2 8a74 ad6600e36d7a\\",\n \\"productid\\" \\"31cae717 408e 4813 a6b1 ad6600e48632\\",\n \\"accountnumber\\" \\"2287979807\\",\n \\"token\\" \\"11fb445c487140a9bea51457a796172a000000\\",\n \\"authorizationstatus\\" \\"approved\\",\n \\"statusreasoncode\\" \\"00\\",\n \\"statusreasondescription\\" \\"approved and completed successfullly\\",\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\\" false,\n \\"accountnameinquiryused\\" \\"used\\",\n \\"accountnameinquiryresult\\" \\"match\\",\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 04 13t07 03 23 6206088 04 00\\",\n \\"isactive\\" true,\n \\"authorizedat\\" \\"2026 04 13t07 03 24 1757549 04 00\\",\n \\"lastmodifiedat\\" \\"0001 01 01t00 00 00 05 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" \[], "queryparameters" \[], "headerparameters" \[], "formdataparameters" \[], "bodydataparameters" \[ { "name" "accountnumber", "kind" "required", "type" "string", "description" "a number that identifies the account you are using to create this card token ", "" "a number that identifies the account you are using to create this card token " }, { "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" "middlename", "kind" "optional", "type" "string", "description" "middle name min 1 character, max 35 characters", "" "middle 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" } ] }, "currentnewparameter" { "label" "body parameter", "value" "bodydataparameters" }, "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" "middlename", "kind" "optional", "type" "string", "description" "middle name min 1 character, max 35 characters", "children" \[] }, { "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" "indicates whether cross river tried to contact the ani service this attribute value will also let you know if the merchant isn't configured for the ani service in that case, we recommend contacting your cross river relationship manager for details on how to connect to ani ", "children" \[] }, { "name" "accountnameinquiryresult", "kind" "optional", "type" "string", "description" "indicates whether the initiator provided card details match fully, partially, or not at all, or if they are unknown possible values are \nmatch\nno match\npartial match\nunknown", "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 cardpaymentsv1cardtokens", "legacyhash" "fslqr5bjoeapl5ude una" }