CoDi Explained
Mexico's official QR system โ how it works and why it's niche
What is CoDi?
CoDi (Cobro Digital) is Mexico's official QR payment system. It was launched in 2019 by the central bank, Banxico, and is built on SPEI, Mexico's real-time interbank transfer system.
The idea: a merchant shows a QR code (or uses NFC), the customer scans it in their banking app, and a SPEI transfer is triggered instantly โ free for consumers and available around the clock. No card terminal, no card fees.
Banxico required banks participating in SPEI to offer CoDi. That's why CoDi is available in the apps of BBVA, Santander, Banorte and many other banks.
Honestly: availability isn't the same as usage. Despite wide bank support, everyday adoption has stayed limited. Most people in Mexico pay by card, cash or Mercado Pago, and for person-to-person transfers DiMo โ Banxico's newer phone-number system โ is growing.
How CoDi Works
- 1
The merchant creates a CoDi QR with the recipient (CLABE or mobile number), amount, concept and reference.
- 2
The payer scans the QR in their Mexican banking app (or pays via NFC).
- 3
The app shows recipient and amount โ the amount is always preset; the payer doesn't type it.
- 4
After confirming with PIN or biometrics, a SPEI transfer is triggered from the payer's account.
- 5
The money reaches the merchant in real time, including concept and reference for reconciliation.
Official CoDi Codes vs Our SPEI / CLABE QR
Official CoDi payment requests (โmensajes de cobroโ) are created server-side through Banxico's system and an authenticated bank connection. A website or browser tool can't produce them โ QRPayHub does not generate CoDi codes.
Instead, we offer a SPEI / CLABE transfer-details QR: it contains the transfer details as plain, readable text. The payer scans it with any camera app, reads the details, then makes the SPEI transfer manually in their banking app. Banking apps will not trigger a payment from it automatically.
What the QR contains (generated with our tool)
Transferencia SPEI (Mรฉxico) Beneficiario: Taqueria El Sol CLABE: 002180001234567896 Banco: BBVA Mรฉxico Monto: $250.00 MXN Concepto: Pago factura 001 Referencia: 1234567
The example CLABE (bank code 002 = BBVA Mรฉxico) is fictitious but passes our check-digit validation. The tool validates the CLABE check digit, mobile number, amount (> 0), concept (max. 35 characters) and reference (1โ7 digits).
Why Adoption Stayed Limited
Technically, CoDi works. That it didn't take off in everyday life comes down to several factors combined:
๐ณ Strong card culture
Contactless cards already worked well in cities, so there was little reason to switch.
๐ต Cash habits
A large share of everyday spending โ street food, markets, small towns โ still runs on cash.
๐ฆ Two-sided friction
Both payer and merchant need a Mexican bank account enrolled in SPEI and CoDi.
๐ข Amount always required
Every QR needs a fixed amount, so a simple printed QR at a stall does not work like it does with PIX or PromptPay.
๐ฑ Mercado Pago got there first
Mercado Pago QR spread among merchants with its own app and terminals.
For comparison: Brazil's PIX launched in 2020 with simple keys (phone, email, CPF), QR codes with or without an amount, and a strong push for merchants โ and quickly became mass-market.
CoDi vs DiMo
| CoDi (2019) | DiMo (2023) | |
|---|---|---|
| Type | QR / NFC payment | Phone-number transfer |
| Based on | SPEI | SPEI |
| Use case | Merchant collection | P2P transfers |
| Amount | Always required | Entered by sender |
| Adoption | Limited | Growing |
DiMo (Dinero Mรณvil) complements CoDi: instead of a QR code, the recipientโs mobile number is enough. Both run over SPEI.
CoDi vs PIX โ Why One Worked
| CoDi ๐ฒ๐ฝ | PIX ๐ง๐ท | |
|---|---|---|
| Launched | 2019 | 2020 |
| Operator | Banxico | Banco Central do Brasil |
| Proxy keys | CLABE or phone | CPF/CNPJ, phone, email, random key |
| Open-amount QR | No โ amount always required | Yes โ static and dynamic QR |
| Everyday adoption | Limited | Mass-market |
Mexican account holder or merchant?
Share your transfer details as a QR โ the payer reads them and transfers manually via SPEI. Not an official CoDi code.
Create SPEI / CLABE Transfer QR โ