2.
Check the refund.status field in the EVO Cloud response. If the value is Success, the refund was successful; otherwise, you need to check result.code and result.message to determine the reason for the transaction failure.
3.
If you do not receive a response message from EVO Cloud, you need to call GET Refund to query the transaction result. Upon receiving the query response, you also need to review the transaction result using the refund.status field as in step 2. If the transaction failed, refer to refund.failureCode and refund.failureReason for details on the failure.
4.
If you included a webhook in your POST Refund request, you can also obtain the transaction result through asynchronous notification. Again, assess the transaction result using the refund.status field in the same manner as in step 2.