Complete Workflow: Handling a Customer Refund
1. Executive Workflow Summary & Architecture
Issuing a refund is the final financial resolution of an unfulfilled or returned transaction. Whether handling a customer-requested cancellation prior to shipment or reconciling a completed product return, executing refunds with accuracy and speed preserves merchant reputation and minimizes payment gateway chargeback disputes.
| Refund Channel | Operational Execution Path | Settlement Timeline | Customer Notification |
| Razorpay Automated | 1-Click reversal via admin panel | Instant to 5 business days | Gateway bank reference SMS |
| UPI Instant Route | Direct reversal to payer VPA | Under 2 business hours | Bank UTR confirmation |
| COD Bank Transfer | Direct IMPS payout from business portal | Same-day payout | Merchant receipt screenshot |
| Store Credit Voucher | Instant digital discount code issued | Immediate availability | Promotional voucher email |
2. Step-by-Step Administrative Execution
Step 1: Access Order & Select Refund Type
1. Log into the Shopiators Admin Console and navigate to Orders.
2. Select the order requiring reimbursement.
3. Click the Issue Refund button inside the top action bar.
4. Choose between:
– Full Refund: Returns the entire transaction amount including item costs, taxes, and shipping fees.
– Partial Refund: Deducts reverse freight costs or restocking fees as dictated by your store terms.

Step 2: Execute Payment Gateway Reversal (Prepaid Orders)
1. For orders paid via Razorpay, confirm the Refund via Razorpay checkbox is ticked.
2. Input the exact refund amount (e.g., ₹1,299).
3. Select the refund reason from the dropdown (e.g., *Customer Cancellation*, *Defective Item*, *Return Approved*).
4. Click Confirm Refund. The API transmits an automated reversal command to the customer’s issuing bank.
Step 3: Execute Direct Disbursement (COD Orders)
1. Because cash was collected at the doorstep, COD refunds cannot reverse automatically through a gateway.
2. Request the customer’s UPI ID (VPA) or Bank Account Number + IFSC Code via secure email or WhatsApp.
3. Execute the payout via your business banking dashboard.
4. Return to the Shopiators order card, enter the payout UTR / Transaction Reference Number, and mark the order as Manually Refunded.

3. Refund Timelines & Settlement Matrix
| Original Payment Method | Disbursement Mechanism | Customer Credit SLA | Merchant Transaction Fee Policy |
| UPI (Google Pay, PhonePe) | Automated Gateway Reversal | Instant to 2 Business Hours | Gateway processing fee non-refundable |
| Net Banking / Debit Card | Automated Bank Route | 3–5 Business Days | Gateway processing fee non-refundable |
| Credit Card | Automated Statement Credit | 5–7 Business Days | Reverses on upcoming billing cycle |
| Cash on Delivery (COD) | Merchant Direct IMPS/UPI Payout | Within 24 Hours of QC | Standard IMPS bank fee applies |
4. Edge Cases & Gateway Balance Exceptions
⚠️ **CRITICAL GATEWAY BALANCE WARNING:** Automated refunds will fail with error `BAD_REQUEST_ERROR: Insufficient balance in merchant account` if your current unsettled Razorpay balance is less than the refund amount. Maintain a minimum rolling float of ₹5,000 in your merchant payment gateway to ensure uninterrupted refund processing.
• Issue: Customer claims refund was not received after 7 business days
*Cause:* Customer is searching for a credit SMS notification rather than checking their bank account statement.
*Resolution:* Provide the customer with the official Bank Reference Number (ARN / RRN) from the Shopiators order details modal. The customer can provide this 12-digit number to their bank branch to trace the settled credit.
• Issue: Customer provides an invalid UPI ID for COD reimbursement
*Cause:* Typo in VPA handle (e.g., `@okhdfcbank` misspelled).
*Resolution:* Use a bank verification API to validate the recipient account name matches the customer order name before dispatching manual bank funds.

