Accounts
An account's statement
Entries for a period on one account, with the balances that bracket it. The same statement `GET /statements` gives for the main account: opening plus credits minus debits equals closing, from the ledger. A transfer shows on both accounts, as a debit on one and a credit on the other. A test account's statement is always empty. One currency per statement, as `GET /statements`: a running balance exists only within a currency. For every currency's totals in one call, `GET /accounts/{reference}/statement/summary`.
Before you call this endpoint
- An API key needs the
accounts:readscope. - Once your business has an IP allowlist, every live key must call from an address on it.
- Guide: Statements
Entries for a period on one account, with the balances that bracket it.
The same statement GET /statements gives for the main account: opening
plus credits minus debits equals closing, from the ledger. A transfer
shows on both accounts, as a debit on one and a credit on the other. A
test account's statement is always empty.
One currency per statement, as GET /statements: a running balance
exists only within a currency. For every currency's totals in one call,
GET /accounts/{reference}/statement/summary.
Path Parameters
Query Parameters
3 <= length <= 3Inclusive, RFC 3339.
Exclusive, RFC 3339.
The previous page's next_cursor.
1 <= value <= 500100Response Body
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/api/b/v1/accounts/string/statement?currency=str"{ "account": "acct_4f1c9a2b7d3e8f6a0b1c2d3e", "currency": "string", "period_start": "2019-08-24T14:15:22Z", "period_end": "2019-08-24T14:15:22Z", "opening_minor": 0, "closing_minor": 0, "total_credits_minor": 0, "total_debits_minor": 0, "reconciles": true, "entries": [ { "sequence": 0, "entry_type": "string", "amount_minor": 0, "balance_after_minor": 0, "currency": "string", "reference_type": "string", "transaction_id": "0fec1e58-b197-4052-99cf-2218496c5482", "created_at": "2019-08-24T14:15:22Z" } ], "next_cursor": 0}Rename an account
Change an account's label or kind. Moves no money. Freezing and closing are separate, and are the dashboard's: a key can do neither.
List transfers between your accounts
Most recent first, scoped to your business and your key's mode. Paged with a cursor: pass the response's `next_cursor` as `before` to get the next, older page, and stop when `next_cursor` is null. Paging is exact: a transfer made while you page never shifts a page, so nothing is shown twice or skipped. Keep `account`, `since` and `until` the same on every page of one walk.