latestOpenAPI 3.0.32026-08-227451,2751.8 MB

d0fc0114da66

Account

update account with billing details

Sets the billing details for an account

put/accounts/{account_id}/billing

Path parameters

account_idstring required

The id of the account to retrieve

Request body

company_namestring

The name of the customer

cardholder_namestring

The name of the cardholder

emailstring

The billing email

phonestring

The phone number of the customer

credit_card_idstring

Identifier for the credit card

address1string

The first line of the address

address2string

The second line of the address

citystring

The city

statestring

The state/province

countrystring

The country

postal_codestring

The zip/postal code

mabl_plan_typestring

The plan type this user is currently subscribed to

mabl_subscription_periodstring

The period of the subscription

coupon_codestring

A coupon code to apply to this subscription

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