Payments
...
Card APIs
Deactivate/reactivate
1 min
{ "name" "endpoint /api/card/{cardtoken}", "method" "put", "url" "https //pushtopaystaging crbnj net/api/card", "description" "deactivates a consumer's payment card, for instance, if the card is lost or stolen reactivates the card, for example, if the card is found \n", "tab" "examples", "examples" { "languages" \[ { "id" "gum54b2sobgw9b7c7jeu3", "language" "curl", "code" "curl l x put 'https //pushtopaystaging crbnj net/api/card' ^\n h 'content type application/json' ^\n h 'authorization bearer eyjhbgcioijsuzi1niisimtpzci6ijdqrej4dgvldl9imxhprk9xeehvn19rrkdxncising1dci6ijdqrej4dgvldl9imxhprk9xeehvn19rrkdxncisinr5cci6ikpxvcj9 eyjpc3mioijodhrwczovl29hdxrodgvzdc5jcmjuai5uzxqilcjuymyioje3nteyodewnzisimlhdci6mtc1mti4mta3miwizxhwijoxnzuxmjg0njcylcjhdwqiolsiy3jiyxbpiiwiahr0chm6ly9vyxv0ahrlc3quy3jibmoubmv0l3jlc291cmnlcyjdlcjzy29wzsi6wyjjcmjhcgkixswiy2xpzw50x2lkijoiufrqrvjouk1tdgddbgllbnqilcjyb2xlijoic2vjuhrwzufwavn0z0v4dcisimp0asi6ijzgrdfeqtc0qtm3mjrfn0ffn0m4mtvertbfrdreqtvfin0 jjby62elxuapzpau5gzyz2m3mdxdwzdjn iblgkq sensecqydw4skhk3hkmjy dv9w6kpyastze7tchngpqommzsr51umsyeiduw3yzqmqwydn0mm0brtfle2rgaywkftbspyxqeffiiofwubf6ormozhh8utf43twvhpqylfp 3alkuwojurhj8hq 5jdfxif6eysariyqqyf1vgahfhsflti v2eni6hb6r kzvlacw2xhj rrswbfkchfro tl5daanlmifqlmln8w3ghnmmnsbxjf ba2jhzkrgklxuubzwek1jn8gipj1pjm3lvvgcqzo1bqq3elxil8zwpg' ^\n d '{\n \\"requestid\\" \\"22c2a3c3 6434 46bc abeb dc7daf34df7\\",\n \\"cardtoken\\" \\"\[cardtoken]\\",\n \\"isactive\\" false\n}'", "customlabel" "" }, { "id" "q3 wsypdrvpzgma1tleef", "language" "nodejs", "code" "var request = require('request');\nvar options = {\n 'method' 'put',\n 'url' 'https //pushtopaystaging crbnj net/api/card',\n 'headers' {\n 'content type' 'application/json',\n 'authorization' 'bearer eyjhbgcioijsuzi1niisimtpzci6ijdqrej4dgvldl9imxhprk9xeehvn19rrkdxncising1dci6ijdqrej4dgvldl9imxhprk9xeehvn19rrkdxncisinr5cci6ikpxvcj9 eyjpc3mioijodhrwczovl29hdxrodgvzdc5jcmjuai5uzxqilcjuymyioje3nteyodewnzisimlhdci6mtc1mti4mta3miwizxhwijoxnzuxmjg0njcylcjhdwqiolsiy3jiyxbpiiwiahr0chm6ly9vyxv0ahrlc3quy3jibmoubmv0l3jlc291cmnlcyjdlcjzy29wzsi6wyjjcmjhcgkixswiy2xpzw50x2lkijoiufrqrvjouk1tdgddbgllbnqilcjyb2xlijoic2vjuhrwzufwavn0z0v4dcisimp0asi6ijzgrdfeqtc0qtm3mjrfn0ffn0m4mtvertbfrdreqtvfin0 jjby62elxuapzpau5gzyz2m3mdxdwzdjn iblgkq sensecqydw4skhk3hkmjy dv9w6kpyastze7tchngpqommzsr51umsyeiduw3yzqmqwydn0mm0brtfle2rgaywkftbspyxqeffiiofwubf6ormozhh8utf43twvhpqylfp 3alkuwojurhj8hq 5jdfxif6eysariyqqyf1vgahfhsflti v2eni6hb6r kzvlacw2xhj rrswbfkchfro tl5daanlmifqlmln8w3ghnmmnsbxjf ba2jhzkrgklxuubzwek1jn8gipj1pjm3lvvgcqzo1bqq3elxil8zwpg'\n },\n body json stringify({\n \\"requestid\\" \\"22c2a3c3 6434 46bc abeb dc7daf34df7\\",\n \\"cardtoken\\" \\"\[cardtoken]\\",\n \\"isactive\\" false\n })\n\n};\nrequest(options, function (error, response) {\n if (error) throw new error(error);\n console log(response body);\n});\n", "customlabel" "" }, { "id" "psmxc3yqxfr0iewglxicr", "language" "python", "code" "import requests\nimport json\n\nurl = \\"https //pushtopaystaging crbnj net/api/card\\"\n\npayload = json dumps({\n \\"requestid\\" \\"22c2a3c3 6434 46bc abeb dc7daf34df7\\",\n \\"cardtoken\\" \\"\[cardtoken]\\",\n \\"isactive\\" false\n})\nheaders = {\n 'content type' 'application/json',\n 'authorization' 'bearer eyjhbgcioijsuzi1niisimtpzci6ijdqrej4dgvldl9imxhprk9xeehvn19rrkdxncising1dci6ijdqrej4dgvldl9imxhprk9xeehvn19rrkdxncisinr5cci6ikpxvcj9 eyjpc3mioijodhrwczovl29hdxrodgvzdc5jcmjuai5uzxqilcjuymyioje3nteyodewnzisimlhdci6mtc1mti4mta3miwizxhwijoxnzuxmjg0njcylcjhdwqiolsiy3jiyxbpiiwiahr0chm6ly9vyxv0ahrlc3quy3jibmoubmv0l3jlc291cmnlcyjdlcjzy29wzsi6wyjjcmjhcgkixswiy2xpzw50x2lkijoiufrqrvjouk1tdgddbgllbnqilcjyb2xlijoic2vjuhrwzufwavn0z0v4dcisimp0asi6ijzgrdfeqtc0qtm3mjrfn0ffn0m4mtvertbfrdreqtvfin0 jjby62elxuapzpau5gzyz2m3mdxdwzdjn iblgkq sensecqydw4skhk3hkmjy dv9w6kpyastze7tchngpqommzsr51umsyeiduw3yzqmqwydn0mm0brtfle2rgaywkftbspyxqeffiiofwubf6ormozhh8utf43twvhpqylfp 3alkuwojurhj8hq 5jdfxif6eysariyqqyf1vgahfhsflti v2eni6hb6r kzvlacw2xhj rrswbfkchfro tl5daanlmifqlmln8w3ghnmmnsbxjf ba2jhzkrgklxuubzwek1jn8gipj1pjm3lvvgcqzo1bqq3elxil8zwpg'\n}\n\nresponse = requests request(\\"put\\", url, headers=headers, data=payload)\n\nprint(response text)\n", "customlabel" "" }, { "id" "vzrb8m9bkl3nuvzum8535", "language" "ruby", "code" "require \\"uri\\"\nrequire \\"json\\"\nrequire \\"net/http\"\n\nurl = uri(\\"https //pushtopaystaging crbnj net/api/card\\")\n\nhttps = net http new(url host, url port)\nhttps use ssl = true\n\nrequest = net http put new(url)\nrequest\[\\"content type\\"] = \\"application/json\\"\nrequest\[\\"authorization\\"] = \\"bearer eyjhbgcioijsuzi1niisimtpzci6ijdqrej4dgvldl9imxhprk9xeehvn19rrkdxncising1dci6ijdqrej4dgvldl9imxhprk9xeehvn19rrkdxncisinr5cci6ikpxvcj9 eyjpc3mioijodhrwczovl29hdxrodgvzdc5jcmjuai5uzxqilcjuymyioje3nteyodewnzisimlhdci6mtc1mti4mta3miwizxhwijoxnzuxmjg0njcylcjhdwqiolsiy3jiyxbpiiwiahr0chm6ly9vyxv0ahrlc3quy3jibmoubmv0l3jlc291cmnlcyjdlcjzy29wzsi6wyjjcmjhcgkixswiy2xpzw50x2lkijoiufrqrvjouk1tdgddbgllbnqilcjyb2xlijoic2vjuhrwzufwavn0z0v4dcisimp0asi6ijzgrdfeqtc0qtm3mjrfn0ffn0m4mtvertbfrdreqtvfin0 jjby62elxuapzpau5gzyz2m3mdxdwzdjn iblgkq sensecqydw4skhk3hkmjy dv9w6kpyastze7tchngpqommzsr51umsyeiduw3yzqmqwydn0mm0brtfle2rgaywkftbspyxqeffiiofwubf6ormozhh8utf43twvhpqylfp 3alkuwojurhj8hq 5jdfxif6eysariyqqyf1vgahfhsflti v2eni6hb6r kzvlacw2xhj rrswbfkchfro tl5daanlmifqlmln8w3ghnmmnsbxjf ba2jhzkrgklxuubzwek1jn8gipj1pjm3lvvgcqzo1bqq3elxil8zwpg\\"\nrequest body = json dump({\n \\"requestid\\" \\"22c2a3c3 6434 46bc abeb dc7daf34df7\\",\n \\"cardtoken\\" \\"\[cardtoken]\\",\n \\"isactive\\" false\n})\n\nresponse = https request(request)\nputs response read body\n", "customlabel" "" }, { "id" "3k7pearh adzvznnmznn2", "language" "go", "code" "package main\n\nimport (\n \\"fmt\\"\n \\"strings\\"\n \\"net/http\"\n \\"io\\"\n)\n\nfunc main() {\n\n url = \\"https //pushtopaystaging crbnj net/api/card\\"\n method = \\"put\\"\n\n payload = strings newreader(`{`+\\"\n\\"+`\n \\"requestid\\" \\"22c2a3c3 6434 46bc abeb dc7daf34df7\\",`+\\"\n\\"+`\n \\"cardtoken\\" \\"\[cardtoken]\\",`+\\"\n\\"+`\n \\"isactive\\" false`+\\"\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(\\"authorization\\", \\"bearer eyjhbgcioijsuzi1niisimtpzci6ijdqrej4dgvldl9imxhprk9xeehvn19rrkdxncising1dci6ijdqrej4dgvldl9imxhprk9xeehvn19rrkdxncisinr5cci6ikpxvcj9 eyjpc3mioijodhrwczovl29hdxrodgvzdc5jcmjuai5uzxqilcjuymyioje3nteyodewnzisimlhdci6mtc1mti4mta3miwizxhwijoxnzuxmjg0njcylcjhdwqiolsiy3jiyxbpiiwiahr0chm6ly9vyxv0ahrlc3quy3jibmoubmv0l3jlc291cmnlcyjdlcjzy29wzsi6wyjjcmjhcgkixswiy2xpzw50x2lkijoiufrqrvjouk1tdgddbgllbnqilcjyb2xlijoic2vjuhrwzufwavn0z0v4dcisimp0asi6ijzgrdfeqtc0qtm3mjrfn0ffn0m4mtvertbfrdreqtvfin0 jjby62elxuapzpau5gzyz2m3mdxdwzdjn iblgkq sensecqydw4skhk3hkmjy dv9w6kpyastze7tchngpqommzsr51umsyeiduw3yzqmqwydn0mm0brtfle2rgaywkftbspyxqeffiiofwubf6ormozhh8utf43twvhpqylfp 3alkuwojurhj8hq 5jdfxif6eysariyqqyf1vgahfhsflti v2eni6hb6r kzvlacw2xhj rrswbfkchfro tl5daanlmifqlmln8w3ghnmmnsbxjf ba2jhzkrgklxuubzwek1jn8gipj1pjm3lvvgcqzo1bqq3elxil8zwpg\\")\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}", "customlabel" "" } ], "selectedlanguageid" "3k7pearh adzvznnmznn2" }, "results" { "languages" \[ { "id" "mihyajysilugqie7xctpr", "language" "200", "customlabel" "", "code" "{\n \\"version\\" \\"1 0 0 0\\",\n \\"result\\" {\n \\"requestid\\" \\"22c2a3c3 6434 46bc abeb dc7daf34df7c\\",\n \\"cardtoken\\" \\"57193c2bf898459e8dc0b26031d72dc4000000\\",\n \\"cardfingerprint\\" \\"npjneeutpf3ulcknd57mqfo582lcxhewi8ptbt7zum0nqgzhcqu7jccfy7ueiyg/jszp/kmwhqvc61xfcqlf/q==\\",\n \\"firstname\\" \\"millie68\@hotmail com\\",\n \\"lastname\\" \\"roob\\",\n \\"ownerexternalid\\" \\"411979997\\",\n \\"address1\\" \\"96371 giles view\\",\n \\"address2\\" \\"\\",\n \\"city\\" \\"okunevaview\\",\n \\"zipcode\\" \\"08527\\",\n \\"isauthorizationsucceeded\\" true,\n \\"state\\" \\"nj\\",\n \\"countrycode\\" \\"us\\",\n \\"phonenumber\\" \\"771 730 2219\\",\n \\"email\\" \\"torrey donnelly\@example com\\",\n \\"expirationyear\\" \\"30\\",\n \\"expirationmonth\\" \\"12\\",\n \\"last4digits\\" \\"9905\\",\n \\"cardcompany\\" \\"mastercard\\",\n \\"isactive\\" false,\n \\"deactivatedat\\" \\"2025 06 30t11 37 48 9638193z\\",\n \\"addedon\\" \\"2025 06 30t11 16 44 88\\",\n \\"authorizationjson\\" \\"{\\\r\\\n \\\\\\"requestid\\\\\\" \\\\\\"c2deec7f 6230 42d8 8219 243d8c6209a1\\\\\\",\\\r\\\n \\\\\\"authorized\\\\\\" true,\\\r\\\n \\\\\\"responsereceived\\\\\\" true,\\\r\\\n \\\\\\"responsecode\\\\\\" \\\\\\"ok\\\\\\",\\\r\\\n \\\\\\"responsedescription\\\\\\" \\\\\\"ok\\\\\\",\\\r\\\n \\\\\\"timestamp\\\\\\" \\\\\\"2025 06 30t11 16 44 880045z\\\\\\",\\\r\\\n \\\\\\"error\\\\\\" null,\\\r\\\n \\\\\\"addressverified\\\\\\" true,\\\r\\\n \\\\\\"rail\\\\\\" \\\\\\"mcsend\\\\\\",\\\r\\\n \\\\\\"cardtype\\\\\\" \\\\\\"debit\\\\\\",\\\r\\\n \\\\\\"isfastfundssupported\\\\\\" true,\\\r\\\n \\\\\\"pushenabled\\\\\\" true,\\\r\\\n \\\\\\"pullenabled\\\\\\" true,\\\r\\\n \\\\\\"issuercountrycode\\\\\\" \\\\\\"us\\\\\\",\\\r\\\n \\\\\\"nameverificationused\\\\\\" \\\\\\"not supported\\\\\\",\\\r\\\n \\\\\\"nameverificationresult\\\\\\" \\\\\\"unknown\\\\\\",\\\r\\\n \\\\\\"producttype\\\\\\" \\\\\\"unknown\\\\\\"\\\r\\\n}\\",\n \\"isfastfundssupported\\" true,\n \\"rail\\" \\"mcsend\\",\n \\"pushenabled\\" true,\n \\"pullenabled\\" true,\n \\"issuercountrycode\\" \\"us\\",\n \\"binnumber\\" \\"510258\\",\n \\"producttype\\" \\"unknown\\"\n },\n \\"issuccessfull\\" true,\n \\"issuccessful\\" true\n}" } ], "selectedlanguageid" "mihyajysilugqie7xctpr" }, "request" { "pathparameters" \[], "queryparameters" \[], "headerparameters" \[], "bodydataparameters" \[ { "name" "requestid", "kind" "required", "type" "string", "description" "the guid is a unique identifier that enables the application to link request with response", "" "the guid is a unique identifier that enables the application to link request with response" }, { "name" "sourcesenderid", "kind" "optional", "type" "string", "description" "the guid that identifies the merchant partner", "" "sourcesenderid" }, { "name" "cardtoken", "kind" "required", "type" "string", "description" "created when intially signing up a card a randomly generated string of characters that relates to the consumer's payment card (15 to 38 alphanumeric characters) matches the creditcardtoken ", "" "required" }, { "name" "isactive", "kind" "optional", "type" "string", "description" "true if it is active, otherwise false", "" "isactive" } ], "formdataparameters" \[] }, "currentnewparameter" { "label" "body parameter", "value" "bodydataparameters" }, "response" \[ { "name" "requestid", "kind" "optional", "type" "string", "description" "the guid is a unique identifier that enables the application to link request with response" }, { "name" "cardtoken", "kind" "optional", "type" "string", "description" "created when intially signing up a card a randomly generated string of characters that relates to the consumer's payment card (15 to 38 alphanumeric characters) matches the creditcardtoken ", "children" \[] }, { "name" "cardfingerprint", "kind" "optional", "type" "string", "description" "a unique identifier for this card derived from internal card information it can be used to detect multiple occurrences of attempts for the same card being authorized from multiple users ", "children" \[] }, { "name" "firstname", "kind" "optional", "type" "string", "description" "cardholder first name", "children" \[] }, { "name" "lastname", "kind" "optional", "type" "string", "description" "cardholder last name", "children" \[] }, { "name" "ownerexternalid", "kind" "optional", "type" "string", "description" "a 4 digit code, assigned by the merchant, to identify the cardholder", "children" \[] }, { "name" "address1", "kind" "optional", "type" "string", "description" "primary location details of cardholder for instance, street name, house or building number, and po box maximum 100 characters ", "children" \[] }, { "name" "address2", "kind" "optional", "type" "string", "description" "secondary location details of cardholder for instance, number of apartment or floor maximum 100 characters ", "children" \[] }, { "name" "city", "kind" "optional", "type" "string", "description" "name of the cardholder's city", "children" \[] }, { "name" "zipcode", "kind" "optional", "type" "string", "description" " us 5 digits, a zip+4 code with optional space or dash separator (12345, 12345 6789, 12345 6789, 123456789) \n canada a valid canadian zip code\n other up to 9 chars , letters, numbers, spaces, dashes do not contain double spaces or dashes", "children" \[] }, { "name" "isauthorizationsucceeded", "kind" "optional", "type" "boolean", "description" "true if the card was authorized successfully, otherwise false", "children" \[] }, { "name" "state", "kind" "optional", "type" "string", "description" "2 letter code of the cardholder's state", "children" \[] }, { "name" "countrycode", "kind" "optional", "type" "string", "description" "2 letter country code", "children" \[] }, { "name" "phonenumber", "kind" "optional", "type" "string", "description" "optional + at the start, 7 15 characters made of digits, spaces, dashes, brackets", "children" \[] }, { "name" "email", "kind" "optional", "type" "string", "description" "a valid cardholder email address, for example, me\@mailprovider com", "children" \[] }, { "name" "expirationyear", "kind" "optional", "type" "string", "description" "card expiration year, 2 digits, numeric", "children" \[] }, { "name" "expirationmonth", "kind" "optional", "type" "string", "description" "card expiration month, 2 digits, numeric", "children" \[] }, { "name" "last4digits", "kind" "optional", "type" "string", "description" "last 4 digits of the payment card number", "children" \[] }, { "name" "cardcompany", "kind" "optional", "type" "string", "description" "name of the payment card network \n\n visa\n mastercard", "children" \[] }, { "name" "isactive", "kind" "optional", "type" "boolean", "description" "true if the card is active, otherwise false", "children" \[] }, { "name" "deactivatedat", "kind" "optional", "type" "string", "description" "date and time card was deactivated, if relevant, in date time format", "children" \[] }, { "name" "addedon", "kind" "optional", "type" "string", "description" "the date and time the card was added to the merchant's account", "children" \[] }, { "name" "authorizationjson", "kind" "optional", "type" "object", "description" "the json authorization response received for this card from the card payments api", "children" \[ { "name" "requestid", "kind" "optional", "type" "string", "description" "the guid that enables the application to link request with response" }, { "name" "authorized", "kind" "optional", "type" "boolean", "description" "determines whether a card is authorized for any financial activity by the cross river/card network and issuing bank" }, { "name" "responsereceived", "kind" "optional", "type" "boolean", "description" "true if p2c received a response from the external processor, otherwise false" }, { "name" "responsecode", "kind" "optional", "type" "string", "description" "a 2 digit code signifying the transaction result (approved or decline) for example, 00 means successful " }, { "name" "responsedescription", "kind" "optional", "type" "string", "description" "a string describing the transaction result for example, approved " }, { "name" "timestamp", "kind" "optional", "type" "string", "description" "the actual time the request was sent to the card networks" }, { "name" "error", "kind" "optional", "type" "string", "description" "a code value returned if the network call fails" }, { "name" "addressverified", "kind" "optional", "type" "boolean", "description" "the result of the check by the address verification service (avs) " }, { "name" "rail", "kind" "optional", "type" "string", "description" "the processor that communicates with the card network \n\n mcsend\n tabapay\n visadirect" }, { "name" "cardtype", "kind" "optional", "type" "string", "description" "the kind of payment card \n\n credit\n debit\n prepaid\n combo\n chargecard\n deferreddebit" }, { "name" "isfastfundssupported", "kind" "optional", "type" "boolean", "description" "fast funds are immediate payments true if fast funds is supported, otherwise false" }, { "name" "pushenabled", "kind" "optional", "type" "boolean", "description" "true if push payment to card is enabled, otherwise false" }, { "name" "pullenabled", "kind" "optional", "type" "boolean", "description" "true if pull payment from card is enabled, otherwise false" }, { "name" "issuercountrycode", "kind" "optional", "type" "string", "description" "a 2 letter code indicating the country where the card was issued" }, { "name" "nameverificationused", "kind" "optional", "type" "string", "description" "indicates if cross river tried to contact the account name inquiry (ani) service \n\n used\n not used\n not supported\n\nif the merchant isn't configured for the ani service, this response lets you know in that case, contact your cross river relationship manager for information on connecting" }, { "name" "nameverificationresult", "kind" "optional", "type" "string", "description" "this is the result of the account name inquiry (ani) service check \n\n full match\n partial match\n no match\n unknown" } ] }, { "name" "binnumber", "kind" "optional", "type" "string", "description" "the first 6 to 8 digits on the card this identification number indicates the card issuing bank ", "children" \[] }, { "name" "producttype", "kind" "optional", "type" "string", "description" "cardholder card type \n\n consumer\n commercial\n government\n business\n unknown", "children" \[] } ] }