Skip to main content
POST
Create a checkout session

Body

application/json
planSlug
string
required
Required string length: 1 - 100
organizationId
string

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).

Minimum string length: 1

Response

200 - application/json

OK

sessionId
string
required
checkoutUrl
string<uri>
required