Accounts
Deposit sweeps APIs
Identify bank
1 min
{ "name" "endpoint /sweepsintrafi/v1/banks/{banknumber}", "method" "get", "url" "https //sandbox crbcos com/sweepsintrafi/v1/banks/{banknumber}", "description" "the previous endpoints have shared strings of bank ids when sharing exclusions this endpoint returns the bank name ", "tab" "examples", "examples" { "languages" \[ { "id" "0vtoqcmlg mrm3gsbsecz", "language" "curl", "code" "curl location 'https //sandbox crbcos com/sweepsintrafi/v1/banks/10004'", "customlabel" "" }, { "id" "zqdjfhycpumox9ogghgsf", "language" "nodejs", "code" "var https = require('follow redirects') https;\nvar fs = require('fs');\n\nvar options = {\n 'method' 'get',\n 'hostname' 'sandbox crbcos com',\n 'path' '/sweepsintrafi/v1/banks/10004',\n 'headers' {\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\nreq end();", "customlabel" "" }, { "id" "1dqqo03fjsloruyttsare", "language" "python", "code" "import http client\n\nconn = http client httpsconnection(\\"sandbox crbcos com\\")\npayload = ''\nheaders = {}\nconn request(\\"get\\", \\"/sweepsintrafi/v1/banks/10004\\", payload, headers)\nres = conn getresponse()\ndata = res read()\nprint(data decode(\\"utf 8\\"))", "customlabel" "" }, { "id" "vknxlscrv8znlxvkqujt0", "language" "ruby", "code" "require \\"uri\\"\nrequire \\"net/http\"\n\nurl = uri(\\"https //sandbox crbcos com/sweepsintrafi/v1/banks/10004\\")\n\nhttps = net http new(url host, url port)\nhttps use ssl = true\n\nrequest = net http get new(url)\n\nresponse = https request(request)\nputs response read body\n", "customlabel" "" }, { "id" "bextjk r9e6elhfxao3up", "language" "go", "code" "package main\n\nimport (\n \\"fmt\\"\n \\"net/http\"\n \\"io\\"\n)\n\nfunc main() {\n\n url = \\"https //sandbox crbcos com/sweepsintrafi/v1/banks/10004\\"\n method = \\"get\\"\n\n client = \&http client {\n }\n req, err = http newrequest(method, url, nil)\n\n if err != nil {\n fmt println(err)\n return\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" "0vtoqcmlg mrm3gsbsecz" }, "results" { "languages" \[ { "id" "qqhilt fhhpgn7vzgszaq", "language" "200", "customlabel" "", "code" "{\n \\"banknumber\\" \\"10004\\",\n \\"name\\" \\"farmers state bank\\",\n \\"abanumber\\" \\"075903763\\",\n \\"effectivedate\\" \\"2025 06 20t00 00 00 04 00\\",\n \\"lastmodifiedat\\" \\"2025 06 20t16 35 45 5739859 04 00\\"\n}" }, { "id" "rlz8snuia0a7tp78gezu3", "language" "400", "code" "{\n \\"errors\\" \[\n {\n \\"code\\" 0,\n \\"message\\" \\"badrequest\\"\n }\n ]\n}", "customlabel" "" }, { "id" "mkzojj1rxmgrswjeoosvn", "language" "404", "customlabel" "", "code" "" } ], "selectedlanguageid" "qqhilt fhhpgn7vzgszaq" }, "request" { "pathparameters" \[ { "name" "banknumber", "kind" "required", "type" "string", "description" "the bank number for the bank", "" "required" } ], "queryparameters" \[], "headerparameters" \[], "bodydataparameters" \[], "formdataparameters" \[] }, "currentnewparameter" { "label" "path parameter", "value" "pathparameters" }, "response" \[ { "name" "banknumber", "kind" "optional", "type" "string", "description" "requested bank number" }, { "name" "name", "kind" "optional", "type" "string", "description" "bank name", "children" \[] }, { "name" "abanumber", "kind" "optional", "type" "string", "description" "aba (american bankers association) routing number is a 9 digit number used to identify banks in america", "children" \[] }, { "name" "effectivedate", "kind" "optional", "type" "string", "description" "internal cross river value date and time the database entry was last effective ", "children" \[] }, { "name" "lastmodifiedat", "kind" "optional", "type" "string", "description" "internal cross river value date and time the database entry was last modified ", "children" \[] } ] }