v2

latestOpenAPI 3.1.02026-08-06714865.6 KB
billing

Get Billing State

Snapshot of plan + current-period usage for the dashboard.

get/api/billing/state

Response

Successful Response

plan_tierstring required
subscription_statusstring required
pro_enabledboolean required
can_manage_billingboolean required
monthly_price_centsinteger required
monthly_mb_includedinteger required
overage_per_gb_centsinteger required
used_bytesinteger required
period_startstring date-time nullable required
period_endstring date-time nullable required
trial_ends_atstring date-time nullable required
cancel_at_period_endboolean required
has_subscriptionboolean
has_customerboolean