List wallet transactions
const url = 'https://api.trueproxies.com/v1/wallet/ledger?limit=25';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://api.trueproxies.com/v1/wallet/ledger?limit=25' \ --header 'Authorization: Bearer <token>'Paginated immutable wallet movements, separate from the cash ledger. Resellers need reseller:read; other customers need billing:read. A ref_type of surplus is the rest of a minimum payment. No on-behalf access.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”Responses
Section titled “Responses”Success
object
object
The account’s own invoice behind this movement; absent for admin adjustments and for a reseller’s managed customers’ invoices.
Reference of the invoice behind this movement (a payment, its minimum-payment surplus, a refund), such as INV-001234.
What the movement refers to: invoice, surplus (the rest of a minimum payment), refund, refund_reservation, refund_release, dispute_won or audit (an admin adjustment).
Example
{ "items": [ { "kind": "wallet_topup" } ]}Error
object
What a client needs to act on the error (ids, flags), never display text.
object
Example
{ "code": "BAD_REQUEST"}Error
object
What a client needs to act on the error (ids, flags), never display text.
object
Example
{ "code": "BAD_REQUEST"}Error
object
What a client needs to act on the error (ids, flags), never display text.
object
Example
{ "code": "BAD_REQUEST"}Error
object
What a client needs to act on the error (ids, flags), never display text.
object
Example
{ "code": "BAD_REQUEST"}Error
object
What a client needs to act on the error (ids, flags), never display text.
object
Example
{ "code": "BAD_REQUEST"}Error
object
What a client needs to act on the error (ids, flags), never display text.
object
Example
{ "code": "BAD_REQUEST"}Error
object
What a client needs to act on the error (ids, flags), never display text.
object
Example
{ "code": "BAD_REQUEST"}Error
object
What a client needs to act on the error (ids, flags), never display text.
object
Example
{ "code": "BAD_REQUEST"}default
Section titled “default”Error
object
What a client needs to act on the error (ids, flags), never display text.
object
Example
{ "code": "BAD_REQUEST"}