billing

Create a Stripe checkout session

Changed on
post/billing/checkout

Request

  • Base URL: /api (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /api/billing/checkout
  • Auth: none declared

Request body

priceType'one-time' | 'yearly' | 'lifetime' required
editionIdinteger
planIdinteger
successUrlstring
cancelUrlstring

Response

Checkout session

sessionIdstring required
urlstring required

Changes