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. 1

    The merchant creates a CoDi QR with the recipient (CLABE or mobile number), amount, concept and reference.

  2. 2

    The payer scans the QR in their Mexican banking app (or pays via NFC).

  3. 3

    The app shows recipient and amount โ€” the amount is always preset; the payer doesn't type it.

  4. 4

    After confirming with PIN or biometrics, a SPEI transfer is triggered from the payer's account.

  5. 5

    The money reaches the merchant in real time, including concept and reference for reconciliation.

โš ๏ธ Both sides need a Mexican bank account enrolled in SPEI. That makes CoDi a non-option for tourists โ€” a card is the reliable fallback.

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)
TypeQR / NFC paymentPhone-number transfer
Based onSPEISPEI
Use caseMerchant collectionP2P transfers
AmountAlways requiredEntered by sender
AdoptionLimitedGrowing

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 ๐Ÿ‡ง๐Ÿ‡ท
Launched20192020
OperatorBanxicoBanco Central do Brasil
Proxy keysCLABE or phoneCPF/CNPJ, phone, email, random key
Open-amount QRNo โ€” amount always requiredYes โ€” static and dynamic QR
Everyday adoptionLimitedMass-market

How PIX QR codes are structured โ†’

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 โ†’

Related in Mexico

๐Ÿ“–
How to Pay in Mexico

Cards, Mercado Pago, CoDi and cash

Read โ†’
๐Ÿ’™
Mercado Pago for Tourists

The most useful app for visitors

Read โ†’
๐Ÿ‡ฒ๐Ÿ‡ฝ
Mexico Hub

Everything about paying in Mexico

Read โ†’