2.
Check the merchandiseCredit.status field in the EVO Cloud response. If the value is Success, the refund was successful. If not, review the result.code and result.message to review the reason for the failure.
3.
If you do not receive a response from EVO Cloud, you should use the GET Merchandise Credit to query the transaction result. Upon receiving the query response, check the merchandiseCredit.status field to determine the result, using the same method as in step 2. If the transaction failed, review the merchandiseCredit.failureCode and merchandiseCredit.failureReason to understand the failure reason.
4.
If you included a webhook in the POST Merchandise Credit request, you can also receive the transaction result via asynchronous notification. Similarly, use the merchandiseCredit.status field to determine the result, following the same method as in step 2.