Wallet

List ledger entries

Every movement of money in your wallet.

GET/v1/ledger

Authorization

Authorizationstringheaderrequired
Bearer ast_gw_.... The key needs the wallet:read scope.

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_seq to page through a fixed snapshot.
limitinteger
1 to 100. Default 50.

Response

data[].kindstring
fund (top-up), reserve (set aside for a job), capture (charged), release (returned), plus refund, reversal and adjustment.
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_seq for the next page.
has_moreboolean
Whether more entries follow.