latestOpenAPI 3.0.32026-08-227451,2751.8 MB

d0fc0114da66

Billing

Unsubscribe Account from all billing plans

Sets the billing details for an account

delete/billing/accounts/{account_id}/subscription

Path parameters

account_idstring required

ID of the Account to perform the Subscription update

Query parameters

prorateboolean

If true, will generate a prorated invoice item that credits remaining unused time until the Subscription period end

invoice_nowboolean

If true, will generate a final invoice that invoices for any un-invoiced metered usage and new/pending proration invoice items

cancel_at_period_endboolean

If true, will cancel the Subscriptions at the end of the current billing period

Response

Success

idstring

The ID of the DailyExecutionUsage

disabledboolean

True if the account has been manually disabled; false/undefined otherwise

disabled_last_updated_timeinteger

Time at which the disabled flag was last updated

disabled_last_updated_by_idstring

The ID of the user who last updated the disabled flag

namestring

The name of the account

stripe_customer_idstring

Legacy billing accounts only -- The ID of customer in stripe

company_idstring

The id of the company that owns the account

customer_namestring

DEPRECATED - The name of the customer

has_completed_additional_trial_infoboolean

flag indicating wether the user who created this account has completed the additional information required when authenticating with google

free_trial_start_timeinteger

Legacy billing accounts only -- time free trial started in epoch time

free_trial_end_timeinteger

Legacy billing accounts only -- time free trial ends in epoch time

subscription_start_timeinteger

Legacy billing accounts only -- time the user first subscribed

subscription_end_timeinteger

Legacy billing accounts only -- time the user's subscription ends

mabl_plan_type'enterprise' | 'enterprise_5000' | 'enterprise_10000' | 'enterprise_20000' | 'enterprise_50000' | 'essentials' | 'growth' | 'pay_as_you_go' | 'pro' | 'seed' | 'startup' | 'trial' | 'core_migrated'

The plan type this user is currently subscribed to

mabl_subscription_period'monthly' | 'quarterly' | 'yearly'

The period of the subscription

allocated_test_runsinteger

Legacy billing accounts only -- The number of browser test runs allocated to this account by its subscription

allocated_api_runsinteger

Legacy billing accounts only -- The number of API test runs allocated to this account by its subscription

allocated_a11y_runsinteger

Legacy billing accounts only -- The number of a11y step runs allocated to this account by its subscription

performance_subscription_start_timeinteger

Legacy billing accounts only -- time the user first subscribed to performance testing feature

allocated_performance_minutesinteger

Legacy billing accounts only -- The amount of performance virtual user-minutes allocated to this account by its subscription. This allocation represents the "soft cap" after which overages will be incurred and is purely informational. The performance "hard cap" can be found in the workspace quota under allocations => performance.

api_steps_billableboolean

Legacy billing accounts only -- If true, API steps in browser tests will count toward API overages; otherwise only API test requests will be counted

effective_featuresstring[]

Computed set of all features that this account has access to

granted_featuresstring[]

Set of additional features that should be included in 'effective_features' regardless of plan type

excluded_featuresstring[]

Set of features that should be excluded from 'effective_features' regardless of plan type; overrides granted_features.

created_timeinteger

Time at which the account was created

created_by_idstring

The ID of the user who created this account

last_updated_timeinteger

Time at which the account was last updated

last_updated_by_idstring

The ID of the user who last updated this account