Organization Billing
Get Credit Balance
Changed onGet current credit balance and tier information.
Returns the organization's credit balance, current tier, and usage statistics. Useful for displaying billing status in dashboards.
Requirements:
- Read permission
Example:
response = await client.get("/v1/organizations/billing/balance")
print(f"Balance: {response['credit_balance']} credits")
print(f"Tier: {response['account_tier']}")
get/v1/organizations/billing/balance
Request
- Base URL: https://api.mixpeek.com
- URL: https://api.mixpeek.com/v1/organizations/billing/balance
- Auth: HTTP bearer
Response
Successful Response
Example response
{
"organization_id": "org_demo123",
"credit_balance": 45230,
"account_tier": "free",
"next_tier": "pro",
"credits_until_next_tier": 954770,
"estimated_days_remaining": 15,
"daily_burn_rate": 3015.3
}Changes
- warning
removed the optional property
from the response with the status - info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the optional property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status
- warning
- info
the endpoint scheme security
BearerAuthwas added to the API
- info