createOrgBillingCheckout
Start a Stripe Checkout to put the org on a paid plan, {"plan":"pro"} for an individual or {"plan":"team"} for a company, and answer the URL of the payment page for a person to open. The org's plan changes once Stripe reports the payment. An org that already pays is refused; change its plan in the billing portal. Takes manageBilling on the org.
POST
/orgs/{org_id}/billing/checkoutPath parameters
Request body JSON required
Returns
400
InvalidRequest | RequestBodyTooDeep
JSON
One of the following:
- InvalidRequestEncoded
- RequestBodyTooDeepEncoded
403
Forbidden | ForbiddenOrigin | RequiresPersonalSession | RunBranchRequired
JSON
One of the following:
- ForbiddenEncoded
- ForbiddenOriginEncoded
- RequiresPersonalSessionEncoded
- RunBranchRequiredEncoded
413
RequestBodyTooLarge
500
OrgFailure | ControlPlaneFailure
JSON
One of the following:
- OrgFailureEncoded
- ControlPlaneFailureEncoded
503
BillingNotConfigured | SessionUnavailable | RateLimitUnavailable
JSON
One of the following:
- BillingNotConfiguredEncoded
- SessionUnavailableEncoded
- RateLimitUnavailableEncoded