How Pix works
Pix supports multiple initiation methods:
- Pix Keys: CPF/CNPJ, phone number, email address, or EVP (random key)
- QR Codes: Static (reusable) and dynamic (single-use, metadata-rich)
- Manual entry: Full banking details (bank, agency, account)
Why Pix matters
Pix combines speed, accessibility, and regulatory-grade security:
- Instant settlement: Routed and cleared in seconds
- Always available: 24/7 operation
- Low cost or free for individuals
- Secure and auditable: Every transaction has an E2E ID
- User-friendly: Human-readable identifiers reduce friction and errors
Pix modalities
Pix supports several operational flows defined by BACEN:
| Type | Description |
|---|---|
| Common Pix | Standard transfer via key or full account details |
| Pix QR Code | Static or dynamic EMV-based payment initiation |
| Pix Saque | Cash withdrawal at authorized merchants |
| Pix Troco | Payment + cash withdrawal in a single operation |
| Pix Cobrança | Pix with due dates, penalties, discounts, and reconciliation |
| Pix Agendado | Scheduled Pix |
| Pix Automático | Recurring payments |
Pix infrastructure: SPI and DICT
Pix relies on two core services operated by BACEN:
SPI — Instant Payment System
The SPI is Pix’s settlement engine. It handles:
- Transaction routing between institutions
- Real-time clearing
- Final, irrevocable settlement
DICT — Directory of Transactional Account Identifiers
DICT is the nationwide registry that stores Pix keys. It ensures:
- Key uniqueness
- Lookup of recipient information
- Portability between institutions
- Ownership validation
- Fraud and dispute checks (linked to MED and infractions)
Participants in the Pix ecosystem
BACEN defines participation models based on how institutions connect to its infrastructure:
Direct Participants
Institutions that connect directly to SPI and DICT. They manage:- Their own Pix messaging and connectivity
- Real-time liquidity
- Full regulatory, operational, and security compliance
Indirect Participants
Institutions that access Pix through a direct participant (the “sponsor”). The sponsor handles:- Connectivity
- Clearing
- Settlement
- Compliance with BACEN protocols
A practical way to understand it
| Scenario | Direct participation | Indirect participation |
|---|---|---|
| Transportation | Owning an airplane and being a licensed pilot | Flying using a commercial airline |
| Food service | Opening your own restaurant with all legal permits | Operating inside a licensed kitchen |
| Real estate | Building an entire building | Renting an apartment in a completed building |
PSTI — Information Technology Service Provider
A PSTI is a BACEN-regulated provider authorized to operate the infrastructure required for financial institutions to connect to the RSFN (National Financial System Network). Using a PSTI allows institutions to:- Connect to BACEN networks without building full infrastructure
- Rely on certified, secure, and compliant systems
- Maintain control of their ledger and business logic
Requirements for participation
To offer Pix, institutions must follow BACEN’s operational and security standards, which typically include:
- mTLS authentication and ICP-Brasil certificates
- Regulated connection to the RSFN (directly or via PSTI)
- 24/7 availability and redundancy
- Real-time monitoring and SLA adherence
- Fraud prevention and dispute handling (MED)
- Compliance with DICT and SPI message formats
- Timely reporting, logging, and auditability
- Following nightly limit rules and configurable customer limits
In short
- SPI handles settlement
- DICT manages Pix keys
- Direct or indirect participants connect through certified gateways
- PSTIs provide regulated infrastructure
- Pix modalities support everything from simple transfers to QR Code payments and invoicing
- BACEN regulations ensure interoperability, security, and traceability
Pix in the Lerian platform
Lerian provides Pix Switch — a unified plugin that implements the complete Pix orchestration layer for financial institutions. Pix Switch handles all the complexity described above — DICT management, transaction flows, QR Codes, MED, refunds, and more — through a single API. Institutions configure their connectivity provider, and the plugin handles the rest. Key characteristics:
- One plugin, any provider — A provider adapter layer abstracts the connectivity provider, so your integration stays the same regardless of how you connect to BACEN
- All participation models — Whether your institution participates directly or indirectly, the API is identical
- Native ecosystem integration — Works with Midaz (ledger), CRM, Fee Engine, Reporter, Matcher, and other Lerian products
Pix Switch
Learn how Pix Switch works, what it provides, and how to get started.
Main domains
Explore the core Pix domains: DICT, Transactions, QR Codes, and MED.

