Billing

Create Stripe Checkout session (alias for /billing/create-checkout)

post/v1/billing/checkout

Request

  • Base URL: https://api.sprixen.com
  • URL: https://api.sprixen.com/v1/billing/checkout
  • Auth: bearer (a scheme the document does not define)

Request body

successUrlstring

URL to redirect after successful payment

cancelUrlstring

URL to redirect if checkout is cancelled

Example request

{
  "successUrl": "http://localhost:3000/billing/success",
  "cancelUrl": "http://localhost:3000/billing/cancel"
}

Response

Checkout URL returned

Changes

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