List all journal entries
Lists a financial account’s journal entries in ascending sequence order.
Sequences start at 1 with the account’s OPENING_BALANCE entry and have
no gaps. Entries never change once written.
afterSequence is exclusive and throughSequence inclusive. Leave out
throughSequence on the first page: the response fixes it at the newest
entry. Send that pageInfo.throughSequence back with afterSequence set to
pageInfo.nextAfterSequence until hasNextPage is false, so entries
written while you read never shift a page. To read newer entries later,
start again with afterSequence set to the last throughSequence.
Every entry carries its full double-entry posting in lines, and in each
currency its debits equal its credits. Adding up the lines of every entry
from sequence 1 gives each ledger account’s balance, with a debit adding
to CASH and RECEIVABLE and a credit adding to HOLDS, AVAILABLE and
INCOMING. balanceImpact and balanceAfter summarize those accounts:
posted is CASH, pendingIn is RECEIVABLE and pendingOut is
HOLDS. A correction never changes an entry: it adds a CORRECTION entry
that reverses the lines it replaces, followed by the corrected entry.
A journal holds only the financial account’s own books: movements within
the account and its cards’ accounts. Movements between accounts outside
them, such as treasury accounts, never appear. Money that crosses into or
out of the account is recorded as its receipt or payment, balanced within
its own ledger accounts, without the other side’s postings. A move between
the account and one of its cards changes none of its balances, so it is a
FUNDING entry with an amount of zero whose lines cancel out.
On a credit account, what the account owes is settled money below zero:
a purchase lowers CASH, and a return, a reversal after settlement or a
repayment raises it. The credit the card issuer extends is the account’s
own CREDIT_LINE, the balancing side of a credit limit change, so the
card issuer’s books for the credit it extends never appear.
The journal is available only for financial accounts enabled for it;
others are refused with NOT_ELIGIBLE.
Authentication
Access token from POST /access-token. Valid for at most 30 minutes.
Headers
The account holder a platform API key acts on. Platform keys must send it on account holder operations. A company API key acts on its own account holder; it may omit the header or send its own account holder ID.
Your own correlation ID for this request. It is recorded with the request. The X-Request-Id response header is always generated by the server.
Query parameters
Only entries with a greater sequence. Leave it out, or send 0, to start from the first entry.
Only entries up to and including this sequence. Leave it out on the first page and send back the response’s pageInfo.throughSequence on every later page. It cannot be greater than the newest entry’s sequence.
Response headers
Remaining budget for each rate limit policy, for example "burst"; r=57; t=6 (requests remaining and seconds until the window resets).
The rate limit policies applied to this request, for example "burst"; q=60; w=10 (requests allowed per window of seconds).