Skip to main content
POST
Download the bank statement report (v1)
Use this endpoint once Status shows a transaction. Send report_type: "xlsx" for a spreadsheet or leave the default json. This is a v1 endpoint: the response is a flat object, not the v2 envelope.

The flow

  1. Start upload: open a session, keep data.session_id.
  2. Upload: send each statement PDF.
  3. Complete: tell idto every PDF is in.
  4. Status: check processing, or wait for the notification on your txn_completed_cburl.
  5. Report: download the analysis.
Cancel closes a session you no longer need. Every step takes the session_id from step 1; idto keeps the session for your account only.

Environments

Billing

Each step is a separate call, charged only when its response status is success. A charged response carries chargeble and user_consent, both the string "true", spelled exactly as shown. There is no billed field on v1. A source decline comes back as HTTP 200 with status: "failed", a message and an error_code, and is not charged. That error_code is the source’s own reason code (or IDTO_008 when it gave none), not a stable idto list: branch on status.
This endpoint has no Idempotency-Key support. A retried call runs again and can be charged twice. Retry only after you have confirmed the first call failed.

How to read the result

  • report_type: "xlsx": the response is the file itself, Content-Disposition: attachment; filename="bank_statement_report.xlsx", with no JSON body. Charged.
  • report_type: "json": status: "success" with the report in data.report. The report’s fields come from the verification source and are not a fixed idto contract; prefer xlsx if you need a stable format. Charged.
  • status: "failed": the source declined the request. Not charged.

Errors

Raised errors use the v1 shapes: {"detail": {...}} for verification failures, {"detail": "..."} for authentication and {"detail": [...]} for request validation. Wrapped detail objects with "status": "error" also carry tranx_id and timestamp; the session errors below do not. Questions about this product are answered in the Bank FAQ. Was this page helpful? Yes / No

Authorizations

X-Client-ID
string
header
default:<client-id>
required

The Client ID shown on the API Credentials page of the idto dashboard. It is not your account or customer ID, which returns 401. Send it on every server-to-server request together with X-API-Key. Staging and production client IDs are different.

X-API-Key
string
header
default:<api-key>
required

Your API key from the idto dashboard (API credentials). Keep it on your server; never ship it in a browser or mobile app. Send it on every server-to-server request together with X-Client-ID.

Body

application/json
session_id
string<uuid>
required

data.session_id from start upload.

report_type
string
default:json

json (default) or xlsx.

report_subtype
string

Report variant, when your account has more than one.

Response

With report_type: "xlsx": the spreadsheet as an attachment named bank_statement_report.xlsx (content type application/vnd.openxmlformats-officedocument.spreadsheetml.sheet), charged. With json: the envelope below; data.report holds the report, whose fields come from the verification source and are not a fixed idto contract. status: failed is not charged.

status
enum<string>
required

success when the step completed. failed when the verification source declined it (HTTP 200, not billed).

Available options:
success,
failed
message
string
error_code
string | null

null on success. On failed, the source's own reason code, passed through; not an idto IDTO_ code and not a stable list.

tranx_id
string

idto transaction id for this call.

timestamp
string

When the call was recorded.

chargeble
enum<string>

Present and "true" only when the call was charged.

Available options:
true

Present and "true" only when the call was charged.

Available options:
true
data
object
Last modified on December 1, 2026