Razorpay Refund Handling from WhatsApp

Ask the agent to refund a payment by ID, order ref, or customer name. It looks up the payment, calls the Refunds API, and confirms with the refund ID, speed (instant or normal), and estimated posting time.

WhatsApp DMrefundssupportrest-api

Conversation example

Refund Aman Verma's yoga retreat payment — ORD-00412 — full amount. He had to cancel due to a family emergency.

http_request → Razorpay API

Looking up ORD-00412 and the linked payment...

http_request → Razorpay Refunds API

Found payment pay_N2kLp8qRzT9xHv Amount: ₹4,999 Method: UPI (aman@okaxis) Captured: Apr 12, 10:44 AM Status: captured (refundable) UPI supports instant refund to the source VPA. Processing now...

Refund complete. - Refund ID: rfnd_N3aXt8rQz4 - Amount: ₹4,999 (full) - Speed: instant (UPI) - ETA: typically credited within 15 minutes - ARN: pending (will update on refund.processed webhook) Want me to also send Aman a short, kind WhatsApp note confirming the refund and wishing him well?

More Razorpay use cases

Deploy this in minutes

Create a LunoGen agent, connect Razorpay, and start running this workflow from WhatsApp today.

Back to Razorpay