What is SPEI?
SPEI (Sistema de Pagos Electrónicos Interbancarios) is Mexico’s instant payment system. Offer your customers a bank-to-bank payment option with lower fees than cards. SPEI enables instant bank transfers 24/7 between any Mexican bank accounts using CLABE numbers.When to Use SPEI
Large Transactions
Lower processing fees make SPEI ideal for high-value orders
Customer Preference
Some customers prefer bank transfers over cards
B2B Payments
Business customers often prefer bank transfers
Alternative Payment
Offer as an alternative when cards decline
How SPEI Works
1
Create Payment Request
You create a payment request with SPEI as the payment method.
2
CLABE Assigned
Cheqpay assigns a unique CLABE account number for this payment.
3
Customer Transfers
Display the CLABE to your customer who transfers funds from their bank.
4
Instant Confirmation
Payment is confirmed automatically (usually within minutes).
5
Webhook Notification
You receive a webhook notification when funds are received.
Create a SPEI Payment
Request Example
Response with CLABE
Display Payment Instructions
Show the CLABE number prominently so customers can complete the transfer:Required Information
CLABE Number
18-digit unique account identifier
Bank Name
Receiving bank (usually STP)
Amount
Exact amount to transfer
Reference
Order number or payment reference
Example Display
Monitor Payment Status
SPEI payments start with statusPENDING and update to COMPLETED when funds are received.
Polling (Not Recommended)
Webhooks (Recommended)
Use webhooks to receive instant notifications:Set Up Webhooks
Learn how to receive real-time SPEI notifications
SPEI Best Practices
Unique CLABE Per Payment
Unique CLABE Per Payment
Each CLABE is unique per payment order. Never reuse CLABEs across different orders.
Display Instructions Clearly
Display Instructions Clearly
Make the CLABE number easy to copy. Provide clear instructions on how to complete the transfer.
Send Email Instructions
Send Email Instructions
Email the CLABE to customers so they can complete the transfer later from their bank.
Set Expiration Time
Set Expiration Time
Consider setting a payment expiration (e.g., 24 hours) to avoid indefinite pending orders.
Use Webhooks
Use Webhooks
Don’t poll for updates. Use webhooks to get instant notifications when payments complete.
SPEI Payment Timeline
| Time | Event |
|---|---|
| 0 min | Payment created, CLABE assigned |
| 0-10 min | Customer initiates transfer from their bank |
| 2-30 min | Transfer completes (most common) |
| Up to 24h | Maximum time for transfer to complete |
Most SPEI transfers complete within 5-10 minutes during business hours.
Testing SPEI in Sandbox
SPEI payments in sandbox automatically complete after 30 seconds:1
Create SPEI Payment
Make a payment request with
type: "spei" in sandbox.2
Wait 30 Seconds
Sandbox simulates the bank transfer delay.
3
Auto-Complete
Payment status automatically updates to
COMPLETED.Handling Payment Failures
SPEI payments rarely fail, but here are potential issues:| Issue | Solution |
|---|---|
| Wrong amount transferred | Contact support to reconcile |
| Transfer not received | Check customer’s bank confirmation |
| CLABE expired | Create new payment with fresh CLABE |
| Bank system down | Wait and retry, banks have 99.9%+ uptime |
Fees and Limits
Processing Fees
SPEI typically has lower fees than card payments:- Card payments: ~3.5% + fees
- SPEI transfers: Flat fee per transaction
Contact [email protected] for current SPEI pricing.
Transaction Limits
- Minimum: $1.00 MXN
- Maximum: $8,000,000.00 MXN per transaction
- Daily limit: Contact support for high-volume needs