Skip to main content
Lerian SPI is Lerian’s own, non-intermediated messaging connector to the SPI (Sistema de Pagamentos Instantâneos), the Central Bank of Brazil (BACEN) infrastructure that settles Pix — Brazil’s instant-payment system — 24 hours a day. It reaches the SPI and its key directory (DICT) over the RSFN, the private national network that carries payment-system messages between participants and BACEN, using ISO 20022 messaging with no connectivity partner between the institution and BACEN. It gives a participant institution a direct path to send and receive Pix, manage Pix keys, issue QR charges, run recurring authorizations, and handle disputes and refunds — all directly against BACEN, with every position booked in Midaz, the ledger.

Who it serves


Lerian SPI serves financial institutions that participate in Pix under their own ISPB. Those participants send and receive instant payments, register and resolve Pix keys, issue immediate and due-date charges as BR Code QR, run Pix Automático recurring mandates, and open and resolve MED disputes — all directly, without a connectivity partner in the money path.

Four API surfaces


The rail is organized into four API surfaces, each speaking the messaging contract of a specific part of the Pix ecosystem.
SurfaceWhat it covers
PaymentsSending and receiving Pix, payment status and history, returns (devoluções), and Pix Automático recurring authorizations
DICTThe Pix key lifecycle, lookups and batch existence checks, antifraud statistics, and portability and ownership claims (reivindicações)
BR CodePix charges — immediate (Cob), due-date (CobV), and batch — and the EMV QR payloads that resolve to them
Core & MEDParticipant registration and lifecycle, MED disputes and refunds, and Conta PI settlement reporting

Settlement is real-time and asynchronous


The SPI settles each Pix individually, in real time, around the clock. When you submit a payment, the platform dispatches an ISO 20022 credit-transfer message (pacs.008) and returns an accepted-but-not-settled state — dispatch was accepted, not that BACEN has settled it. BACEN confirms asynchronously through a status reply (pacs.002), which the rail validates and applies to move the payment to settled or rejected. Every payment is tracked by its end-to-end ID (E2EID).

Money-neutrality


Lerian SPI is money-neutral by design. It forwards the amounts you declare exactly as declared and computes no balance or position of its own. Every accounting position lives in Midaz; Lerian SPI carries the message and its settlement state, and Midaz records the money.

Glossary


TermMeaning
Lerian SPILerian’s native Pix Direto rail — a direct BACEN integration over the SPI.
PixBrazil’s instant-payment system, operated by BACEN and settling 24/7.
SPI — Sistema de Pagamentos InstantâneosBACEN’s instant-payment settlement infrastructure.
DICT — Diretório de Identificadores de Contas TransacionaisBACEN’s Pix key directory.
Pix keyAn alias — phone, email, tax ID, or random EVP — that resolves to an account.
ISPB8-digit code identifying a participant institution in the Brazilian payment system.
End-to-end ID (E2EID)The 32-character identifier tracking a single Pix payment across the rail.
BR CodeBrazil’s EMV QR standard (QRCPS-MPM) for Pix, static or dynamic.
Cob / CobVAn immediate Pix charge (Cob) or a due-date charge with interest and fine (CobV).
Pix AutomáticoRecurring and scheduled Pix authorizations — recorrência and agendamento.
MED — Mecanismo Especial de DevoluçãoBACEN’s dispute and refund mechanism for fraud or error.
DevoluçãoA Pix return sent back to the payer against a settled payment.
Reivindicação (claim)A portability or ownership claim to move a Pix key between participants.
Conta PIA participant’s instant-payment settlement account at BACEN, reported via camt.05x.
ISO 20022The messaging standard (pacs / pain / camt) BACEN uses for Pix over the RSFN.
ParticipantA financial institution connected to Pix, identified by its ISPB.
For how Lerian SPI sits alongside the other native rails and the provider interfaces, see Native Messaging.