Skip to main content
Only available in Mexico
By the end of this guide, you can return an inbound transfer and handle the webhook events that report the result. Use the return transfer endpoint up to 90 days after the original inbound transfer. Base the return on your business logic. For example, return a transfer when you expect a specific amount but receive a different one.

Trigger the return

Call the return transfer endpoint with the transfer_id and Fintoc-JWS-Signature header. The header contains a JSON Web Signature (JWS) for the request:
curl
Node
Python
Response
After a successful request, the API returns a transfer with status set to return_pending. After Fintoc processes the return, status changes to returned.

Handle the return result

Handle the following webhook events to track the outcome of a return:

Test the integration

Confirm your integration in test mode before going live. Trigger a return for a simulated inbound transfer and check that your webhook handler receives the expected event:
  • For a successful return, expect the transfer.inbound.returned event and a transfer with status set to returned.
  • For a failed return, expect the transfer.inbound.return_failed event and a transfer with status set to succeeded.
See Test your integration for the steps to simulate both scenarios.