Subscribe to a plan or change plans
POST/api/v1/accounts/:account_id/billing/checkout
Subscribing and changing are different outcomes. A first subscription
answers with a client_secret for the payment screen; a plan change on an
account that already pays is applied directly and answers saying so.
The provider's webhook settles what actually happened — read the billing endpoint back rather than trusting this response as final.
Administrators only. Whoever pays the account is who may change it, and an agent has no business seeing the company card — the check is here in the API, not just hidden in the menu.
Request
Responses
- 200
- 403
- 422
Success
Not an administrator
The plan was not found or is not published, or the provider refused