Account and billing
Create Checkout Session
Changed onCreate a Stripe Checkout session for purchasing credits. Requires an API key so we know whose account to top up. Returns { checkout_url } to redirect the user to.
post/api/billing/checkout
Request
- Base URLhttps://epw.tools
- Authnone declared
Headers
X-API-Key, string nullable
Request body
Checkout Request required
plan, string required
success_url, string required
cancel_url, string required
withdrawal_waiver, boolean
Response
Successful Response
unknown required
Changes
- warning
changed the pattern of the request property
planfrom^(intro|single|project|(starter|pro|studio)(_monthly|_annual)?)$to^(one|intro|single|project|(starter|pro|studio)(_monthly|_annual)?)$
- warning
- info
added the new optional request property
withdrawal_waiver
- info