Billing
List transactions
Changed onReturns paginated credit transaction history with optional type filter. Uses cursor-based pagination ordered by created_at descending — pass cursor=<next_cursor> from the previous response to fetch the next page.
get/billing/transactions
Request
- Base URL: https://app.sendmux.ai/api/v1
- URL: https://app.sendmux.ai/api/v1/billing/transactions
- Auth: one of:
- HTTP bearer
- OAuth 2 (authorization code, authorization URL https://app.sendmux.ai/oauth/authorize, token URL https://app.sendmux.ai/oauth/token, scopes: billing.read)
Query parameters
cursorstring
Pagination cursor — the next_cursor from the previous response.
limitinteger
Max results (default 25, max 100)
type'PURCHASE' | 'USAGE' | 'AUTO_TOPUP' | 'REFUND' | 'ADJUSTMENT'
Response
Transaction list
Example response
{
"meta": {
"request_id": "req_clxxxxxxxxxxxxxxxxxxxxxxxxx"
},
"data": [
{
"amount": "-0.001500",
"id": "tx_clxxxxxxxxxxxxxxxxxxxxxxxxx"
}
]
}Changes
- info
the endpoint scheme security
oauth2was added to the API
- info