MED (Special Returns)
MED (Special Returns)
MED (Special Returns)
MED (Special Return Mechanism) is a BACEN mechanism that allows a payer’s institution to request the return of PIX funds in cases of fraud or operational errors. When your account is the recipient of such a request, the BRZ API lets you respond to it and list all inbound MED requests by status.
MED endpoints use Bearer Token authentication. Scopes required: pix:med:read (list) and pix:med:write (respond).
pix.med_refund.received) and the MED appears with status OPEN.approve or reject.Use this endpoint to list all inbound MED requests filtered by their current status:
Response:
Once you have reviewed an inbound MED request, respond with approve or reject:
Subscribe to the pix.med_refund.received event to be notified in real time when a new MED request arrives. See the Webhooks Integration guide for setup instructions.