Test your integration
Simulate transfers to test your integration.
To confirm that your integration works correctly, simulate transfers without moving any money using special values in test mode.
Use test API Keys in all API calls whenever you work with the test mode.
Simulate an inbound transfer
Fintoc lets you simulate an inbound transfer through our API or Dashboard. You can simulate an inbound transfer only for account numbers created in test mode. To refresh on creating account numbers, take a look at this example.
To simulate an inbound transfer of $1,020.00 MXN, you can use the following example:
curl --request POST \
--url 'https://api.fintoc.com/v2/simulate/receive-transfer' \
-d destination_account_number_id=<acno_id> \
-d amount=102000 \
-d currency_code='mxn'
Simulate endpoint
Any endpoint in the
/simulate/*
routes are used for simulating production behaviors and will NOT be available in live mode.
Test outbound transfers
Fintoc provides test special values for Mexico and Chile to simulate transfers. When you create a test outbound transfer you will receive webhooks as you would normally receive in live mode.
Mexico 🇲🇽
To simulate a successful or rejected outbound transfer, you can use one of the following counterparties.
Description | Counterparty |
---|---|
Regular Transfer flow. If you have enough funds, it will be successful. Otherwise you will get an "insufficient funds" error. | Account Number: Any account number |
Failed transfer due to external errors. | Account Number: 012969100000000013 |
Returned transfer due to non-existent account | Account Number: 012969000000000016 |
Chile 🇨🇱
Use one of the following counterparties to simulate transfers in Chile.
Description | Counterparty |
---|---|
Regular Transfer flow. If you have enough funds, it will be successful. Otherwise you will get an "insufficient funds" error. | holder_id : Any valid RUTholder_name : Any nameaccount_number : Any account numbertype : Any typeinstitution_id : Any institution id |
Failed Transfer due to Insufficient funds | holder_id : 41579263-8holder_name : Any nameaccount_number : Any account numbertype : Any typeinstitution_id : Any institution id |
Returned Transfer due to a CCA reversal. | holder_id : 40427672-7holder_name : Any nameaccount_number : Any account numbertype : Any typeinstitution_id : Any institution id |
Updated 6 days ago