test mode.
Use test API keys for all API calls in test mode.
Simulate an inbound transfer
Fintoc lets you simulate an inbound transfer through the API or dashboard. You can simulate an inbound transfer only for account numbers created intest mode. To review how to create an account number, see this example.
Use the following example to simulate an inbound transfer of $1,020.00 MXN:
Bash
Simulate with an SDK
Use the Python or Node SDK to simulate an inbound transfer:Node
Simulate endpointEndpoints under
/simulate/* simulate production behavior and are unavailable in live mode.Test returning an inbound transfer
In Mexico, test a failed return intest mode:
- Call
POST /v2/simulate/receive_transferwithcounterparty_account_numberset to012969100000000013. - Return the transfer using the simulated transferโs
idastransfer_id. - Expect a response with
statusset toreturn_pending, followed by thetransfer.inbound.return_failedwebhook. The original transferโsstatuschanges back tosucceeded.
counterparty_account_number set to 012969100000000110 and return it. Expect the transfer.inbound.returned webhook with status set to returned.
Both standardized Mexican bank account numbers (CLABEs) are sandbox test values for simulated senders, not your receiving Fintoc account. Use them only in test mode.
Retries with the failure test CLABE also fail.
Test outbound transfers
Fintoc provides special test values for Mexico and Chile. When you create a test outbound transfer, you receive the same webhooks as inlive mode.