billing
Create a Stripe Embedded Checkout Session for the given tier. Lazily creates the user's Stripe customer on first call.
Changed onpost/api/billing/checkout
Request
- The document declares no server URL.
- Authnone declared
Request body
Create Checkout Request required
tier, string required
Tier slug: "base" | "mid" | "high".
Response
Checkout session created
Create Checkout Response required
client_secret, string required
Pass to the Stripe Embedded Checkout React component.
Changes
- info
added the non-success response with the status
- info
- info
endpoint added
- info