Tizondocs
ReferenceAccount

List the account's statement

GET
/v1/account/ledger

Every movement on the account's two balances in the key's mode, newest first: the wallet, which it spends from, and the Revenue Centre, which holds what it has earned. Each line says which balance moved and what that balance was left at, so the statement reads the same way a bank statement does.

A line that belongs to an order carries the order: what the account was charged, what it earned on it and the rate that earned it. earned is this account's own share of the price. What Tizon paid its supplier is not part of any response, here or anywhere else (adr/0033).

Authorization

ApiKey
AuthorizationBearer <token>

An account API key, sent as Authorization: Bearer tz_live_…. The prefix selects the mode: tz_test_ for sandbox, tz_live_ for real money.

In: header

Query Parameters

limit?integer

Maximum items to return.

Range1 <= value <= 100
Default20
cursor?string

The next_cursor from a previous page.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v1/account/ledger"
{  "object": "list",  "has_more": true,  "next_cursor": "string",  "data": [    {      "id": "string",      "object": "account_ledger_entry",      "balance": "wallet",      "type": "credit",      "source": "deposit",      "amount": {        "amount": 1450,        "currency": "USD"      },      "balance_after": {        "amount": 1450,        "currency": "USD"      },      "order": {        "id": "string",        "status": "pending",        "price": {          "amount": 1450,          "currency": "USD"        },        "earned": {          "amount": 1450,          "currency": "USD"        },        "commission_rate_bps": 0      },      "description": "string",      "created_at": "2019-08-24T14:15:22Z"    }  ]}