Skip to main content
To send a test transfer with Fintoc’s Transfers API, create an account in the Dashboard and complete these steps:
  1. Get your test API keys.
  2. Generate your JWS keys and upload them to the Dashboard.
  3. Get your accounts.
  4. Send your first transfer.

Step 1: Get your test API keys

Authenticate every interaction with the Fintoc API using your API keys. Fintoc returns an error when a request omits the API key or uses an incorrect one. Every Fintoc account has two pairs of API keys: one for test mode and one for live mode. Each resource belongs to one mode. You cannot use a key from one mode to manage resources in the other. Sign up in the Dashboard to create your Fintoc account and get your API keys. For this guide, use the Secret Key for test mode. Its sk_test_ prefix identifies the key’s mode.

Step 2: Register your JWS keys

To call Transfers endpoints that move money, include a JSON Web Signature (JWS). The signature protects the integrity and authenticity of the request data. To register your JWS keys, follow this guide.

Step 3: Get your accounts

Use your test Secret Key to list your accounts through the API:
cURL
The response should look like this:
JSON

Use an SDK

Install the Python SDK or Node SDK to interact with the API. Both SDKs generate the JWS signature and handle pagination. First, install an SDK:
Install Python SDK
Install Node SDK
Now list your accounts:
Node

Step 4: Make your first transfer

Now create a transfer. In live mode, the transfer moves money to your customer’s account. In test mode, the transfer uses the same API without moving money.

Fund your test account

Your test account starts without funds, as does your live account. To add funds, simulate a transfer through the API or the dashboard.

Make an outbound transfer

First, sign your transfer request with a JWS. Follow the JWS signature guide to generate the signature. Use the JWS signature and the account_id from Step 3 to create a transfer of $590.13 MXN:
Currencies are represented as integersThe Fintoc API represents amounts as integers in the smallest currency unit. For example, represent MXN $590.13 as 59013.The Chilean peso has no minor unit. To transfer $59,013 CLP, set amount to 59013.Read more about currencies.

Use an SDK

Create the transfer with an SDK:
Node
You created your first transfer. For production integrations, consider these features:
  • Use idempotency keys to repeat requests without creating duplicate objects.
  • Use account numbers to reconcile incoming transfers.
  • Add metadata to attach custom data to your Fintoc objects.
Learn more in the guides for receiving transfers and sending transfers. For transfer concepts, read the transfers overview.