Skip to main content
The order flow follows a session-based checkout pattern:
  1. Create a checkout session — locks the product version, pricing, and currency
  2. Preview tax — calculates tax based on the customer’s billing details
  3. Create an order — initiates payment and returns a PSP-hosted checkout URL
  4. Cancel an order — cancels a pending (unpaid) order before payment completes

One-Time Order Status Values

Endpoints

Create Checkout Session

Lock product version and pricing for checkout

Preview Tax

Calculate tax before creating an order

Cancel One-Time Order

Cancel a pending order before payment