payments

Verify Razorpay Payment

Verify the signature Razorpay Checkout returns after a successful payment, then activate the plan.

The webhook (subscription.activated / invoice.paid) is the fallback source of truth if the user closes the tab before this call fires.

post/payments/razorpay/verify

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/verify
  • Auth
    HTTP bearer

Request body

razorpay_payment_idstring required
razorpay_subscription_idstring required
razorpay_signaturestring required

Response

Successful Response

successboolean required
planstring required
statusstring required
current_period_endstring date-time nullable

Changes

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