WoyraDocs
Get an API key

The account statement

GET/v1/ledger

Billing · Requires an API key

The ledger is append-only, so this is a genuine history rather than a rendering of current state: every reservation, settlement and release appears. That is what makes a disputed charge answerable.

Parameters

NameInDescription
limitquery
cursorqueryThe next_cursor from the previous page.

Example

curl https://api.woyra.io/v1/ledger \
  -H "Authorization: Bearer $WOYRA_KEY"

Response

200 A page of ledger transactions.

FieldTypeDescription
object"list"
dataarray of LedgerEntry
has_moreboolean
next_cursorstring

Also in Billing