Checkout
Initiate Checkout Payment
Create a gateway payment order for an unpaid invoice
POST
Initiate payment for an invoice
This is a public, rate-limited endpoint used by the hosted checkout page. No authentication is required.
gateway: "stripe"— mount the Stripe Payment Element withclient_secretandpublishable_key, confirm client-side, then verify viaGET /checkout/{id}/success.gateway: "razorpay"— open the Razorpay Checkout.js modal withorder_idandrazorpay_key_id, then verify viaPOST /checkout/{id}/razorpay/verify.
Path Parameters
Example Request
Response (Stripe-routed currency)
Response (INR / Razorpay-routed)
Errors
See Errors for the error envelope and the full code taxonomy.
Initiate payment for an invoice