By the end of this lesson you will know how refunds work and how your app records them, how to check that your records match Razorpay's money, and the exact steps to take a client's account live without leaking a single key.
You need: the verified payments and webhook from lesson 4, and later, your client (the business owner) next to you for the live switch · Time: 9 minutes
Sooner or later Meera says: "Rohit can't come, please return his ₹499." A refund sends money from a captured payment back to the customer's card, bank or UPI account.
- Full or partial. A full refund returns everything. A partial refund returns part of it, for example ₹249 if her policy keeps half. You can do several partial refunds, as long as the total is not more than what was captured.
- Speed. A normal refund reaches the customer in 5 to 7 working days. Razorpay also offers faster refunds (the API calls this speed
optimum, and the Dashboard shows instant refunds); they may cost extra, so check the pricing page with the client. - Time limit. Normal refunds are not possible for payments older than 6 months.
- Who does it. Usually the client, from the Razorpay Dashboard: open the payment under Transactions → Payments and use its refund option. Your app can also refund with the API (
POST /v1/payments/{payment_id}/refund, withamountin paise for a partial refund), but only add that button for an admin, behind a server check.
Match them Match each situation with the right refund
Tap an item on the left, then its meaning on the right.
Why?The refund rules are the client's business decision and belong on their Cancellation/Refund policy page. Your job is to make the app record refunds correctly, not to decide them.
Log in free to read the rest of this lesson
Every lesson is free. A free account unlocks all of them and saves your progress.
Still to come in this lesson:
- Record refunds from webhooks
- When payments get stuck
- Reconciliation: do the records match the money?
- Go live with the client's account
- Pre-launch check, then launch
- Recap