Returns the current team balance and auto top-up configuration.
cURL
curl --request GET \ --url https://app.sendmux.ai/api/v1/billing/balance \ --header 'Authorization: Bearer <token>'
{ "ok": true, "data": { "balance": "45.230000", "balance_purchased": "100.000000", "balance_consumed": "54.770000", "currency": "USD", "auto_topup": { "enabled": true, "threshold": "10.000000", "amount": "50.000000", "monthly_limit": "200.000000", "monthly_used": "50.000000" } }, "meta": { "request_id": "req_clxxxxxxxxxxxxxxxxxxxxxxxxx" } }
Sendmux API key. Obtain from the dashboard under API Keys. Format: smx_root_...
Current balance
true
Hide child attributes
Current balance (purchased - consumed)
"45.230000"
"100.000000"
"54.770000"
USD
"10.000000"
"50.000000"
"200.000000"
"req_clxxxxxxxxxxxxxxxxxxxxxxxxx"
Was this page helpful?