Skip to main content
POST
cURL

Headers

Authorization
string
required

Bearer token. Format: Bearer <api_key>

Idempotency-Key
string

Unique key per logical operation. UUID v4 recommended. Max 255 characters.

Body

application/json

A report request, discriminated by type.

type
enum<string>
required

ACCOUNT_STATEMENT or TRANSACTION_STATEMENT.

Available options:
ACCOUNT_STATEMENT,
TRANSACTION_STATEMENT
format
enum<string>
required

File format.

Available options:
PDF,
CSV
from
string
required

First day covered (YYYY-MM-DD, UTC). No earlier than 2024-01-01.

to
string
required

Last day covered, inclusive (YYYY-MM-DD, UTC). At most 366 days after from; a range reaching today runs up to now.

currency
string | null

Asset code of the one currency to cover. Omit or pass null for every currency.

Response

The request has succeeded and a new resource has been created as a result.

A report of your organization: a statement, a balance certificate or a bank confirmation letter.

object
enum<string>
required

Object type. Always report.

Available options:
report
reportId
string
required

Report identifier.

type
enum<string>
required

The kind of document.

Available options:
ACCOUNT_STATEMENT,
TRANSACTION_STATEMENT,
BALANCE_CERTIFICATE,
BANK_CONFIRMATION_LETTER
format
enum<string>
required

File format.

Available options:
PDF,
CSV
status
enum<string>
required

Where the report stands. Download it once READY.

Available options:
PENDING,
PROCESSING,
READY,
FAILED
from
string | null
required

First day covered (YYYY-MM-DD, UTC) for a statement; null otherwise.

to
string | null
required

Last day covered, inclusive (YYYY-MM-DD, UTC) for a statement; null otherwise.

asOf
string | null
required

The day whose closing balances a certificate states (YYYY-MM-DD, UTC); null for other reports.

currency
string | null
required

The one currency covered, or null when the report covers every currency.

fileName
string | null
required

File name, once READY.

sizeBytes
integer<int32> | null
required

File size in bytes, once READY.

createdAt
string
required

When the report was requested.

readyAt
string | null
required

When the file became available. null until READY.