When to use Checkout
Use Checkout when your customers initiate and pay for their own subscription: a self-serve pricing page, an upgrade flow, or a sign-up gate. If you create subscriptions on behalf of customers from your own backend (after a sales call, from an admin dashboard, or via contract), use the Subscriptions API instead.How it works
Your backend creates a Checkout Session with the customer, plan, and payment provider. Flexprice generates a hosted payment page URL and returns it to you. You redirect the customer there. Once payment is complete, Flexprice activates the subscription and finalizes the invoice. If the customer cancels, the session times out, or the payment fails, Flexprice cleans up all draft records automatically.Choose your payment provider
Each provider has its own setup page with connection instructions, webhook configuration, and test credentials.Razorpay
Accept payments via Razorpay payment links.
Start building
Checkout Sessions API
Create, retrieve, and manage sessions.
Implementation Guide
Backend, frontend redirect, webhook handling, and go-live checklist.
Webhook Events
Subscribe to
checkout.session.* events to trigger fulfillment in your system.Manual Subscriptions
Create subscriptions directly without a payment step.

