v2

latestOpenAPI 3.1.02026-08-014610794.4 KB
billing

Create a Stripe Checkout Session

Creates a Checkout Session for a trial-only workspace to purchase a subscription plan. The workspace must not already have an active Stripe subscription.

post/api/v1/workspaces/{workspace_id}/billing/checkout

Path parameters

workspace_idstring uuid4 required

Request body

priceIdstring required
returnUrlstring uri required

Response

Successful Response

sessionUrlstring uri required