Skip to main content
POST
Create Checkout Session
Creates a Stripe Checkout session for the organization to subscribe to a pricing plan. Returns a session URL to redirect the user to Stripe’s hosted checkout page.

Auth

Requires a valid Bearer token. User must be a member of the organization.

Path Parameters

string
required
Organization identifier.

Request Body

string
required
Stripe Price ID for the plan to subscribe to (e.g., "price_1abc123").
string
URL to redirect to after successful checkout. Must match the configured application origin.
string
URL to redirect to if the user cancels checkout. Must match the configured application origin.

Response

boolean
Always true on success.
object

Example