Billing

Create a checkout session

Create a hosted Stripe Checkout session for first-time subscribe from the terminal. Requires a user credential with billing:manage.

post/billing/checkout-session

Request body

organizationIdstring

Organization to operate on. Auto-filled from CLI and SDK context when omitted. User tokens must supply it unless the credential's fixed scope resolves it; secret keys may omit it (the key's organization applies).

planSlugstring required

Response

OK

sessionIdstring required
checkoutUrlstring uri required

Changes

No recorded changes to this endpoint across all 4 revisions of this API.