Refund

Provide a full or partial refund on a Sale or Capture


A refund can be issued against a Sale or Authorization transaction that has already settled (batched). This function returns funds to the card holder for equal or less value than the original Sale/Capture transaction.

🚧

Note:

If the original sale or authorization is not settled (batched) and you want to cancel the transaction completely use the Void endpoint.

Parameters

The following parameters are available to process refunds.

parameterdescriptionrequired
midthe Merchant ID (MID) assigned by QorCommerce or your merchant service provider (MSP)Yes
reference_idA reference id that will be echo'd back in the message response.No
amountthe total amount to refundYes - only if partial amount requested
transaction_idthe unique transaction_id from the original sale or authorizationYes
metadataa set of key-value pairs that you can attach to a payment. This can be useful for storing additional information about the payment in a structured format.No

Response Codes

Language
Click Try It! to start a request and see the response here!