billing

Create a Stripe Embedded Checkout Session for the given tier. Lazily creates the user's Stripe customer on first call.

Changed on
post/api/billing/checkout

Request

  • The document declares no server URL.
  • Auth: none declared

Request body

tierstring required

Tier slug: "base" | "mid" | "high".

Response

Checkout session created

client_secretstring required

Pass to the Stripe Embedded Checkout React component.

Changes