Account and billing

Create Checkout Session

Create 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 URL: https://epw.tools
  • URL: https://epw.tools/api/billing/checkout
  • Auth: none declared

Headers

X-API-Keystring nullable

Request body

planstring required
success_urlstring required
cancel_urlstring required

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 1 revision of this API.