Wallet
List ledger entries
Every movement of money in your wallet.
GET
/v1/ledgerAuthorization
AuthorizationstringheaderrequiredBearer ast_gw_.... The key needs thewallet:readscope.
Lists every movement of money in your wallet, oldest first. Each entry has a sequence number that only goes up.
Query parameters
after_seqinteger- Return entries after this sequence. Default 0.
through_seqinteger- Stop at this sequence. Pass the first page's
snapshot_seqto page through a fixed snapshot. limitinteger- 1 to 100. Default 50.
Response
data[].kindstringfund(top-up),reserve(set aside for a job),capture(charged),release(returned), plusrefund,reversalandadjustment.data[].amountstring- Always positive.
data[].delta_availablestring- Signed change to available funds.
data[].delta_reservedstring- Signed change to reserved funds.
data[].job_idstring | null- The job this entry belongs to.
snapshot_seqinteger- Latest sequence when the page was read.
next_after_seqinteger- Pass as
after_seqfor the next page. has_moreboolean- Whether more entries follow.