Chargeback/MED flow explanation

Overview


Whenever there is a dispute over a PIX by the Central Bank, called MED, we will send a webhook to the registered URL. MED webhook example:


{
    "type": "PIX_MED_RECEIVE",
    "data": {
        "pix_med_id": 2,
        "name": "xxxxxxx xxxxxxx xxxxxxx",
        "cpf": "xxxxxxxxxxx",
        "amount": 10000.0,
        "due_date": "2024-05-16T15:00:00Z",
        "e2e": "Exx231xxxxxA9R4S8A1",
        "qr_code_id": xxxx,
        "qr_code_status": "CHARGEBACK",
        "qr_code_copy_and_paste": "00020101021226970014br.gov.bcb.pix2575qr-h.cornerpix.com.br/11581339/v2/cobv/fafaf5d3-f8a6-45bc-8b80-e4e94f99c92d5204000053039865802BR5914BMP MONEY PLUS6009SAO PAULO62070503***63048904"
    }
}

After receiving the webhook, it is necessary to call the "Respond to PIX Chargeback Request" to accept or not, and a proof file can be sent.

It is also possible to see the current status through the request "Get details of a Chargeback PIX request"