curl --request GET \
--url https://app.sendmux.ai/api/v1/billing/transactions \
--header 'Authorization: Bearer <token>'{
"ok": true,
"data": [
{
"id": "tx_clxxxxxxxxxxxxxxxxxxxxxxxxx",
"amount": "-0.001500",
"type": "PURCHASE",
"description": "<string>",
"quantity": 123,
"balance_before": "<string>",
"balance_after": "<string>",
"created_at": "<string>"
}
],
"pagination": {
"has_more": true,
"next_cursor": "<string>"
},
"meta": {
"request_id": "<string>"
}
}Returns 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.
curl --request GET \
--url https://app.sendmux.ai/api/v1/billing/transactions \
--header 'Authorization: Bearer <token>'{
"ok": true,
"data": [
{
"id": "tx_clxxxxxxxxxxxxxxxxxxxxxxxxx",
"amount": "-0.001500",
"type": "PURCHASE",
"description": "<string>",
"quantity": 123,
"balance_before": "<string>",
"balance_after": "<string>",
"created_at": "<string>"
}
],
"pagination": {
"has_more": true,
"next_cursor": "<string>"
},
"meta": {
"request_id": "<string>"
}
}Documentation Index
Fetch the complete documentation index at: https://docs.sendmux.ai/llms.txt
Use this file to discover all available pages before exploring further.
Sendmux API key. Obtain from the dashboard under API Keys. Format: smx_root_...
Pagination cursor — the next_cursor from the previous response.
Max results (default 25, max 100)
1 <= x <= 100PURCHASE, USAGE, AUTO_TOPUP, REFUND, ADJUSTMENT Transaction list
true Hide child attributes
Transaction public ID
"tx_clxxxxxxxxxxxxxxxxxxxxxxxxx"
DECIMAL(19,6) amount
"-0.001500"
PURCHASE, USAGE, AUTO_TOPUP, REFUND, ADJUSTMENT Item count (for USAGE transactions)
ISO 8601 timestamp
Was this page helpful?