payments

Create Razorpay Subscription

Create a Razorpay subscription for the user and return the IDs the frontend needs to open Razorpay Checkout JS.

Access is NOT granted here. The plan activates in /razorpay/verify (after the user completes checkout) or via the webhook.

post/payments/razorpay/create-subscription

Request

  • Base URL
    https://api.oxlo.ai (the document declares no server; this is the origin it was published from)
  • URL
    https://api.oxlo.ai/payments/razorpay/create-subscription
  • Auth
    HTTP bearer

Request body

planstring required

Response

Successful Response

subscription_idstring required
key_idstring required
planstring required
amount_inrinteger nullable

Changes

No recorded changes to this operation across all 1 revision of this API.