payment.status with Captured or Authorised , you can make an HTTP POST request from your server to EVO Cloud endpoint| Query Parameter | Required | Description |
|---|---|---|
merchantTransID | M | The merchantTransInfo.merchantTransID of the initial payment. |
| Body Parameter | Required | Description |
|---|---|---|
merchantTransInfo | M | The reference for the refund, including a unique merchantTransID and merchantTransTime to specify the time you initiate the request. |
transAmount | O | The currency and value of the refund payment. The value must follow the currency's minor unit. |
initiatingReason | O | You can state the reason for this request in this field. |
webhook | O | The URL to receive notification. Specify this to get the notification from EVO Cloud after the payment succeeds. |
metadata | O | A self-defined reference information that you can specify in the request and will be echoed back in the response. |
cancel.status or refund.status: The status of the capture, required. The value can be Success, Failed, or Received. If you get a XXX.status with Received, you need to either make another HTTP GET request to get the final status of the capture (see Step 2 for more details), or wait for the notification webhook from EVO Cloud.cancelOrRefund: Used to indicate the transaction has been refunded or canceled.refund.status or cancel.status with Received and you don't use the notification webhook, you can retrieve the final result from EVO Cloud.| Query Parameter | Required | Description |
|---|---|---|
merchantTransID | M | The merchantTransInfo.merchantTransID of the initial cancel or refund. |