Subscribe, or change the plan or seats
Requires organization:update. Without a current subscription, returns a Stripe Checkout URL. With one, returns a Stripe Customer Portal URL to confirm the change. Asking for the plan and seats already active answers 409. A plan billed per environment minute takes no seats, and the minutes used are billed at the end of each period. The subscription changes once Stripe confirms it, not when the browser returns.
/organizations/{organizationId}/billing/checkoutAuthorizationBearer token (JWT) · headerrequiredAn access token issued by this service (RFC 9068), in the Authorization header as Bearer <token>.
organizationIdstring<uuid>requiredapplication/jsonplanstringA plan name; the default plan when omitted.
seatsintegerLicensed environments, required by a plan priced per seat. A plan billed per environment minute ignores it.
return_urlstring<uri>requiredA console URL Stripe returns to, whether the change completes or not.
The Stripe page to open.
urlstring<uri>requiredThe request failed.
errorstringrequiredStable machine-readable code.
invalid_requestunauthorizedforbiddennot_foundconflictgoneunavailableinternalmessagestringrequiredHuman-readable explanation.