- Get your test API Keys
- Generate your JWS Keys and upload them to our Dashboard.
- Get your accounts
- Send your first transfer
Step 1: Get your test API Keys
Every interaction with the Fintoc API must be authenticated with your Fintoc API Keys. If any interaction with the API doesn’t include your API Key or uses an incorrect one, Fintoc will return an error. Every Fintoc account has two key pairs: one is used for test mode, while the other is used for the production environment. Every resource is stored either in test mode or live mode, and resources from one environment cannot be manipulated by resources from the other. Your API Keys will be available in the Dashboard, where you will have to sign up. Once your Fintoc account has been created, you will be able to get your API Keys. In this case, you must use the Secret Key for test mode. We added the prefixsk_test_ so you can easily identify it.
Step 2: Register your JWS Keys
To make requests to Transfers endpoints that move money, you need to include a JSON Web Signature (JWS). JWS is a standard for digitally signing data to ensure its integrity and authenticity. To register your JWS keys, follow this guide.Step 3: Get your accounts
Using your test Secret Key, get your Accounts via API like this:cURL
JSON
Using our SDK
If you’re using Python or Node, you can install our Python SDK or Node SDK to make it easier to interact with our API. The SDK automatically generates the JWS signature, handles pagination, and offers many other helpful features. First install our SDK:Install Python SDK
Install Node SDK
Node
Step 4: Make your first transfer
Now, we’ll create a transfer. In live mode, this will actually move money to your customers’ accounts. Since we’re in test mode, no money will be moved—but you’ll use the exact same API that you’ll use in your production environment.Fund your test account
Your test account will start out without funds (just like your live account). To add funds, simulate a transfer using the API or dashboard.Make an outbound transfer
First you will need a JWS signature to safely sign your requests. To learn how to generate a JWS Signature, follow this guide . Once you’ve generated your JWS Signature, use theaccount_id you got from Step 3 to create a transfer of $590.13 MXN:
Using our SDK
If you are using one of our SDKs, you can create the transfer like this:Node
- Idempotency Keys to safely repeat requests without the risk of creating two objects
- Account Numbers to easily reconcile incoming transfers
- Metadata to attach custom data to your Fintoc objects