ReturnHQ and Razorpay integration

Payments and refunds

Yes. ReturnHQ connects to Razorpay, the payment gateway and RazorpayX payouts, for Indian D2C stores on Shopify. ReturnHQ collects the return or exchange fee from the customer through a hosted Razorpay Payment Link when Razorpay is the chosen fee collector.

Does ReturnHQ work with Razorpay?

Yes. ReturnHQ connects to Razorpay, the payment gateway and RazorpayX payouts, for Indian D2C stores on Shopify. ReturnHQ collects the return or exchange fee from the customer through a hosted Razorpay Payment Link when Razorpay is the chosen fee collector. It confirms the return automatically when Razorpay reports the payment link as paid. It sends COD refunds as a RazorpayX payout link: the customer opens it and chooses UPI or bank transfer, and the money is paid from the merchant's RazorpayX account.

What ReturnHQ does with Razorpay

  • Collects the return or exchange fee from the customer through a hosted Razorpay Payment Link when Razorpay is the chosen fee collector.
  • Confirms the return automatically when Razorpay reports the payment link as paid.
  • Sends COD refunds as a RazorpayX payout link: the customer opens it and chooses UPI or bank transfer, and the money is paid from the merchant's RazorpayX account.
  • Checks the RazorpayX balance first and refuses to send a payout link the balance cannot cover, with a message to top up.
  • Shows the Razorpay payment id, method and status on the request page, read from the merchant's own Razorpay account.

Razorpay integration at a glance

CategoryPayments and refunds
What it ispayment gateway and RazorpayX payouts
What you connect withKey ID and Key Secret (Razorpay Dashboard, Settings, API Keys); the RazorpayX account number for COD refund payouts; a webhook secret, generated in ReturnHQ, only when collecting fees
Razorpay websiterazorpay.com

How to connect Razorpay to ReturnHQ

  1. In ReturnHQ, open Settings, Integrations, Razorpay.
  2. Paste the Key ID and Key Secret from Razorpay Dashboard, Settings, API Keys.
  3. To send COD refunds, tick Preferred For Payout and enter the RazorpayX account number (RazorpayX Dashboard, Settings, Banking).
  4. To collect fees, generate the webhook secret on the card, then in Razorpay go to Settings, Webhooks, Add new webhook, paste the webhook URL and secret, and select the payment_link.paid event.
  5. Open Settings, Fees, and choose Razorpay under "Collect customer fees through".

Good to know

  • Payout links need a RazorpayX account and its account number; API keys alone are not enough.
  • Fee collection through Razorpay cannot be saved without the webhook secret, because paid fees would not confirm returns automatically.
  • ReturnHQ does not track whether a Razorpay payout link was claimed after it was sent.

Questions about ReturnHQ and Razorpay

Does ReturnHQ work with Razorpay?

Yes. ReturnHQ connects to Razorpay, the payment gateway and RazorpayX payouts, for Indian D2C stores on Shopify. ReturnHQ collects the return or exchange fee from the customer through a hosted Razorpay Payment Link when Razorpay is the chosen fee collector. It confirms the return automatically when Razorpay reports the payment link as paid. It sends COD refunds as a RazorpayX payout link: the customer opens it and chooses UPI or bank transfer, and the money is paid from the merchant's RazorpayX account.

What do I need to connect Razorpay to ReturnHQ?

Key ID and Key Secret (Razorpay Dashboard, Settings, API Keys); the RazorpayX account number for COD refund payouts; a webhook secret, generated in ReturnHQ, only when collecting fees. You add them in ReturnHQ under Settings, Integrations, Razorpay, and ReturnHQ uses your own Razorpay account, so your existing rates and terms stay as they are.

What should I know before using Razorpay with ReturnHQ?

Payout links need a RazorpayX account and its account number; API keys alone are not enough. Fee collection through Razorpay cannot be saved without the webhook secret, because paid fees would not confirm returns automatically. ReturnHQ does not track whether a Razorpay payout link was claimed after it was sent.

Other payment and refund integrations

All ReturnHQ integrations · Install ReturnHQ from the Shopify App Store