Checkout
Create Checkout Session
Create a payment provider checkout session for a tenant.
POST
Creates a checkout session with the configured payment provider (Stripe, Khalti, eSewa) and returns a URL to redirect the user to.
Request Body
The Crovver plan ID to subscribe to
The user ID from your application. Required for D2C orgs — becomes the tenant identity.
The workspace/tenant ID. Required for B2B orgs.
Payment provider name (
stripe, khalti, esewa). Defaults to the org’s configured provider.3-letter ISO currency code (e.g.
USD, NPR). Defaults to the plan’s first active price currency.Number of seats to purchase. Required for seat-based plans.
Pre-fills the payment provider’s checkout form with this email.
Pre-fills the payment provider’s checkout form with this name.
URL to redirect to after successful payment. Defaults to the org’s configured success URL.
URL to redirect to if the user cancels checkout. Defaults to the org’s configured cancel URL.
Arbitrary key-value pairs passed through to the payment provider.
Authentication
Requires a secret key (Authorization: Bearer sk_live_...) or service key (x-service-key + ?orgId=).