Billing
Get current balance
Changed onReturns the current spendable balance.
get/billing/balance
Request
- Base URL: https://app.sendmux.ai/api/v1
- URL: https://app.sendmux.ai/api/v1/billing/balance
- 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)
Response
Current spendable balance
Example response
{
"meta": {
"request_id": "req_clxxxxxxxxxxxxxxxxxxxxxxxxx"
},
"data": {
"auto_topup": {
"amount": "50.000000",
"monthly_limit": "200.000000",
"monthly_used": "50.000000",
"threshold": "10.000000"
},
"balance": "45.230000",
"balance_consumed": "54.770000",
"balance_purchased": "100.000000"
}
}Changes
- info
the endpoint scheme security
oauth2was added to the API
- info