Accounts
Account mgmt APIs
Get statement doc info
api reference returns information about monthly statement documents using a unique statement id returned in the get statement info call the pdf is stored on our production server request a raw pdf file with the get statement pdf call { "name" "endpoint /v1/dda/accounts/{accountnumber}/statements/{statementid}/documents", "method" "get", "url" "https //sandbox crbcos com/core/v1/dda/accounts/{accountnumber}/statements/{statementid}/documents", "description" "", "tab" "examples", "examples" { "languages" \[ { "id" "orrps9pk6lteodalyxbx5", "language" "curl", "code" "curl location 'https //sandbox crbcos com/core/v1/dda/accounts/2819503463/statements/6daf4caa 34d5 4e65 9f98 b388004f0af7/documents' \\\\\n header 'authorization bearer \<token>'", "customlabel" "" }, { "id" "wxqmh8hlvdflodyg42yxy", "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' '/core/v1/dda/accounts/2819503463/statements/6daf4caa 34d5 4e65 9f98 b388004f0af7/documents',\n 'headers' {\n 'authorization' 'bearer \<token>'\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" " ybdqbvdmtqq eketerrt", "language" "python", "code" "import http client\n\nconn = http client httpsconnection(\\"sandbox crbcos com\\")\npayload = ''\nheaders = {\n 'authorization' 'bearer \<token>'\n}\nconn request(\\"get\\", \\"/core/v1/dda/accounts/2819503463/statements/6daf4caa 34d5 4e65 9f98 b388004f0af7/documents\\", payload, headers)\nres = conn getresponse()\ndata = res read()\nprint(data decode(\\"utf 8\\"))", "customlabel" "" }, { "id" "oi9iqfentyr 2pfcwoiqc", "language" "ruby", "code" "require \\"uri\\"\nrequire \\"net/http\"\n\nurl = uri(\\"https //sandbox crbcos com/core/v1/dda/accounts/2819503463/statements/6daf4caa 34d5 4e65 9f98 b388004f0af7/documents\\")\n\nhttps = net http new(url host, url port)\nhttps use ssl = true\n\nrequest = net http get new(url)\nrequest\[\\"authorization\\"] = \\"bearer \<token>\\"\n\nresponse = https request(request)\nputs response read body\n", "customlabel" "" }, { "id" "dynvjllajxj 2q tz3vu2", "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/core/v1/dda/accounts/2819503463/statements/6daf4caa 34d5 4e65 9f98 b388004f0af7/documents\\"\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 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" "orrps9pk6lteodalyxbx5" }, "results" { "languages" \[ { "id" "bpj4xgoxiawf9cgszfqrr", "language" "200", "code" "{\n \\"results\\" \[\n {\n \\"id\\" \\"a2276ec1 e851 41e0 8ae1 b38800747098\\",\n \\"statementid\\" \\"6daf4caa 34d5 4e65 9f98 b388004f0af7\\",\n \\"filetype\\" \\"pdf\\",\n \\"description\\" \\"document 1\\",\n \\"partnerid\\" \\"cd9c12f4 7691 424a b38b af5b0134c611\\",\n \\"createdat\\" \\"2025 11 01t03 03 57 04 00\\",\n \\"lastmodifiedat\\" \\"2025 11 01t03 03 57 04 00\\",\n \\"filename\\" \\"devra test 2819503463 6daf4caa 34d5 4e65 9f98 b388004f0af7 2025 10 31 pdf\\"\n }\n ],\n \\"pagenumber\\" 1,\n \\"pagesize\\" 1,\n \\"haspreviouspage\\" false,\n \\"hasnextpage\\" false\n}", "customlabel" "" } ], "selectedlanguageid" "bpj4xgoxiawf9cgszfqrr" }, "request" { "pathparameters" \[ { "name" "accountnumber", "kind" "required", "type" "string", "description" "number of the account that you want the bank statement for", "" "number of the account that you want the bank statement for" }, { "name" "statementid", "kind" "required", "type" "string", "description" "the id of the statement document you want find this id in the 'id' parameter value of the get statement info response ", "" "the id of the statement document you want find this id in the 'id' parameter value of the get statement info response " } ], "queryparameters" \[], "headerparameters" \[], "bodydataparameters" \[], "formdataparameters" \[] }, "currentnewparameter" { "label" "path parameter", "value" "pathparameters" }, "hastryitout" false, "response" \[ { "name" "id", "kind" "optional", "type" "string", "description" "id of the specific document " }, { "name" "statementid", "kind" "optional", "type" "string", "description" "the id of the statement, returned as 'id' in the get statement info call", "children" \[] }, { "name" "filetype", "kind" "optional", "type" "string", "description" "format of the statement file \n png\n pdf\n csv", "children" \[] }, { "name" "description", "kind" "optional", "type" "string", "description" "system description created for the statement document", "children" \[] }, { "name" "data", "kind" "optional", "type" "string", "description" "not used", "children" \[] }, { "name" "partnerid", "kind" "optional", "type" "string", "description" "your id in the cross river system", "children" \[] }, { "name" "createdat", "kind" "optional", "type" "string", "description" "when the document was created in this case, the date and time are in this format yyyy mm ddthh\ mm\ ss\[ mmm] ", "children" \[] }, { "name" "lastmodifiedat", "kind" "optional", "type" "string", "description" "internal cross river value date and time the database entry was last modified ", "children" \[] }, { "name" "filename", "kind" "optional", "type" "string", "description" "statement document filename", "children" \[] } ] }