Paginated credit ledger history

1 min readEdit this page
GET
/v1/billing/transactions

Credit ledger entries (topups, usage debits, refunds), newest first. amount_micro_usd is signed: positive for credits, negative for debits.

Requires the billing:read scope.

Authorization

x-api-key<token>

Anthropic-style API key header.

In: header

Query Parameters

limit?string

Page size. Default 25, max 100.

offset?string

Offset within the newest-first listing.

Response Body

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v1/billing/transactions"
{}
{  "error": {    "code": "string",    "message": "string"  }}
{  "error": {    "code": "string",    "message": "string"  }}
{  "error": {    "code": "string",    "message": "string"  }}

How is this guide?