Use this API to create a refund for a specific payment transaction. This API allows merchants to process partial or full refunds for successful payment transactions.
Client app ID. You can find your app ID in the Merchant Dashboard.
Client secret key. You can find your secret key in the Merchant Dashboard.
Unique identifier for the payment transaction.
"pay_summer_fashion_001_upi"
Request parameters to create a new refund.
Unique identifier for the refund transaction.
"refund_summer_fashion_001_size_issue"
Amount to be refunded to the customer.
1149.75
Type of refund being processed.
MERCHANT_INITIATED, AUTO_REFUND "MERCHANT_INITIATED"
Additional notes or reason for the refund.
"Customer requested size exchange - partial refund for size difference"
Success response for refund creation.
Unique identifier for the original payment transaction.
"pay_summer_fashion_001_upi"
Unique identifier for the associated order.
"order_summer_fashion_001"
Unique identifier for the refund transaction.
"refund_summer_fashion_001_size_issue"
Amount that was refunded to the customer.
1149.75
Current status of the refund transaction.
"SUCCESS"
Type of refund that was processed.
"MERCHANT_INITIATED"
Additional notes or reason for the refund.
"Customer requested size exchange - partial refund for size difference"
Message describing the refund status or outcome.
"Refund processed successfully. Amount will be credited within 5-7 business days"
Details from the payment gateway regarding the refund.