Skip to main content
After you complete the setup guide, follow these steps to send an outbound transfer:
  1. Configure JSON Web Signature (JWS) signing keys and generate a JWS signature.
  2. Add funds to the Account object’s root_account_number.
  3. Create a Transfer from your backend using your Secret Key and a JWS Signature.
  4. Monitor the transfer status.
The following diagram shows how Fintoc interacts with your integration and the counterparty receiving the payout.

Step 1: Configure JWS signing keys and generate a JWS signature

Requests to the Transfers endpoints require a JWS. A JWS digitally signs data to verify its integrity and authenticity. To learn how to sign an API call, follow the steps in the JWS Signature guide.

Step 2: Add funds to Fintoc

To create a Transfer, first add funds to your Account object’s root_account_number. The funds appear as an inbound transfer.

Step 3: Create a transfer

You can send real-time transfers after you fund your account. From your backend, create a Transfer using your test Secret Key and JWS Signature. Include the origin account, amount, currency, and counterparty receiving the payment. The examples below show successful Transfer responses. Use the predefined inputs in Test your integration to test unsuccessful results.

Use an idempotency key

Fintoc supports idempotency so you can retry a Transfer request without performing the operation twice. Use an idempotency key when creating a Transfer. If a connection error occurs, retry the request with the same key to avoid creating a second Transfer. To make an idempotent request, include the Idempotency-Key header.

Create a transfer for Mexico 🇲🇽

The following example creates a Transfer for MXN $590.13:
Currencies are represented as integersThe Fintoc API represents amounts as integers in the smallest currency unit. For example, Fintoc represents MXN $10.29 as 1029.For more information, see Currencies.

Add the institution ID

For a standardized Mexican bank account number (CLABE), Fintoc derives the counterparty institution ID from the CLABE. For a mobile phone number or debit card, include the five-digit institution ID. Find the ID in the Bank of Mexico institution list. Otherwise, the API returns a 400 Bad Request error.

Use an SDK

Use the Python or Node SDK to create the transfer:
Node
In Mexico, the Counterparty object requires the following attribute: A successful request returns the following response:

Create a transfer for Chile 🇨🇱

The following example creates a Transfer for CLP $1869:

Use an SDK

Use the Python or Node SDK to create the transfer:
Node

In Chile, the Counterparty object requires the following five attributes: A successful request returns the following response:

Step 4: Monitor the transfer status

Transfer status flow

A transfer has one of the following statuses: pending, succeeded, failed, returned, return_pending, or rejected. For details about each status, see the Transfers data model.

Monitor status using webhooks

Fintoc sends a transfer.outbound.succeeded event when the transfer settles. Use the webhook guide to receive these events. You can then notify your customer or log the transfer in your enterprise resource planning (ERP) system. We recommend handling the following events:
Webhooks may arrive out of orderFor example, a transfer.outbound.rejected event can arrive before the same transfer’s transfer.outbound.succeeded event. The transfer can succeed before the rejection occurs.