Skip to content

Verify Razorpay payment and activate policy

POST
/api/payments/verify

Verifies the Razorpay signature from Checkout success, fetches payment details when needed, and calls process_razorpay_payment_event to activate the weekly policy. Primary path for demos and production after the client receives razorpay_order_id, razorpay_payment_id, and razorpay_signature.

object
razorpay_order_id
required
string
razorpay_payment_id
required
string
razorpay_signature
required
string

Payment verified and policy activated (or already processed).

object
ok
boolean
Example
true