Skip to main content

Cancel a Transfer

To cancel a Transfer, you will use the /ws/transfer/cancel endpoint.

There are 4 options you can use to consult single a Transferyout, the EBANX unique identifier (uid), which is generated during the creation of the payout, the unique identifier provided by the Merchant (external_reference), the transfer code from the Wire Transfer method (transfer_code) or the Settlement Code from Payment Balance method (settlement_code).

Here are a few of examples using each parameter:

curl -X POST 'https://sandbox.ebanx.com/ws/transfer/cancel' \
--header 'Content-Type: application/json' \
--data '{
"integration_key": "your_ebanx_integration_key",
"uid": "11ce3097af9ccf601b11038767962d3feded348ed"
}'

And a successful cancellation will return a JSON Object with type "success" and a message saying "You've successfully cancelled your Payout!".

{
"type": "success",
"message": "You've successfully cancelled your Transfer!"
}

Still need help?

Help Image

We hope this article was helpful. If you still have questions, you can explore the following options: