Billing
Your plan, seats, usage this period, and whether new calls are stopped
GET /v1/billing billing:read
Responses
- 200
The billing status
Fields
-
dataBillingStatus requiredFields
-
enabledboolean required -
exemptboolean required -
plan"build" | "team" | "scale" | null required -
interval"month" | "year" | null requiredHow the plan bills. Null: no plan yet
-
statusstring required -
stopped"billing_required" | "billing_past_due" | "billing_disputed" | "usage_limit_reached" | "plan_has_no_seats" | "test_cap_reached" | null requiredWhy new live calls are stopped. Null: they are not
-
seatsobject required -
nextChargeCentsnumber | null requiredThe renewal at today’s seats, before tax and any discount. Null: none coming
-
overageCentsnumber requiredPast the allowance so far this period
-
currentPeriodEndstring | null required -
cancelAtstring | null required -
usagePeriodEndstring | null required -
spendCapCentsnumber | null required -
usageobject[] required
-
-
- 400
Invalid request
- 401
Missing or invalid API key
- 404
Not found
- 429
rate_limited, or another limit named byerror.code