Send payments
relevant webhooks for this endpoint be sure you have docid\ bn5xtgkjogbe ctwomcbs for these webhooks docid\ wso2e9cmh8zs8pyijc 7r docid\ wso2e9cmh8zs8pyijc 7r docid\ wso2e9cmh8zs8pyijc 7r 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 x post header 'content type application/json' header 'accept application/json' d '{ \\\ \n \\"productid\\" \\"00000000 0000 0000 0000 000000000000\\", \\\ \n \\"cardid\\" \\"00000000 0000 0000 0000 000000000000\\", \\\ \n \\"cardtoken\\" \\"string\\", \\\ \n \\"accountnumber\\" \\"string\\", \\\ \n \\"amount\\" 0, \\\ \n \\"paymenttype\\" \\"push\\", \\\ \n \\"correspondingentity\\" { \\\ \n \\"firstname\\" \\"string\\", \\\ \n \\"lastname\\" \\"string\\", \\\ \n \\"externalaccountidentifier\\" \\"string\\", \\\ \n \\"address\\" { \\\ \n \\"street1\\" \\"string\\", \\\ \n \\"street2\\" \\"string\\", \\\ \n \\"city\\" \\"string\\", \\\ \n \\"state\\" \\"string\\", \\\ \n \\"postalcode\\" \\"string\\", \\\ \n \\"countrycode\\" \\"string\\" \\\ \n } \\\ \n }, \\\ \n \\"mcc\\" \\"string\\", \\\ \n \\"cvv\\" \\"string\\", \\\ \n \\"clientidentifier\\" \\"string\\", \\\ \n \\"businesstype\\" \\"bb\\" \\\ \n }' 'https //sandbox crbcos com/cardpayments/v1/payments'", "customlabel" "" }, { "id" "veegmwka clezxjzmmbuk", "language" "nodejs", "code" "var request = require('request');\n\nvar headers = {\n 'content type' 'application/json',\n 'accept' 'application/json'\n};\n\nvar datastring = '{ \\\\\\\ \\\n \\"productid\\" \\"00000000 0000 0000 0000 000000000000\\", \\\\\\\ \\\n \\"cardid\\" \\"00000000 0000 0000 0000 000000000000\\", \\\\\\\ \\\n \\"cardtoken\\" \\"string\\", \\\\\\\ \\\n \\"accountnumber\\" \\"string\\", \\\\\\\ \\\n \\"amount\\" 0, \\\\\\\ \\\n \\"paymenttype\\" \\"push\\", \\\\\\\ \\\n \\"correspondingentity\\" { \\\\\\\ \\\n \\"firstname\\" \\"string\\", \\\\\\\ \\\n \\"lastname\\" \\"string\\", \\\\\\\ \\\n \\"externalaccountidentifier\\" \\"string\\", \\\\\\\ \\\n \\"address\\" { \\\\\\\ \\\n \\"street1\\" \\"string\\", \\\\\\\ \\\n \\"street2\\" \\"string\\", \\\\\\\ \\\n \\"city\\" \\"string\\", \\\\\\\ \\\n \\"state\\" \\"string\\", \\\\\\\ \\\n \\"postalcode\\" \\"string\\", \\\\\\\ \\\n \\"countrycode\\" \\"string\\" \\\\\\\ \\\n } \\\\\\\ \\\n }, \\\\\\\ \\\n \\"mcc\\" \\"string\\", \\\\\\\ \\\n \\"cvv\\" \\"string\\", \\\\\\\ \\\n \\"clientidentifier\\" \\"string\\", \\\\\\\ \\\n \\"businesstype\\" \\"business2business\\" \\\\\\\ \\\n }';\n\nvar options = {\n url 'https //sandbox crbcos com/cardpayments/v1/payments',\n method 'post',\n headers headers,\n body datastring\n};\n\nfunction callback(error, response, body) {\n if (!error && response statuscode == 200) {\n console log(body);\n }\n}\n\nrequest(options, callback);", "customlabel" "" }, { "id" "bp ijxqk 9xj ycwnygnx", "language" "python", "code" "import requests\n\nheaders = {\n 'content type' 'application/json',\n 'accept' 'application/json',\n}\n\ndata = '{ \\\\\\\ \\\n \\"productid\\" \\"00000000 0000 0000 0000 000000000000\\", \\\\\\\ \\\n \\"cardid\\" \\"00000000 0000 0000 0000 000000000000\\", \\\\\\\ \\\n \\"cardtoken\\" \\"string\\", \\\\\\\ \\\n \\"accountnumber\\" \\"string\\", \\\\\\\ \\\n \\"amount\\" 0, \\\\\\\ \\\n \\"paymenttype\\" \\"push\\", \\\\\\\ \\\n \\"correspondingentity\\" { \\\\\\\ \\\n \\"firstname\\" \\"string\\", \\\\\\\ \\\n \\"lastname\\" \\"string\\", \\\\\\\ \\\n \\"externalaccountidentifier\\" \\"string\\", \\\\\\\ \\\n \\"address\\" { \\\\\\\ \\\n \\"street1\\" \\"string\\", \\\\\\\ \\\n \\"street2\\" \\"string\\", \\\\\\\ \\\n \\"city\\" \\"string\\", \\\\\\\ \\\n \\"state\\" \\"string\\", \\\\\\\ \\\n \\"postalcode\\" \\"string\\", \\\\\\\ \\\n \\"countrycode\\" \\"string\\" \\\\\\\ \\\n } \\\\\\\ \\\n }, \\\\\\\ \\\n \\"mcc\\" \\"string\\", \\\\\\\ \\\n \\"cvv\\" \\"string\\", \\\\\\\ \\\n \\"clientidentifier\\" \\"string\\", \\\\\\\ \\\n \\"businesstype\\" \\"business2business\\" \\\\\\\ \\\n }'\n\nresponse = requests post('https //sandbox crbcos com/cardpayments/v1/payments', headers=headers, data=data)", "customlabel" "" }, { "id" "xu3xbbwt a y7mcgl0s3", "language" "ruby", "code" "require 'net/http'\n\nuri = uri('https //sandbox crbcos com/cardpayments/v1/payments')\nreq = net http post new(uri)\nreq content type = 'application/json'\nreq\['accept'] = 'application/json'\n\nreq body = \\"{ \\\\\\\ \\\n \\\\\\"productid\\\\\\" \\\\\\"00000000 0000 0000 0000 000000000000\\\\\\", \\\\\\\ \\\n \\\\\\"cardid\\\\\\" \\\\\\"00000000 0000 0000 0000 000000000000\\\\\\", \\\\\\\ \\\n \\\\\\"cardtoken\\\\\\" \\\\\\"string\\\\\\", \\\\\\\ \\\n \\\\\\"accountnumber\\\\\\" \\\\\\"string\\\\\\", \\\\\\\ \\\n \\\\\\"amount\\\\\\" 0, \\\\\\\ \\\n \\\\\\"paymenttype\\\\\\" \\\\\\"push\\\\\\", \\\\\\\ \\\n \\\\\\"correspondingentity\\\\\\" { \\\\\\\ \\\n \\\\\\"firstname\\\\\\" \\\\\\"string\\\\\\", \\\\\\\ \\\n \\\\\\"lastname\\\\\\" \\\\\\"string\\\\\\", \\\\\\\ \\\n \\\\\\"externalaccountidentifier\\\\\\" \\\\\\"string\\\\\\", \\\\\\\ \\\n \\\\\\"address\\\\\\" { \\\\\\\ \\\n \\\\\\"street1\\\\\\" \\\\\\"string\\\\\\", \\\\\\\ \\\n \\\\\\"street2\\\\\\" \\\\\\"string\\\\\\", \\\\\\\ \\\n \\\\\\"city\\\\\\" \\\\\\"string\\\\\\", \\\\\\\ \\\n \\\\\\"state\\\\\\" \\\\\\"string\\\\\\", \\\\\\\ \\\n \\\\\\"postalcode\\\\\\" \\\\\\"string\\\\\\", \\\\\\\ \\\n \\\\\\"countrycode\\\\\\" \\\\\\"string\\\\\\" \\\\\\\ \\\n } \\\\\\\ \\\n }, \\\\\\\ \\\n \\\\\\"mcc\\\\\\" \\\\\\"string\\\\\\", \\\\\\\ \\\n \\\\\\"cvv\\\\\\" \\\\\\"string\\\\\\", \\\\\\\ \\\n \\\\\\"clientidentifier\\\\\\" \\\\\\"string\\\\\\", \\\\\\\ \\\n \\\\\\"businesstype\\\\\\" \\\\\\"business2business\\\\\\" \\\\\\\ \\\n }\\"\n\nreq options = {\n use ssl uri scheme == 'https'\n}\nres = net http start(uri hostname, uri port, req options) do |http|\n http request(req)\nend", "customlabel" "" }, { "id" "yes xnvear36pmlaxlh p", "language" "go", "code" "package main\n\nimport (\n\t\\"fmt\\"\n\t\\"io\\"\n\t\\"log\\"\n\t\\"net/http\"\n\t\\"strings\\"\n)\n\nfunc main() {\n\tclient = \&http client{}\n\tvar data = strings newreader(`{ \\\ \n \\"productid\\" \\"00000000 0000 0000 0000 000000000000\\", \\\ \n \\"cardid\\" \\"00000000 0000 0000 0000 000000000000\\", \\\ \n \\"cardtoken\\" \\"string\\", \\\ \n \\"accountnumber\\" \\"string\\", \\\ \n \\"amount\\" 0, \\\ \n \\"paymenttype\\" \\"push\\", \\\ \n \\"correspondingentity\\" { \\\ \n \\"firstname\\" \\"string\\", \\\ \n \\"lastname\\" \\"string\\", \\\ \n \\"externalaccountidentifier\\" \\"string\\", \\\ \n \\"address\\" { \\\ \n \\"street1\\" \\"string\\", \\\ \n \\"street2\\" \\"string\\", \\\ \n \\"city\\" \\"string\\", \\\ \n \\"state\\" \\"string\\", \\\ \n \\"postalcode\\" \\"string\\", \\\ \n \\"countrycode\\" \\"string\\" \\\ \n } \\\ \n }, \\\ \n \\"mcc\\" \\"string\\", \\\ \n \\"cvv\\" \\"string\\", \\\ \n \\"clientidentifier\\" \\"string\\", \\\ \n \\"businesstype\\" \\"business2business\\" \\\ \n }`)\n\treq, err = http newrequest(\\"post\\", \\"https //sandbox crbcos com/cardpayments/v1/payments\\", data)\n\tif err != nil {\n\t\tlog fatal(err)\n\t}\n\treq header set(\\"content type\\", \\"application/json\\")\n\treq header set(\\"accept\\", \\"application/json\\")\n\tresp, err = client do(req)\n\tif err != nil {\n\t\tlog fatal(err)\n\t}\n\tdefer resp body close()\n\tbodytext, err = io readall(resp body)\n\tif err != nil {\n\t\tlog fatal(err)\n\t}\n\tfmt printf(\\"%s\\\n\\", bodytext)\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" }