GET
Generate a statement
Generates an account statement. Choose the format (pdf or csv) and exactly one period: The document comes back inline as a base64 data URI — render or download it client-side. Fee charges are merged into the statement automatically.
If there are no transactions in the chosen period, the API returns a 404 with STATEMENT_NO_TRANSACTIONS rather than an empty statement.

Authorizations

Authorization
string
header
required

The user's id_token from authentication — the ID token, not the access_token. The program and environment come from the token.

Path Parameters

customerId
string
required

The customer's ID.

accountId
string
required

The account's ID.

Query Parameters

format
enum<string>
required

Required. Output format.

Available options:
pdf,
csv
year
integer

Full-year statement. Use this, chosenMonth, or startDate+endDate — exactly one.

Example:

2026

chosenMonth
string

Single-month statement (YYYY-MM).

Example:

"2026-05"

startDate
string<date>

Custom range start (YYYY-MM-DD). Requires endDate.

endDate
string<date>

Custom range end (inclusive). Requires startDate.

Response

Statement document

success
boolean
Example:

true

data
object