Billing
User
Create a subscription Checkout session
Requires a Secure, SameSite browser session and X-CSRF-Token. Trial policy is server-owned: clients cannot send trial_days or no_default_trial. Idempotency is scoped to user, plan and billing period before Stripe.
post/api/v1/checkout
Headers
X-CSRF-Tokenstring required
Fresh token returned by GET /api/v1/user/me for this authenticated session.
Idempotency-Keystring
Request body
Response
Checkout URL and Stripe session id
Changes
Changed in 1 of the 3 revisions of this API.1
- ○
endpoint added
endpoint-added
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○