Send payments
relevant webhooks for this endpoint be sure you have registered docid\ bn5xtgkjogbe ctwomcbs for these webhooks cardpayments payment cleared docid\ wso2e9cmh8zs8pyijc 7r cardpayments payment completed docid\ wso2e9cmh8zs8pyijc 7r cardpayments payment rejected docid\ wso2e9cmh8zs8pyijc 7r cardpayments payment failed docid\ wso2e9cmh8zs8pyijc 7r api reference push or pull funds { "name" "endpoint /v1/payments", "method" "post", "url" "https //sandbox crbcos com/cardpayments/v1/payments", "description" "", "tab" "examples", "examples" { "languages" \[ { "id" "m2ue7qz6dvwcdz36gkppo", "language" "curl", "code" "curl location 'https //sandbox crbcos com/cardpayments/v1/payments' \\\\\n header 'content type application/json' \\\\\n header 'accept application/json' \\\\\n data '{\n \\"productid\\" \\"29f3022a ccfc 42eb aa8f b29500f13d00\\",\n \\"cardtoken\\" \\"\\",\n \\"accountnumber\\" \\"2287979807\\",\n \\"amount\\" 1000,\n \\"paymenttype\\" \\"push\\",\n \\"correspondingentity\\" {\n \\"firstname\\" \\"darrin\\",\n \\"lastname\\" \\"considine\\",\n \\"externalaccountidentifier\\" \\"12345678901234\\",\n \\"address\\" {\n \\"street1\\" \\"2436 bradtke mountains\\",\n \\"street2\\" \\"\\",\n \\"city\\" \\"marysville\\",\n \\"state\\" \\"ny\\",\n \\"postalcode\\" \\"123456789\\",\n \\"countrycode\\" \\"us\\"\n }\n },\n \\"mcc\\" \\"9876\\",\n \\"cvv\\" \\"123\\",\n \\"clientidentifier\\" \\"string\\",\n \\"businesstype\\" \\"aa\\"\n}'", "customlabel" "" }, { "id" "veegmwka clezxjzmmbuk", "language" "nodejs", "code" "var request = require('request');\nvar options = {\n 'method' 'post',\n 'url' 'https //sandbox crbcos com/cardpayments/v1/payments',\n 'headers' {\n 'content type' 'application/json',\n 'accept' 'application/json'\n },\n body json stringify({\n \\"productid\\" \\"29f3022a ccfc 42eb aa8f b29500f13d00\\",\n \\"cardtoken\\" \\"\\",\n \\"accountnumber\\" \\"2287979807\\",\n \\"amount\\" 1000,\n \\"paymenttype\\" \\"push\\",\n \\"correspondingentity\\" {\n \\"firstname\\" \\"prudence\\",\n \\"lastname\\" \\"stracke\\",\n \\"externalaccountidentifier\\" \\"12345678901234\\",\n \\"address\\" {\n \\"street1\\" \\"2866 margie burg\\",\n \\"street2\\" \\"\\",\n \\"city\\" \\"lorishire\\",\n \\"state\\" \\"ny\\",\n \\"postalcode\\" \\"123456789\\",\n \\"countrycode\\" \\"us\\"\n }\n },\n \\"mcc\\" \\"9876\\",\n \\"cvv\\" \\"123\\",\n \\"clientidentifier\\" \\"string\\",\n \\"businesstype\\" \\"aa\\"\n })\n\n};\nrequest(options, function (error, response) {\n if (error) throw new error(error);\n console log(response body);\n});\n", "customlabel" "" }, { "id" "bp ijxqk 9xj ycwnygnx", "language" "python", "code" "import requests\nimport json\n\nurl = \\"https //sandbox crbcos com/cardpayments/v1/payments\\"\n\npayload = json dumps({\n \\"productid\\" \\"29f3022a ccfc 42eb aa8f b29500f13d00\\",\n \\"cardtoken\\" \\"\\",\n \\"accountnumber\\" \\"2287979807\\",\n \\"amount\\" 1000,\n \\"paymenttype\\" \\"push\\",\n \\"correspondingentity\\" {\n \\"firstname\\" \\"lyla\\",\n \\"lastname\\" \\"abbott\\",\n \\"externalaccountidentifier\\" \\"12345678901234\\",\n \\"address\\" {\n \\"street1\\" \\"39633 bianka fork\\",\n \\"street2\\" \\"\\",\n \\"city\\" \\"kansas city\\",\n \\"state\\" \\"ny\\",\n \\"postalcode\\" \\"123456789\\",\n \\"countrycode\\" \\"us\\"\n }\n },\n \\"mcc\\" \\"9876\\",\n \\"cvv\\" \\"123\\",\n \\"clientidentifier\\" \\"string\\",\n \\"businesstype\\" \\"aa\\"\n})\nheaders = {\n 'content type' 'application/json',\n 'accept' 'application/json'\n}\n\nresponse = requests request(\\"post\\", url, headers=headers, data=payload)\n\nprint(response text)\n", "customlabel" "" }, { "id" "xu3xbbwt a y7mcgl0s3", "language" "ruby", "code" "require \\"uri\\"\nrequire \\"json\\"\nrequire \\"net/http\"\n\nurl = uri(\\"https //sandbox crbcos com/cardpayments/v1/payments\\")\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 body = json dump({\n \\"productid\\" \\"29f3022a ccfc 42eb aa8f b29500f13d00\\",\n \\"cardtoken\\" \\"\\",\n \\"accountnumber\\" \\"2287979807\\",\n \\"amount\\" 1000,\n \\"paymenttype\\" \\"push\\",\n \\"correspondingentity\\" {\n \\"firstname\\" \\"darwin\\",\n \\"lastname\\" \\"reilly\\",\n \\"externalaccountidentifier\\" \\"12345678901234\\",\n \\"address\\" {\n \\"street1\\" \\"83160 hector turnpike\\",\n \\"street2\\" \\"\\",\n \\"city\\" \\"thousand oaks\\",\n \\"state\\" \\"ny\\",\n \\"postalcode\\" \\"123456789\\",\n \\"countrycode\\" \\"us\\"\n }\n },\n \\"mcc\\" \\"9876\\",\n \\"cvv\\" \\"123\\",\n \\"clientidentifier\\" \\"string\\",\n \\"businesstype\\" \\"aa\\"\n})\n\nresponse = https request(request)\nputs response read body\n", "customlabel" "" }, { "id" "yes xnvear36pmlaxlh p", "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/payments\\"\n method = \\"post\\"\n\n payload = strings newreader(`{`+\\"\n\\"+`\n \\"productid\\" \\"29f3022a ccfc 42eb aa8f b29500f13d00\\",`+\\"\n\\"+`\n \\"cardtoken\\" \\"\\",`+\\"\n\\"+`\n \\"accountnumber\\" \\"2287979807\\",`+\\"\n\\"+`\n \\"amount\\" 1000,`+\\"\n\\"+`\n \\"paymenttype\\" \\"push\\",`+\\"\n\\"+`\n \\"correspondingentity\\" {`+\\"\n\\"+`\n \\"firstname\\" \\"zoe\\",`+\\"\n\\"+`\n \\"lastname\\" \\"klein\\",`+\\"\n\\"+`\n \\"externalaccountidentifier\\" \\"12345678901234\\",`+\\"\n\\"+`\n \\"address\\" {`+\\"\n\\"+`\n \\"street1\\" \\"24683 cara villages\\",`+\\"\n\\"+`\n \\"street2\\" \\"\\",`+\\"\n\\"+`\n \\"city\\" \\"walshside\\",`+\\"\n\\"+`\n \\"state\\" \\"ny\\",`+\\"\n\\"+`\n \\"postalcode\\" \\"123456789\\",`+\\"\n\\"+`\n \\"countrycode\\" \\"us\\"`+\\"\n\\"+`\n }`+\\"\n\\"+`\n },`+\\"\n\\"+`\n \\"mcc\\" \\"9876\\",`+\\"\n\\"+`\n \\"cvv\\" \\"123\\",`+\\"\n\\"+`\n \\"clientidentifier\\" \\"string\\",`+\\"\n\\"+`\n \\"businesstype\\" \\"aa\\"`+\\"\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\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" "m2ue7qz6dvwcdz36gkppo" }, "results" { "languages" \[ { "id" " 5d43 ynmyuekjzaipaye", "language" "200", "code" "{\n \\"id\\" \\"d706c741 e556 4101 a849 b42b00bfd7e9\\",\n \\"clientidentifier\\" \\"string\\",\n \\"amount\\" 1000,\n \\"paymenttype\\" \\"push\\",\n \\"status\\" \\"created\\",\n \\"source\\" \\"opsportal\\",\n \\"productid\\" \\"31cae717 408e 4813 a6b1 ad6600e48632\\",\n \\"partnerid\\" \\"82a1cfb9 de92 4cc2 8a74 ad6600e36d7a\\",\n \\"cardid\\" \\"26acd726 dade 4064 996a b42b00b634df\\",\n \\"cardtoken\\" \\"11fb445c487140a9bea51457a796172a000000\\",\n \\"cardbrand\\" \\"visa\\",\n \\"panlastfour\\" \\"1111\\",\n \\"issuercountrycode\\" \\"us\\",\n \\"correspondingentity\\" {\n \\"firstname\\" \\"justina\\",\n \\"lastname\\" \\"jacobs\\",\n \\"externalaccountidentifier\\" \\"123456 1234\\",\n \\"address\\" {\n \\"street1\\" \\"511 annalise squares\\",\n \\"street2\\" \\"\\",\n \\"city\\" \\"columbus\\",\n \\"state\\" \\"ny\\",\n \\"postalcode\\" \\"123456789\\",\n \\"countrycode\\" \\"us\\"\n }\n },\n \\"mcc\\" \\"9876\\",\n \\"merchantverificationvalue\\" \\"123456\\",\n \\"accountnumber\\" \\"2287979807\\",\n \\"businesstype\\" \\"aa\\",\n \\"wasrefunded\\" false,\n \\"createdat\\" \\"2026 04 13t07 38 28 8271201 04 00\\",\n \\"limitseligibleon\\" \\"2026 04 13t07 38 28 8271201 04 00\\",\n \\"lastmodifiedat\\" \\"2026 04 13t07 38 28 9388613 04 00\\"\n}" } ], "selectedlanguageid" " 5d43 ynmyuekjzaipaye" }, "request" { "pathparameters" \[], "queryparameters" \[], "headerparameters" \[], "bodydataparameters" \[ { "name" "cardid", "kind" "optional", "type" "string", "description" "", "" "cardid" }, { "name" "cardtoken", "kind" "optional", "type" "string", "description" "a randomly generated string of characters that relates to the consumer's payment card (15 38 alphanumeric characters) ", "" "a randomly generated string of characters that relates to the consumer's payment card (15 38 alphanumeric characters) " }, { "name" "accountnumber", "kind" "required", "type" "string", "description" "the identifier for the account, as defined in cos ", "" "the identifier for the account, as defined in cos " }, { "name" "amount", "kind" "required", "type" "integer", "description" "the amount to be transferred, in cents for example, 10001 = $100 01 ", "children" \[] }, { "name" "paymenttype", "kind" "required", "type" "string", "description" "the type of payment value is either \\"push\\" or \\"pull\\"", "" "required" }, { "name" "correspondingentity", "kind" "optional", "type" "object", "description" "information about who initiated the transaction", "" "optional", "children" \[ { "name" "firstname", "kind" "required", "type" "string", "description" "first name" }, { "name" "lastname", "kind" "required", "type" "string", "description" "last name" }, { "name" "externalaccountidentifier", "kind" "required", "type" "string", "description" "account number to ensure the money movement is routed to the correct destination " }, { "name" "address", "kind" "optional", "type" "object", "description" "address of the corresponding entity this block is optional when it is provided there are required fields as indicated", "children" \[ { "name" "street1", "kind" "required", "type" "string", "description" "address information, street apartment etc" }, { "name" "street2", "kind" "optional", "type" "string", "description" "additional address information" }, { "name" "city", "kind" "required", "type" "string", "description" "city full name" }, { "name" "state", "kind" "optional", "type" "string", "description" "state where corresponding entity is located" }, { "name" "postalcode", "kind" "required", "type" "string", "description" "postal code of address where correponding entity is loacted" }, { "name" "countrycode", "kind" "required", "type" "string", "description" " 2 letter iso country code" } ] } ], "schema" \[ { "name" "firstname", "kind" "required", "type" "string", "description" "first name" }, { "name" "lastname", "kind" "required", "type" "string", "description" "last name" }, { "name" "externalaccountidentifier", "kind" "required", "type" "string", "description" "account number to ensure the money movement is routed to the correct destination " }, { "name" "address", "kind" "optional", "type" "object", "description" "address of the corresponding entity this block is optional when it is provided there are required fields as indicated", "children" \[ { "name" "street1", "kind" "required", "type" "string", "description" "address information, street apartment etc" }, { "name" "street2", "kind" "optional", "type" "string", "description" "additional address information" }, { "name" "city", "kind" "required", "type" "string", "description" "city full name" }, { "name" "state", "kind" "optional", "type" "string", "description" "state where corresponding entity is located" }, { "name" "postalcode", "kind" "required", "type" "string", "description" "postal code of address where correponding entity is loacted" }, { "name" "countrycode", "kind" "required", "type" "string", "description" " 2 letter iso country code" } ] } ] }, { "name" "mcc", "kind" "optional", "type" "string", "description" "merchant category code (mcc) 4 digits that a credit card issuer uses to categorize consumer transactions for their card ", "" "mcc" }, { "name" "cvv", "kind" "optional", "type" "string", "description" "card verification value (cvv) 3 or 4 digits printed on card to help verify that the customer physically possesses the card during card not present transactions ", "" "card verification value (cvv) 3 or 4 digits printed on card to help verify that the customer physically possesses the card during card not present transactions " }, { "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" "businesstype ", "kind" "optional", "type" "string", "description" "business application indicator (bai) a standardized category used to classify the nature of a business \none of \nbb 'business2business', \nfd 'funds disbursement ', \naa 'account2account', \npp 'person2person', \nmt 'money transfer', \ncd 'cash deposit', \nft 'funds transfer', \nwt 'wallet transfer', \ncp 'card bill payment'\nmd 'merchant disbursement'", "" "business application indicator (bai) a standardized category used to classify the nature of a business \none of \nbb 'business2business', \nfd 'funds disbursement ', \naa 'account2account', \npp 'person2person', \nmt 'money transfer', \ncd 'cash deposit', \nft 'funds transfer', \nwt 'wallet transfer', \ncp 'card bill payment'\nmd 'merchant disbursement'" }, { "name" "purposeofpayment ", "kind" "optional", "type" "string", "description" "the reason for the transaction e g payroll needed for international ", "" "the reason for the transaction e g payroll needed for international " } ], "formdataparameters" \[] }, "currentnewparameter" { "label" "body parameter", "value" "bodydataparameters" }, "response" \[ { "name" "id", "kind" "optional", "type" "string", "description" "", "children" \[] }, { "name" "originalpaymentid", "kind" "optional", "type" "string", "description" " a uuid that is the primary identifier for the payment ", "children" \[] }, { "name" "clientidentifier", "kind" "optional", "type" "string", "description" " a string that identifies the client associated with the payment ", "children" \[] }, { "name" "amount", "kind" "optional", "type" "string", "description" "the amount to be transferred, in cents for example, 10001 = $100 01 ", "children" \[] }, { "name" "paymenttype", "kind" "optional", "type" "string", "description" "indicates the direction of the payment \npush money sent out (e g disbursement to a customer)\npull money received (e g a charge to a customer's card)", "children" \[] }, { "name" "status", "kind" "optional", "type" "string", "description" "one of \\"created\\",\n \\"pending\\",\n \\"authorized\\",\n \\"submitted\\",\n \\"processing\\",\n \\"completed\\",\n \\"rejected\\",\n \\"failed\\"", "children" \[] }, { "name" "source", "kind" "optional", "type" "string", "description" "", "children" \[] }, { "name" "productid", "kind" "optional", "type" "string", "description" " a uuid that identifies the product, as defined in cos ", "children" \[] }, { "name" "partnerid", "kind" "optional", "type" "string", "description" " a uuid that identifies the partner, as defined in cos ", "children" \[] }, { "name" "cardid", "kind" "optional", "type" "string", "description" " a uuid that identifies the card used ", "children" \[] }, { "name" "cardtoken", "kind" "optional", "type" "string", "description" "", "children" \[] }, { "name" "network", "kind" "optional", "type" "string", "description" "the network through which the payment is processed (e g visa, mastercard) ", "children" \[] }, { "name" "cardbrand", "kind" "optional", "type" "string", "description" "one of \\"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\\"", "children" \[] }, { "name" "panlastfour", "kind" "optional", "type" "string", "description" "the last four digits of the primary account number (card number) ", "children" \[] }, { "name" "issuercountrycode", "kind" "optional", "type" "string", "description" "a string representing the country code of the card issuer ", "children" \[] }, { "name" "retrievalreferenceid", "kind" "optional", "type" "string", "description" "a unique identifier used for retrieving transaction details, often used in disputes or reconciliation ", "children" \[] }, { "name" "reasoncode", "kind" "optional", "type" "string", "description" "a 2 digit code signifying the transaction result (approved or decline) for example, 00 means successful ", "children" \[] }, { "name" "reasondescription", "kind" "optional", "type" "string", "description" "a string describing the transaction result for example, approved ", "children" \[] }, { "name" "tracenumber", "kind" "optional", "type" "string", "description" "a unique number assigned to a transaction from the time it leaves the merchant bank until it arrives at the cardholder bank", "children" \[] }, { "name" "correspondingentity", "kind" "optional", "type" "object", "description" "", "children" \[] }, { "name" "mcc", "kind" "optional", "type" "string", "description" "merchant category code (mcc) 4 digits that a credit card issuer uses to categorize consumer transactions for their card ", "children" \[] }, { "name" "merchantverificationvalue", "kind" "optional", "type" "string", "description" "a value used to verify the merchant's identity ", "children" \[] }, { "name" "accountnumber", "kind" "optional", "type" "string", "description" "the account number associated with the payment ", "children" \[] }, { "name" "businesstype", "kind" "optional", "type" "string", "description" "business application indicator (bai) a standardized category used to classify the nature of a business \none of \nbb 'business2business', \nfd 'funds disbursement ', \naa 'account2account', \npp 'person2person', \nmt 'money transfer', \ncd 'cash deposit', \nft 'funds transfer', \nwt 'wallet transfer', \ncp 'card bill payment'\nmd 'merchant disbursement'", "children" \[] }, { "name" "purposeofpayment", "kind" "optional", "type" "string", "description" "", "children" \[] }, { "name" "coretransactionid", "kind" "optional", "type" "string", "description" "a uuid that links the payment to the core banking system ", "children" \[] }, { "name" "memopostid", "kind" "optional", "type" "string", "description" "a uuid that identifies the corresponding memo post (a temporary transaction posting) ", "children" \[] }, { "name" "memopostremovedat", "kind" "optional", "type" "string", "description" "when the memo post was removed i e when the temporary hold was released ", "children" \[] }, { "name" "wasrefunded", "kind" "optional", "type" "boolean", "description" "boolean value indicating whether the payment has been refunded ", "children" \[] }, { "name" "refundpaymentid", "kind" "optional", "type" "string", "description" "a uuid that identifies the refund transaction associated with the payment ", "children" \[] }, { "name" "createdat", "kind" "optional", "type" "string", "description" "when the payment was created", "children" \[] }, { "name" "authorizedon", "kind" "optional", "type" "string", "description" "when the payment was authorized by the issuing bank ", "children" \[] }, { "name" "submittedon", "kind" "optional", "type" "string", "description" "when the payment was submitted to the network ", "children" \[] }, { "name" "rejectedat", "kind" "optional", "type" "string", "description" "when the payment was rejected ", "children" \[] }, { "name" "completedat", "kind" "optional", "type" "string", "description" "when the payment was successfully completed ", "children" \[] }, { "name" "failedat", "kind" "optional", "type" "string", "description" "when the payment failed to process ", "children" \[] }, { "name" "limitseligibleon", "kind" "optional", "type" "string", "description" "when the transaction becomes eligible for limit calculations ", "children" \[] }, { "name" "lastmodifiedat", "kind" "optional", "type" "string", "description" "when the payment record was last modified ", "children" \[] } ], "hastryitout" false, "autogeneratedanchorslug" "endpoint v1payments", "legacyhash" "ahhh 9zymt u1g3bs7rdj" }