For detailed operational information about SPEI including operating hours, processing times, and holiday calendar, see the Payment Methods Reference page.
When to Use SPEI
SPEI (Sistema de Pagos Electrónicos Interbancarios) is Mexico’s real-time bank transfer system, perfect for:- Higher-value transactions (B2B payments).
- Customers who prefer bank transfers over cards.
- Transactions requiring immediate processing during business hours.
- Reducing card processing fees for large amounts.
Step 1: Create a SPEI Payment Request
Creating a SPEI payment request is straightforward since SPEI doesn’t require additional customer data beyond basic information. The API will generate payment instructions for your customer.Step 2: Send the Payment Request
Send your payment request to the Process Transaction endpoint to initiate the SPEI transfer:Step 3: Handle the Response
The API response will include payment instructions and status information. SPEI payments always start with apending
status since they require the customer to complete the bank transfer.
Step 4: Provide Instructions to Your Customer
Present the payment instructions clearly to help customers complete their bank transfer successfully:1
Share the bank account details
Provide the
bank_account
number and bank_name
from the response.2
Provide the payment reference
Give the customer the
reference
number - this is crucial for payment identification.3
Set expectations
Explain that SPEI transfers are processed in real-time during operating hours.
4
Monitor payment status
Use webhooks or polling to track when the payment is completed.
Step 5: Track Payment Status
Monitor the payment status to know when the transfer is completed. SPEI payments follow this status flow:pending
- Waiting for customer to make transferprocessing
- Bank transfer in progresssuccess
- Payment completed successfully
Step 6: Handle SPEI-Specific Scenarios
Understanding SPEI’s unique characteristics will help you provide a better customer experience:Operating Hours
Operating Hours
SPEI operates 24/7, but some banks may have their own restrictions that affect processing times:
- Most transfers process immediately.
- Some banks may batch transfers during off-hours.
- Transfers between participating banks are typically instant.
Amount Limits
Amount Limits
SPEI has flexible limits that make it suitable for various transaction sizes:
- Minimum: Usually $1 MXN.
- Maximum: Varies by bank (commonly $8,000,000 MXN per day).
- No Tonder-imposed limits on SPEI amounts.
Common Errors
Common Errors
Understanding common SPEI errors will help you handle issues effectively:
Error | Cause | Solution |
---|---|---|
invalid_amount | Amount exceeds bank limits | Use smaller amount or split transaction |
spei_unavailable | Temporary service issue | Retry later or offer alternative payment |
Next Steps
- Set up webhooks to receive real-time notifications when SPEI status changes.
- Learn about HTTP response codes to handle different API responses.
- Explore other payment methods for customers without bank accounts.