Checkout
Create Checkout Token
Mint a short-lived JWT to initiate the checkout redirect flow.
POST
Creates a signed JWT that the portal uses to identify the tenant during checkout. The React SDK calls this automatically when you invoke
redirectToCheckout().
Request Headers
Your public key (
pk_live_...)Request Body
The tenant ID from your application
URL to return to after checkout completes
The user ID from your application. Used for D2C tenant auto-provisioning.
Display name for the tenant. Used when auto-provisioning a new tenant.
Pre-selects a plan that includes this feature on the pricing page.
Pre-selects a specific plan ID on the pricing page.
Additional context passed into the JWT. Supports
userEmail, userName, and custom fields.Response
Signed JWT (valid for 10 minutes)
ISO 8601 expiry timestamp
The full portal URL with token appended — redirect the user here