Refund API

Create a refund for an Order.

Refunds can be initiated directly to the amount debited source or other payment modes with payouts. This API supports both refunds and Payout for Juspay orders.

Refunds/Payouts can be initiated only for transactions that are CHARGED. The response of refund/payout initiation is similar to that of order status API Response with the addition of refunds block.

Note

Either txn_id or order_id has to be passed in request.

API Endpoints
Sandbox Link
POST
https://sandbox.juspay.in/refunds
Production Link
POST
https://api.juspay.in/refunds
Authorization Header
Headers
Body
200 : Success
400 : Invalid Input data
401 : Authentication Failed
Last updated 9 months ago