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:read scope.
  • Once your business has an IP allowlist, every live key must call from an address on it.
  • Guide: Statements
GET
/api/b/v1/accounts/{reference}/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.

Path Parameters

reference*Reference

Query Parameters

currency*Currency
Length3 <= length <= 3
start?|

Inclusive, RFC 3339.

end?|

Exclusive, RFC 3339.

after?|

The previous page's next_cursor.

limit?Limit
Range1 <= value <= 500
Default100

Response 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}