accounts
Create account.
Create a new account.
post/v1/accounts/create
Request body
idstring nullable
The account ID. If not supplied, a new one will be created.
namestring required
The account name.
tier'ACCOUNT_TIER_INVALID' | 'ACCOUNT_TIER_BASIC' | 'ACCOUNT_TIER_PRO' | 'ACCOUNT_TIER_ENTERPRISE' | 'ACCOUNT_TIER_TRIAL' | 'UNRECOGNIZED' required
account_status'ACCOUNT_STATUS_INVALID' | 'ACCOUNT_STATUS_ONBOARDING' | 'ACCOUNT_STATUS_ENABLED' | 'ACCOUNT_STATUS_DISABLED_BY_ADMIN' | 'ACCOUNT_STATUS_DISABLED_QUOTA_REACHED' | 'UNRECOGNIZED' required
stripe_customer_idstring nullable
The Stripe customer ID.
active_subscriptionstring nullable
The active subscription ID.
Response
OK
idstring required
The account ID.
namestring required
The account name.
tier'ACCOUNT_TIER_INVALID' | 'ACCOUNT_TIER_BASIC' | 'ACCOUNT_TIER_PRO' | 'ACCOUNT_TIER_ENTERPRISE' | 'ACCOUNT_TIER_TRIAL' | 'UNRECOGNIZED' required
account_status'ACCOUNT_STATUS_INVALID' | 'ACCOUNT_STATUS_ONBOARDING' | 'ACCOUNT_STATUS_ENABLED' | 'ACCOUNT_STATUS_DISABLED_BY_ADMIN' | 'ACCOUNT_STATUS_DISABLED_QUOTA_REACHED' | 'UNRECOGNIZED' required
created_atstring required
The account creation timestamp.
stripe_customer_idstring nullable
The Stripe customer ID.
active_subscriptionstring nullable
The active subscription ID.