CoDi FAQ
25 questions answered — from SPEI and CLABE to Banxico, DiMo, transaction limits and what our SPEI / CLABE QR tool does.
CoDi (Cobro Digital) is Mexico's digital payment system developed by Banxico (Banco de México). Launched in September 2019, it uses QR codes and NFC to initiate SPEI transfers, allowing businesses to collect digital payments 24/7 without fees.
CoDi was developed and is operated by Banxico (Banco de México), Mexico's central bank. It was created as part of Banxico's strategy to increase financial inclusion and reduce cash usage in Mexico.
SPEI (Sistema de Pagos Electrónicos Interbancarios) is Mexico's interbank electronic payment system, operated by Banxico since 2004. CoDi uses SPEI as its settlement infrastructure. When a CoDi QR is scanned, it initiates a SPEI transfer from the payer's account to the recipient.
CLABE (Clave Bancaria Estandarizada) is Mexico's 18-digit standardized bank account number used for SPEI transfers. The first 3 digits identify the bank, digits 4–6 identify the city, digits 7–17 are the account number, and digit 18 is a check digit calculated using a weighted algorithm.
CLABE validation uses weighted digits: multiply each of the first 17 digits by weights (3,7,1 repeating), sum the results modulo 10, subtract from 10 and take modulo 10 – this gives the 18th check digit. qrpayhub.com validates CLABEs automatically using this algorithm.
Yes, CoDi transactions are free for both payers and recipients. Banxico mandated zero fees for CoDi as part of its financial inclusion strategy.
Unlike other QR payment standards, CoDi always requires a payment amount to be encoded in the QR code. This is because CoDi initiates a specific SPEI transfer rather than a general payment request that the payer fills in.
The Referencia Numérica is a 1–7 digit numeric reference required for all SPEI/CoDi transfers. It serves as the payment reference for reconciliation. Businesses typically use invoice numbers or order numbers as the reference.
All banks participating in SPEI support CoDi, including: BBVA México, Santander MX, Banorte, HSBC México, Citibanamex, Scotiabank MX, Inbursa, BanBajío, and all other SPEI-participant banks. This covers over 99% of Mexican bank accounts.
Banxico (Banco de México) is Mexico's central bank and operates SPEI, the national interbank payment system. Banxico created CoDi to add QR-based payment functionality to SPEI, and mandates that all SPEI-participant banks offer CoDi to their customers.
CoDi/SPEI limits vary by bank. Standard retail limits are typically MXN 8,000 per transaction for basic accounts. Premium accounts and business accounts can have limits up to MXN 500,000 or more per transaction.
CoDi primarily uses QR codes (smartphone-based). However, CoDi also supports NFC (Near Field Communication) as an alternative payment method, allowing payments without scanning a QR code on devices that support NFC.
The Concepto (concept/description) is a required 1–35 character text field describing the purpose of the payment (e.g., 'Pago factura 001', 'Servicio mensual'). It appears in the payer's SPEI transfer record.
CoDi remains the official Banxico QR standard, but its everyday adoption has stayed limited. In practice, most payments in Mexico are made by card, cash or Mercado Pago. For person-to-person transfers, Banxico launched DiMo (Dinero Móvil) in 2023, which uses phone numbers as proxies, similar to PIX in Brazil. CoDi and DiMo coexist in Mexico's payment ecosystem.
DiMo (Dinero Móvil) is Banxico's newer mobile payment system launched in 2023, allowing transfers using phone numbers linked to bank accounts – similar to PIX or UPI. DiMo complements CoDi: CoDi handles QR merchant payments, DiMo handles person-to-person transfers via phone number.
Yes, SPEI operates 24/7/365 since 2014, making CoDi payments available at any time. Before 2014, SPEI had operating hours; extended hours were added to support digital payment growth.
No. Official CoDi payment requests are created server-side through Banxico's system and can't be produced by a website. QRPayHub offers a SPEI / CLABE transfer-details QR instead: it contains the beneficiary, CLABE (or mobile number), bank, amount in MXN, concept and reference as readable text. The payer scans it to read the details and makes a normal SPEI transfer manually — banking apps will not pay it automatically.
CoDi requires a Mexican bank account enrolled in SPEI. Foreign tourists cannot use CoDi directly. Tourists pay with contactless cards (accepted almost everywhere in cities and tourist areas), Mercado Pago (foreign-card acceptance varies — check current eligibility) and cash for street food and markets.
CoDi adoption has been much slower than anticipated. As of 2025, roughly 40 million CoDi-enabled accounts are registered — that counts enrolled accounts, not active users, and actual transaction volumes have stayed low. Cards, cash and Mercado Pago dominate everyday payments, and DiMo is growing for phone-number transfers.
Mercado Pago is Latin America's largest fintech, with its own QR payment system widely used in Mexico. Mercado Pago QR is separate from CoDi but serves similar use cases — and at Mexican merchants it is far more commonly seen than CoDi.
qrpayhub.com plans a REST API for SPEI / CLABE transfer-details QR codes as part of the API plan (coming soon). It will not generate official CoDi codes.
First 3 digits of CLABE identify the bank: 002/012 = BBVA México, 014 = Santander, 021 = HSBC, 072 = Banorte, 006 = Bancomext, 058 = Banregio, 646 = STP (fintech).
Yes, several Mexican government agencies accept CoDi. Banxico actively promotes CoDi for government collections (taxes, fees, services) to reduce cash handling costs.
Banxico continues to develop CoDi alongside DiMo. Whether CoDi gains wider everyday adoption remains to be seen. There is currently no cross-border QR linkage that lets foreign visitors pay CoDi codes with their home apps.
CoDi transactions are processed through Banxico's SPEI infrastructure, which has operated since 2004 with high security standards. The QR code contains only the transfer details — no banking credentials are encoded. All transactions are authenticated by the payer's bank app using biometrics or PIN.
Still have questions?
Or want to share transfer details as a QR? (Not an official CoDi code)
Related Tools
Share transfer details (CLABE, name, amount, concept) as a readable QR — the payer transfers manually via SPEI. Includes CLABE validation. Not an official CoDi code.
Open Generator →Generate PIX QR codes for Brazilian payments — Brazil's real-time payment system with over 150 million users.
Open Generator →