Skip to main content
GET
/
billing
/
transactions
List transactions
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.

Authorizations

Authorization
string
header
required

Sendmux API key. Obtain from the dashboard under API Keys. Format: smx_root_...

Query Parameters

cursor
string

Pagination cursor — the next_cursor from the previous response.

limit
integer

Max results (default 25, max 100)

Required range: 1 <= x <= 100
type
enum<string>
Available options:
PURCHASE,
USAGE,
AUTO_TOPUP,
REFUND,
ADJUSTMENT

Response

Transaction list

ok
enum<boolean>
required
Available options:
true
data
object[]
required
pagination
object
required
meta
object
required