When MED applies
A Pix transaction enters the MED process when a financial institution needs a formal, regulated investigation. Common cases include:
- Fraud (phishing, account takeover, social engineering)
- Unauthorized transactions (the user did not approve the payment)
- Operational errors (duplicate sends, wrong recipient, wrong amount)
- System or processing failures that cause financial impact
Regulatory MED lifecycle
Every MED case runs as an infraction report with a fixed set of states. The report opens as
OPEN, moves to ACKNOWLEDGED, and ends as CLOSED or CANCELLED. Each state carries its own BACEN deadline and response requirement.
Lifecycle overview
Figure 1. MED infraction-report lifecycle stages and transitions
Integration points
MED is a regulatory process, but it works with the core Pix components:
Compliance expectations
An institution that runs MED must:
- Meet every regulatory deadline
- Keep a full audit trail with timestamps and event logs
- Send standardized MED messages to the counterpart institution
- Track each case status and its SLA
- Notify the customer consistently
- Use the correct dispute categories and reason codes
Relationship with refunds and reversals
A refund and a reversal are standard Pix operations. MED provides the regulated mechanism for these cases:
- The refund is tied to fraud or unauthorized activity
- The originating institution disputes the transaction
- The case needs extra evidence and regulated communication
Infraction reports
An infraction report is the formal way a Pix participant reports suspected fraud or unauthorized activity on a transaction. It is the entry point of the MED dispute-resolution process.
When to file an infraction report
A Pix participant files an infraction report when a customer reports fraud or unauthorized activity. The report names the counterparty and starts the investigation. Pix Switch receives the report as the counterparty. It can also cancel a report that it filed as the reporter. An infraction report carries a situation type that classifies the dispute:Time limits and deadlines
An infraction report follows strict regulatory deadlines:Infraction report lifecycle
An infraction report moves through these statuses:Closure and automatic fraud markers
When an infraction report closes with anAGREED result, the system creates a fraud marker for the affected individual automatically. This links the investigation to the anti-fraud system and tracks the flagged individual across the Pix ecosystem.
Available operations
- List: Query infraction reports with filters (status, situation type, linked funds recovery)
- Retrieve: Get the full details of one report
- Acknowledge: Acknowledge an
OPENreport as the receiving counterparty - Close: Submit the analysis with an
AGREEDorDISAGREEDresult - Cancel: Cancel a report you filed (from
OPEN,ACKNOWLEDGED, orCLOSEDstatus)
Refund requests
A refund request returns funds to the original sender after the participant confirms an infraction. It is the financial execution step of the MED process.
When to create a refund request
You create a refund request after the participant investigates and closes an infraction report. The rules depend on the reason:Time limits
Analysis outcomes
When the counterparty analyzes a refund request, one of three outcomes applies:
A rejection carries one of these reasons:
NO_BALANCE (insufficient funds), ACCOUNT_CLOSURE (a closed account), INVALID_REQUEST (a request that does not meet the rules), PARTICIPANT_EXCLUSION (the participant is excluded from settlement), or OTHER.
Available operations
- Create: Open a new refund request for a transaction
- List: Query refund requests with filters (status, refund reason, transaction, infraction report, participant)
- Retrieve: Get the full details of one request
- Close: Submit the closure decision with the analysis result
- Cancel: Cancel a refund request before processing (only from
OPENstatus)
Fraud markers
A fraud marker flags an individual (by CPF/CNPJ) and a Pix key as linked to fraudulent activity. It is a central part of the Pix anti-fraud ecosystem, managed through BACEN’s DICT.
How fraud markers are created
A fraud marker starts in one of two ways:- Directly: A participant registers a fraud marker for a tax ID and a Pix key through the API
- Automatically: When an infraction report closes with an
AGREEDresult, the system creates a fraud marker for the affected individual
Fraud classification types
When an infraction report closes withAGREED, the reporter records a fraud classification:
Fraud marker lifecycle
Only the participant that created a fraud marker can cancel it. A cancelled marker stays inactive. Create a new marker if you need one again.
Available operations
- Create: Register a new fraud marker for a tax ID and a Pix key
- List: Query fraud markers
- Retrieve: Get the full details of one marker
- Cancel: Cancel a marker (only from
ACTIVEstatus)
Statistics and risk assessment
The MED statistics capabilities return aggregated anti-fraud and transaction data for risk assessment. This data helps an institution evaluate the risk of a person or a Pix key before it processes a transaction.
What statistics are available
Statistics come at two levels:Person statistics (by CPF/CNPJ)
This level aggregates data for one individual or entity. The provider returns:- Settlement history: The count of settled transactions over each period
- Fraud markers: Counts by fraud type
- Total fraud amounts: The monetary impact of fraud-related transactions
- Infraction reports: Open and rejected report counts
- Registered accounts: The count of accounts with Pix keys linked to this person
Key statistics (by Pix key)
This level covers one Pix key, plus the current owner’s statistics:- Key-level data: Settlement history, fraud markers, infraction reports, and account registrations for the key
- Owner-level data: The full person statistics for the key’s current owner
Time periods
The provider aggregates statistics over three time windows:Use cases
- Pre-transaction risk scoring: Query the destination key statistics before you approve a cash-out
- Onboarding verification: Check person statistics during account opening or key registration
- Monitoring dashboards: Track fraud-marker trends across your portfolio
- Regulatory compliance: Show due diligence in fraud prevention to auditors and regulators

