List invoices
GET /api/billing/invoices
Returns the authenticated account's prepaid transactions, newest first, using pagination with 50 rows per page. This handler accepts no filter parameters.
Authenticate with a portal session token.
Responses
200 Transactions ordered newest first with pagination metadata (50 rows per page).
application/json object
transactionsobject requiredcurrent_pageinteger requireddataarray of object requiredEach item:
amount_microsinteger requiredExact signed transaction amount in USD micro-dollars; legacy cents-only rows are returned as amount_cents × 10,000.
has_receiptboolean requiredWhether a signed receipt is linked to the usage record for this debit.
amount_centsinteger requiredSigned whole-cent wallet settlement for this transaction. For usage debits the subcent remainder is carried across calls, so this can differ from rounding amount_micros per row.
last_pageintegernext_page_urlstring (uri) or nullper_pageinteger requiredValue:50totalinteger required
Generated sample
{
"transactions": {
"current_page": 0,
"data": [
{
"amount_micros": 0,
"has_receipt": true,
"amount_cents": 0
}
],
"last_page": 0,
"next_page_url": "https://example.com",
"per_page": 50,
"total": 0
}
}401 Missing or invalid bearer token.
application/json object
Any keys are accepted.
403 The caller does not meet the route requirements: accepted Terms of Service and Privacy Policy.
application/json object
Any keys are accepted.
429 The request was rate limited. API-generated responses are JSON;
Response headers
Retry-Afterstring headerSeconds to wait before retrying, when provided.
X-RateLimit-Scopestring headerIdentifies the scope of the request limit, when provided.
application/json GenericError
erroranyOne of
- string
- object
Any keys are accepted.
error_codestringcodestringmessagestringdetailstringstatusanyOne of
- string
- integer
errorsobjectAny keys are accepted.
text/html string