Skip to content
barcoder

Standards/spei

SPEI

TypeInstant payment
PrimaryMX
MentionedMX
Completeness77%high

Overview

Note on classification. This entry was originally bucketed as a QR standard, but SPEI is not a QR-symbol standard: it is the Mexican settlement rail, and CoDi is the QR layer on top. Reclassified as Instant payment. The wiki shows no playground because SPEI has no code of its own to encode; the slug is kept so incoming links still work.

SPEI® (Sistema de Pagos Electrónicos Interbancarios, Interbank Electronic Payment System) is Banco de México's real-time settlement system for peso transfers between accounts at different financial institutions in Mexico. Banxico administers and operates it; it began operating on 13 August 2004, replaced the earlier SPEUA, and now runs 24/7 1, 2. A SPEI transfer is addressed by numbers the payer types, typically the 18-digit CLABE, a debit card number or, through DiMo, a phone number, and every transfer can be checked on Banxico's own receipt service, the CEP 3, 4. Banxico's two consumer overlays run on SPEI: CoDi (2019), which carries payment requests by QR code, NFC or internet, and DiMo (2023), which sends to a phone number 6, 4. In 2025 SPEI carried 7.02 billion third-party transfers worth MX$347.4 trillion, summed from Banxico's monthly series Mexico report, 9.

History

SPEUA (to 2005). Before SPEI, Banxico ran the Sistema de Pagos Electrónicos de Uso Ampliado (SPEUA), whose per-operation fee depended on the time of day and averaged MX$2.40 2.

Date Event Source
13 Aug 2004 SPEI starts operating as a real-time settlement system, with far greater capacity than SPEUA and without the risks Banxico carried in it; fee to banks MX$1.00 per operation 1, 2
Aug 2005 SPEUA stops operating 2
Apr 2006 Banxico cuts its SPEI fee from MX$1.00 to MX$0.50 per operation 2
19 May 2006 A circular opens SPEI to Afores, brokerages, exchange houses, insurers, Sofoles and fund operators 2
Dec 2013 Banxico announces mobile transfers linked to a phone number, a 10-centavo fee per SPEI operation, and longer hours 8
26 Sep 2014 SPEI hours become 6:00–17:30, every day of the week 8
14 Nov 2014 Hours extended to 5:00 until 1:00 the next day 8
20 Feb 2015 Banks must process mobile transfers in under 15 seconds 8
30 Sep 2019 CoDi starts operating as "a new functionality of SPEI" 6
23 Feb 2023 DiMo made available to SPEI participants 4
Nov 2024 21 institutions and more than 11 million linked accounts on Dimo 4
8 Jun 2026 Circular 9/2026 sets common user-experience guides for mobile SPEI transfers; participants have until 14 Dec 2026 7

Today SPEI runs on a 24/7 schedule 1.

Technical specification

System. A real-time settlement system administered and operated by Banco de México. Participants and indirect participants send and receive electronic transfers in Mexican pesos, in their own name or for their clients, between accounts at different institutions within Mexico 1. Participants can be entities under federal financial regulation and supervised by Banxico, the CNBV, the CNSF or CONSAR; federal public-administration bodies; Banxico as trustee; and operators of international FX settlement systems that include the peso 1. The rules are Circular 14/2017 (Reglas del SPEI), with Circular 13/2017 for transfer services, under the Banco de México law and the Payment Systems Law 1.

Flow 1:

  1. The sender enters, checks and confirms the transfer in the bank's app or website.
  2. The sending institution validates the order and submits it.
  3. Banco de México receives, validates and forwards the order to the receiving institution.
  4. The receiving institution credits the beneficiary account and sends SPEI a credit confirmation.
  5. The beneficiary can then obtain the CEP.

Identifiers carried by a transfer:

Field Format Source
Beneficiary account CLABE, debit card or mobile number 3
CLABE 18 digits: 3-digit bank code, 3-digit city code, 11-digit account, 1 check digit; a standard of the Mexican Bank Association (ABM) 10
Tracking key (clave de rastreo) Up to 30 alphanumeric characters, assigned by the sending institution 3
Reference number Up to 7 digits, chosen by the sender 3

Receipts. The CEP (Comprobante Electrónico de Pago) is looked up by payment date, tracking key or reference number, sending and receiving institution, beneficiary account and amount; it can be downloaded or validated as XML. The service answers 09:30–23:00 every day 3.

Fees. Banxico charges participants, not end users: a fixed fee, and a monthly per-operation fee that also counts returns, orders sent to CLS and retransmitted bytes 1.

No SPEI code. SPEI defines no QR or barcode. A QR that starts a SPEI payment is a CoDi mensaje de cobro (payment request), shown as a static or dynamic QR or sent by NFC or internet; the buyer's bank then sends it as a SPEI transfer, or books it internally when both accounts are at the same institution 6. CoDi's technical documentation is released only after a developer signs a confidentiality agreement with Banxico 5.

Use cases

  • Person-to-person and bill transfers between any two SPEI participants, from a bank's app or website 1.
  • QR and NFC payments at shops, via CoDi. The seller's request is accepted on the buyer's phone and settled by SPEI; Banxico's notification service confirms the result to both sides 6.
  • Phone-number transfers, via Dimo 4.
  • Government bodies can be SPEI participants in their own right 1.
  • Foreign-exchange settlement: operators of international FX settlement systems that include the peso may participate, and orders sent to CLS are billed per operation 1.
  • Fintech payments: institutions can connect directly to Banxico or reach SPEI through a bank as indirect participants 13, 1.

Implementations

Operator: Banco de México, as administrator and operator 1.

Open-source libraries. The open code found works on SPEI's identifiers and receipts, not on the participant message interface:

Repository Language Stars Last active What it does
center-key/clabe-validator TypeScript 81 Oct 2026 Analyses or creates a CLABE (bank, city, check digit) 10
cuenca-mx/clabe-python Python 43 Aug 2026 Validates and computes CLABEs; a Pydantic type 11
cuenca-mx/cep-python Python 20 Sep 2026 Client for Banxico's CEP service, to validate a transfer and fetch its receipt 12

Star counts and activity read from the GitHub API on 19 Oct 2026.

Fun facts

  • A 90 % fee cut in ten years. Banxico charged banks MX$1.00 per SPEI operation in 2004, MX$0.50 from April 2006, and 10 centavos by 2013 2, 8.
  • The name isn't checked. The CEP looks a payment up by the beneficiary's account and the amount, and Banxico disclaims responsibility for the receipt's contents, which come from the receiving institution 3; the CONDUSEF fraud warning built on this is described in the SPEI scheme article.
  • One clock for the whole country. Before 24/7, SPEI's hours were set by Banxico: 6:00–17:30 from September 2014 and 5:00–1:00 from November 2014 8.

Comparison

SPEI CoDi DiMo
What it is Settlement rail 1 Payment requests on SPEI 6 Phone-number addressing on SPEI 4
Payee identified by CLABE, debit card or phone number 3 The request (QR, NFC or internet) 6 Linked mobile number 4
Launched 13 Aug 2004 1 30 Sep 2019 6 23 Feb 2023 4
Public code format None Confidential, behind an NDA 5 None

Choosing. A payer who knows the payee's CLABE uses SPEI directly. A seller who wants the buyer to scan rather than type uses CoDi, and someone with only a phone number uses Dimo; all three settle on SPEI. Unlike Brazil's Pix, whose QR follows the public EMVCo merchant format, Mexico's QR layer has no public format mx-codi.

Status

Active. SPEI operates 24/7 1, and its third-party volume grew from 0.69 billion transfers in 2019 to 7.02 billion in 2025 mx-spei. Circular 9/2026 requires all participants to adopt Banxico's common design guides for mobile transfers by 14 December 2026 7.

Sources

Deployments

Countries whose payments overview mentions this standard:

source · content/standards/spei/index.md