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

  • Base URL: https://api.sazabi.com/v1
  • URL: https://api.sazabi.com/v1/billing/checkout-session
  • Auth: none declared

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 operation across all 54 revisions of this API.