billing

Get Billing Access

get/v1/billing/access

Query parameters

workspace_idstring uuid required
refresh_subscriptionboolean

Response

Successful Response

workspace_idstring uuid required
has_accessboolean required
sourcestring required
enforcement_enabledboolean required
billing_mode'pending_setup' | 'stripe_checkout' | 'manual' required
is_ontora_staffboolean
subscription_statusstring nullable
subscription_idstring nullable
plan_keystring nullable
subscription_amount_centsinteger nullable
subscription_base_amount_centsinteger nullable
subscription_currencystring nullable
subscription_intervalstring nullable
subscription_interval_countinteger nullable
subscription_discount_appliedboolean
subscription_cancel_at_period_endboolean
trial_ends_atstring date-time nullable
current_period_endstring date-time nullable
access_ends_atstring date-time nullable
is_testerboolean

Changes

No recorded changes to this endpoint across all 1 revision of this API.