v7

latestOpenAPI 3.1.0raw.githubusercontent.com2026-08-0462198511.0 KB
accounts

Create an account statement

Creates a new statement

post/accounts/{account_id}/statements

Path parameters

account_idstring required

Request body

period_endstring date required

The end of the period to generate the statement for, exclusive.

period_startstring date required

The start of the period to generate the statement for, inclusive.

Example request

{
  "period_end": "2026-02-01",
  "period_start": "2026-01-01"
}

Response

Created

accountstring required

ID of the account the document belongs to.

content_typestring required

MIME type of the document content.

created_atstring date-time required

The timestamp (in ISO-8601 format) of when the resource was created.

document_type'welcome_letter' | 'trade_confirmation' | 'fee_statement' | 'account_statement' required
filestring required

ID of the file containing the document.

idstring required

Unique resource identifier.

is_downloadableboolean required

Whether the document is available for download.

modified_atstring date-time required

The timestamp (in ISO-8601 format) of when the resource was last modified.

period_endstring date nullable required

End date of the period covered by the document.

period_startstring date nullable required

Start date of the period covered by the document.

titlestring required

Document title.

Example response

{
  "period_end": "2026-03-31",
  "period_start": "2026-01-01"
}