Skip to main content
POST
Cancel a bank statement session (v1)
Use this endpoint to close a session you will not complete, for example when the customer abandons the application. 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

  • status: "success": the session is cancelled. Branch on status only; data carries source details that are not part of the contract.
  • status: "failed": the source declined. 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.

Response

The call completed. status: success is charged. status: failed means the verification source declined the step; it 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

Details from the verification source. Not part of the contract: branch on status only.

Last modified on October 4, 2026