Canceling a refund request

A refund in progress can be canceled as long as it has not been executed (CREATED or PENDING status).


For example:


In case of success, the server responds by a HTTP 204 code (NO CONTENT).

If the refund status does not allow cancellations, the server returns an HTTP 405 error.