Payments
...
Transaction mgmt APIs
Send funds
1 min
{ "name" "endpoint /api/transaction", "method" "post", "url" "https //pushtopaystaging crbnj net/api/transaction", "description" "transactions are classified as domestic or international based on the country of the card issuer transactions made with non us card issuers are considered international \nuse this endpoint for both domestic and international transactions ", "tab" "examples", "examples" { "languages" \[ { "id" "m2ue7qz6dvwcdz36gkppo", "language" "curl", "code" "curl l 'https //pushtopaystaging crbnj net/api/transaction' ^\n h 'content type application/json' ^\n h 'authorization bearer token' ^\n d '{\n \\"requestid\\" \\"563288b0 ccf4 4d4c 978b d87ba30889d3\\",\n \\"cardtoken\\" \\"a5d4b6aa33a64f718a49b18fe0cdc6af000000\\",\n \\"amount\\" 200,\n \\"sourcesendername\\" \\"my company\\"\n}'", "customlabel" "" }, { "id" "veegmwka clezxjzmmbuk", "language" "nodejs", "code" "var request = require('request');\nvar options = {\n 'method' 'post',\n 'url' 'https //pushtopaystaging crbnj net/api/transaction',\n 'headers' {\n 'content type' 'application/json',\n 'authorization' 'bearer token'\n },\n body json stringify({\n \\"requestid\\" \\"563288b0 ccf4 4d4c 978b d87ba30889d3\\",\n \\"cardtoken\\" \\"a5d4b6aa33a64f718a49b18fe0cdc6af000000\\",\n \\"amount\\" 200,\n \\"sourcesendername\\" \\"my company\\"\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 //pushtopaystaging crbnj net/api/transaction\\"\n\npayload = json dumps({\n \\"requestid\\" \\"54af2cb8 a9e9 4d54 bb02 8697978dbbe6\\",\n \\"cardtoken\\" \\"a5d4b6aa33a64f718a49b18fe0cdc6af000000\\",\n \\"amount\\" 200,\n \\"sourcesendername\\" \\"my company\\"\n})\nheaders = {\n 'content type' 'application/json',\n 'authorization' 'bearer token'\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 //pushtopaystaging crbnj net/api/transaction\\")\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\[\\"authorization\\"] = \\"bearer token\\"\nrequest body = json dump({\n \\"requestid\\" \\"4d429afa 1ed5 4aa1 93cb 44c32fb3bd17\\",\n \\"cardtoken\\" \\"a5d4b6aa33a64f718a49b18fe0cdc6af000000\\",\n \\"amount\\" 200,\n \\"sourcesendername\\" \\"my company\\"\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 //pushtopaystaging crbnj net/api/transaction\\"\n method = \\"post\\"\n\n payload = strings newreader(`{`+\\"\n\\"+`\n \\"requestid\\" \\"e8706349 a373 44c7 8dfc 8c4e4f13a001\\",`+\\"\n\\"+`\n \\"cardtoken\\" \\"a5d4b6aa33a64f718a49b18fe0cdc6af000000\\",`+\\"\n\\"+`\n \\"amount\\" 200,`+\\"\n\\"+`\n \\"sourcesendername\\" \\"my company\\"`+\\"\n\\"+`\n`+\\"\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 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}", "customlabel" "" } ], "selectedlanguageid" "m2ue7qz6dvwcdz36gkppo" }, "results" { "languages" \[ { "id" "qalrhbp njcq9nhtl7r3x", "language" "200", "customlabel" "", "code" "{\n \\"version\\" \\"1 0 0 0\\",\n \\"result\\" {\n \\"transactionrequestid\\" \\"cf97a1ed eb43 4e8c aa3b 6f877f182529\\",\n \\"amount\\" 200,\n \\"transactionrequestedat\\" \\"2025 07 02t07 06 45 3755054z\\",\n \\"transactionstatus\\" \\"succeeded\\",\n \\"errordescription\\" null,\n \\"creditcardid\\" \\"a5d4b6aa33a64f718a49b18fe0cdc6af000000\\",\n \\"railid\\" \\"visadirect\\",\n \\"network\\" \\"visa\\",\n \\"retrievalreferenceid\\" \\"518307414003\\",\n \\"actualtransactiondoneat\\" \\"2025 07 02t07 06 45 6601706z\\",\n \\"paymentsent\\" true,\n \\"requestapproved\\" true,\n \\"responsereceived\\" true,\n \\"responsecode\\" \\"00\\",\n \\"responsedescription\\" \\"approved\\",\n \\"tracenumber\\" \\"414003\\",\n \\"error\\" null,\n \\"sourcesendername\\" \\"my company\\",\n \\"sourcemcc\\" null,\n \\"programid\\" null,\n \\"businesstype\\" \\"fd\\"\n },\n \\"issuccessfull\\" true,\n \\"issuccessful\\" true\n}" } ], "selectedlanguageid" "qalrhbp njcq9nhtl7r3x" }, "request" { "pathparameters" \[], "queryparameters" \[], "headerparameters" \[], "bodydataparameters" \[ { "name" "requestid", "kind" "required", "type" "string", "description" "the guid that enables the application to link request with response" }, { "name" "cardtoken", "kind" "required", "type" "string", "description" "a randomly generated string of characters that relates to the consumer's payment card (15 38 alphanumeric characters) \n\nthe response attribute this matches depends on the payment instrument \n\ncard matches the creditcardtoken in the add a card response \n\nwallet matches the payaliastoken in the add a payalias response ", "children" \[] }, { "name" "amount", "kind" "required", "type" "integer", "description" "the amount to be transferred, in cents for example, 10001 = $100 01 ", "children" \[] }, { "name" "sourcesendername", "kind" "optional", "type" "string", "description" "the name of the merchant this attribute (alphanumeric) identifies the sender of the funds \nmimimum 1 character \nmaximum 17 characters \nnote money transfers must contain the sender's name ", "" "optional" }, { "name" "sourcesenderid", "kind" "optional", "type" "string", "description" "money transfers must contain the sender's identifier this id identifies the sender of the funds \n\nfor a funds disbursement, non money transfers must contain either the name of the merchant or the entity sending the disbursement ", "" "optional" }, { "name" "merchanttransactionsidentifiersid", "kind" "optional", "type" "string", "description" "identifier of the merchant's transaction", "" "identifier of the merchant's transaction" }, { "name" "sourcemcc", "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" "purposeofpayment", "kind" "optional", "type" "string", "description" "a 1 12 character code that indicates the reason for a transaction this code is required for certain markets (countries) ", "children" \[] }, { "name" "programid", "kind" "optional", "type" "string", "description" "populate this attribute when you want to connect a transaction to a given sub merchant network program id (visa mvv, mastercard mcid) \n\notherwise, your merchant level program id is added automatically you don't need to enter it ", "children" \[] }, { "name" "sourceaddress", "kind" "optional", "type" "object", "description" "use this field to append online transaction data to the statement descriptor, for example to use a sub merchant address instead of the merchant address", "children" \[ { "name" "sourcecity", "kind" "optional", "type" "string", "description" "city full name" }, { "name" "sourcecountrycode", "kind" "optional", "type" "string", "description" " 2 letter iso country code" }, { "name" "sourcestate", "kind" "optional", "type" "string", "description" "state name we recommend you enter the 2 character state code " } ], "schema" \[ { "name" "sourcecity", "kind" "optional", "type" "string", "description" "city full name" }, { "name" "sourcecountrycode", "kind" "optional", "type" "string", "description" " 2 letter iso country code" }, { "name" "sourcestate", "kind" "optional", "type" "string", "description" "state name we recommend you enter the 2 character state code " } ] }, { "name" "correspondingentity", "kind" "optional", "type" "object", "description" "the name and address details of the sender of a push transaction or receiver of a pull transaction \n\nimportant this attribute is required in transactions that are account to account (a2a) or person to person (p2p) these are transactions using business type of aa, bi, cd, cp, ft, pp, tu, wt", "" "the name and address details of the sender of a push transaction or receiver of a pull transaction \n\nimportant this attribute is required in transactions that are account to account (a2a) or person to person (p2p) these are transactions using business type of aa, bi, cd, cp, ft, pp, tu, wt", "children" \[ { "name" "firstname", "kind" "optional", "type" "string", "description" "first name of the entity" }, { "name" "lastname", "kind" "optional", "type" "string", "description" "last name of the entity" }, { "name" "accountnumber", "kind" "optional", "type" "string", "description" "account number of the entity" }, { "name" "addressline1", "kind" "optional", "type" "string", "description" "address of the entity" }, { "name" "city", "kind" "optional", "type" "string", "description" "city where the entity is located" }, { "name" "state", "kind" "optional", "type" "string", "description" "state where the entity is located" }, { "name" "countrycode", "kind" "optional", "type" "string", "description" "two letter iso country code" }, { "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" } ], "schema" \[ { "name" "firstname", "kind" "optional", "type" "string", "description" "first name of the entity" }, { "name" "lastname", "kind" "optional", "type" "string", "description" "last name of the entity" }, { "name" "accountnumber", "kind" "optional", "type" "string", "description" "account number of the entity" }, { "name" "addressline1", "kind" "optional", "type" "string", "description" "address of the entity" }, { "name" "city", "kind" "optional", "type" "string", "description" "city where the entity is located" }, { "name" "state", "kind" "optional", "type" "string", "description" "state where the entity is located" }, { "name" "countrycode", "kind" "optional", "type" "string", "description" "two letter iso country code" }, { "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" } ] }, { "name" "businesstype", "kind" "optional", "type" "string", "description" " one of bb, fd, aa, pp, bi, cd, ft, wt, cp, tu, ci, co, gd, gp, lo, md, mp, og, pd", "" " one of bb, fd, aa, pp, bi, cd, ft, wt, cp, tu, ci, co, gd, gp, lo, md, mp, og, pd" } ], "formdataparameters" \[] }, "currentnewparameter" { "label" "body parameter", "value" "bodydataparameters" }, "response" \[ { "name" "transactionrequestid", "kind" "optional", "type" "string", "description" "unique customer generated transaction request" }, { "name" "amount", "kind" "optional", "type" "integer", "description" "the amount to be transferred, in cents for example, 10001 = $100 01 ", "children" \[] }, { "name" "transactionrequestedat", "kind" "optional", "type" "string", "description" "date and time of the request (gmt)", "children" \[] }, { "name" "transactionstatus", "kind" "optional", "type" "string", "description" "transaction status \n\n pending\n succeeded\n failed\n rejected", "children" \[] }, { "name" "errordescription", "kind" "optional", "type" "string", "description" "a description of the error, if relevant", "children" \[] }, { "name" "creditcardid", "kind" "optional", "type" "string", "description" "card token of the signed up debit card", "children" \[] }, { "name" "railid", "kind" "optional", "type" "string", "description" "the payment processor used to perform the transaction \n\n rs2\n mcsend\n tabapay\n visa direct", "children" \[] }, { "name" "network", "kind" "optional", "type" "string", "description" "name of the payment card network", "children" \[] }, { "name" "retrievalreferenceid", "kind" "optional", "type" "string", "description" "the number cross river creates that is passed to the rail to assist in tracing a transaction after it left our system", "children" \[] }, { "name" "actualtransactiondoneat", "kind" "optional", "type" "string", "description" "the date and time the transaction was sent to the payment processor", "children" \[] }, { "name" "paymentsent", "kind" "optional", "type" "boolean", "description" "true if a payment was sent, otherwise false", "children" \[] }, { "name" "requestapproved", "kind" "optional", "type" "boolean", "description" "true if a request was approved, otherwise false", "children" \[] }, { "name" "responsereceived", "kind" "optional", "type" "boolean", "description" "true if a response was received, otherwise false", "children" \[] }, { "name" "responsecode", "kind" "optional", "type" "string", "description" "a 2 digit code signifying the transaction result (approved or decline) for example, 00 means successful ", "children" \[] }, { "name" "responsedescription", "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" "error", "kind" "optional", "type" "string", "description" "a description of the error, if relevant", "children" \[] }, { "name" "sourcesendername", "kind" "optional", "type" "string", "description" "the name of the merchant this attribute (alphanumeric) identifies the sender of the funds ", "children" \[] }, { "name" "sourcemcc", "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" "programid", "kind" "optional", "type" "string", "description" "connects a transaction to a given sub merchant network program id (visa mvv, mastercard mcid)", "children" \[] }, { "name" "businesstype", "kind" "optional", "type" "string", "description" " one of bb, fd, aa, pp, bi, cd, ft, wt, cp", "children" \[] } ] } business types