Request Body
The request requires the following mandatory parameters:| Parameter | Type | Required | Description |
|---|---|---|---|
user_id | integer | Yes | User ID in the Tonder system (get from Get User ID) |
amount | decimal | Yes | Amount to withdraw |
currency | string | Yes | Currency code ("MXN" for SPEI transfers) |
transfer_method | string | Yes | Transfer method: "SPEI" or "DEBIT_CARD" |
beneficiary_account | string | Yes | Account number (18-digit CLABE for SPEI, 16-digit card for DEBIT_CARD) |
beneficiary_name | string | Yes | Full name of the beneficiary |
beneficiary_rfc | string | Conditional | RFC identification. Required for SPEI. For DEBIT_CARD, use beneficiary_rfc, beneficiary_curp, or "ND" |
beneficiary_curp | string | Conditional | CURP identification. Alternative to beneficiary_rfc for DEBIT_CARD only |
beneficiary_institution | string | Yes | Institution code (use 97846 for testing) |
interbank_code | string | Yes | Originator account (CLABE) - required for SPEI |
fee_model | string | Yes | Fee model: 00 (User pays) or 01 (Merchant pays) |
metadata | object | Yes | Additional information (must include latitude and longitude) |
email | string | No | Contact email for notifications |
description | string | No | Transaction description |
Response
On success, returns HTTP 200 with the withdrawal object including complete account data and metadata:Transfer Methods
SPEI
Bank transfers processed same business day during banking hours. Requirements:beneficiary_accountmust be a valid 18-digit CLABE- Processing occurs during banking hours (typically 9 AM - 5 PM MXT, Monday-Friday)
DEBIT_CARD
Instant deposits available within 5-15 minutes, 24/7. Requirements:beneficiary_accountmust be a valid 16-digit debit card number- Processing occurs 24/7, including weekends and holidays
Fee Models
00: User pays fees - fees are deducted from the withdrawal amount01: Merchant pays fees - fees are charged separately to the merchant
Metadata Requirements
For SPEI/MXN withdrawals, themetadata object must include:
latitude: Geographic latitude (decimal number)longitude: Geographic longitude (decimal number)
Testing
When testing in the Stage environment, use institution code 97846 for thebeneficiary_institution field.
Related Documentation
- Create Withdrawal Guide - Step-by-step integration guide
- Workflow & Statuses - Understanding withdrawal processing
- Status Codes Reference - Complete status code documentation
- HTTP Response Codes - Error handling reference

