Create checkout session
POST/api/billing/checkout
x-audience: "session"
Browser session only, signed-in account owner. Origin must exactly match the configured application origin. Creates hosted Stripe Checkout for Starter or Growth.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 409
- 429
- 503
Success
Missing or invalid plan.
Missing, invalid or revoked credentials.
Required scope or account access missing.
account missing.
Existing subscription/conflicting billing operation where applicable.
Shared client-IP or account request allowance exhausted. Retry after the indicated number of seconds. Browser authentication errors can use a different response format.
Response Headers
Cache-Control
no-store
Retry-After
Seconds to wait before retrying.
Billing/provider unavailable. Shared request limiting can also return 503 rate_limit_unavailable with Cache-Control: no-store.
Response Headers
Cache-Control
Request limiter responses use no-store.