This guide explains how to send payouts, or withdrawals, to beneficiaries using the Tonder API. Withdrawals are processed through the same unified Process Transaction endpoint as payments, by setting the operation_type to "withdrawal".
Availability NoticeWithdrawals are currently only available for beneficiaries in Mexico. Support for additional countries will be added in future releases.
Available Transfer MethodsThere are two transfer methods available:
SPEI: Bank transfers processed same business day during banking hours.
Debit Card: Instant deposits available within 5-15 minutes, 24/7.
SPEI (Sistema de Pagos Electrónicos Interbancarios) is Mexico’s standard electronic payment system for bank-to-bank transfers.You should use SPEI when:
Making regular business payments like commissions or vendor payments.
Processing payroll and salary transfers.
Sending larger amounts where cost-effectiveness is important.
Same-day processing during business hours is acceptable.
Key requirementsPay attention to the following specifics for SPEI withdrawals:
The transfer_method value must be "SPEI".
The beneficiary.account must be a valid 18-digit CLABE (Clave Bancaria Estandarizada).
Processing occurs during banking hours (typically 9 AM - 5 PM MXT, Monday-Friday).
Create and send your withdrawal request using the Process Transaction endpoint with operation_type set to "withdrawal".The request must have the following fields:
Field
Description
operation_type
Always set to "withdrawal" for payout operations
amount
The withdrawal amount in the specified currency
currency
Currency code (currently only "MXN" is supported)
transfer_method
Either "SPEI" or "DEBIT_CARD"
beneficiary
Complete beneficiary information object
The beneficiary object contains the recipient’s information for the withdrawal. This object specifies who will receive the funds and how they should be delivered. You can see the properties of the beneficiary object in the table below:
Field
Description
account
The destination account number (18-digit CLABE for SPEI transfers, or 16-digit card number for debit card deposits)
name
Full legal name of the beneficiary as it appears on their bank account or card
rfc
Mexican tax identification number (RFC) - required for compliance and verification
Since withdrawals are asynchronous operations, you need to monitor the transaction to check the final status. Use the transaction id from the response to query the Get Transaction Status endpoint.
ImportantAlways check the id and status fields from the response. The id is required to monitor the withdrawal progress, and the status tells you the current state of the transaction.
As your withdrawal progresses, it will move through different statuses. Here’s what each status means and what you should do:
Status
Description
Next Steps
pending
The withdrawal request has been received and is queued
Monitor for status change
processing
The transfer is currently being processed by the bank
Wait for completion
success
The transfer was completed successfully
The transaction is complete
failed
The transfer failed due to a processing or system error
Check the error details and retry if appropriate
declined
The transfer was declined by the bank (e.g., invalid account)
Correct beneficiary data and create a new withdrawal