Initiate Refund

Use this API to do a partial or full refund of the payment made for the order.

Click to view the detailed response parameters and response codes.

Response Parameters

Parameter

Description

status

Status of API call. Values are - OK and ERROR

message

A message saying if the transaction was refunded or not.

reason

Reason for failure when the status is ERROR

Response Codes

Sub Code

Status

Description

400

ERROR

Refunds cannot be initiated after 180 days of the transaction.

400

ERROR

Duplicate Merchant Refund Id.

400

ERROR

Can't process this refund. Please check transaction status for this transaction.

400

ERROR

Total refund cannot be greater than the refundable amount.

400

ERROR

Refunds for this payment mode are not supported.

Language