Fire Bankingdocs
Webhooks

MedAccepted

Overview

The MedAccepted event is sent when the MED analysis is completed and the refund is approved. This means the amount of the original transaction will be returned to the payer.

When you receive this event, the amount has been (or will be) debited from the beneficiary account and returned to the original payer. Update your financial records accordingly.

FieldValue
eventMedAccepted
MeaningRefund approved — amount returned to payer
Recommended actionRecord debit, notify beneficiary, update statement

Full Payload

{
  "event": "MedAccepted",
  "medId": 42,
  "idSolicitacaoDevolucao": "MED-2026041012345",
  "endToEndId": "E12345678202604101030abcdef123456",
  "status": "ANALYZED",
  "reason": "REFUND_REQUEST",
  "cause": "UNAUTHORIZED_TRANSACTION",
  "description": "Customer claims not to have performed the transaction",
  "analysisResult": "APPROVED",
  "analysisDetails": "Refund approved by operator - amount refunded",
  "originalTransaction": {
    "transactionId": 78432,
    "amount": 1500.00,
    "endToEndId": "E12345678202604101030abcdef123456",
    "externalId": "ORDER-78432"
  },
  "blockStatus": "APPROVED",
  "blockedAmount": 1500.00,
  "defenseStatus": null,
  "requestingBank": {
    "ispb": "00000000",
    "name": "BCO DO BRASIL S.A."
  },
  "contestedBank": {
    "ispb": "13140088",
    "name": "ACESSO SOLUÇÕES DE PAGAMENTO"
  },
  "statusHistory": [
    { "status": "OPEN", "date": "2026-04-10T09:55:12.000Z" },
    { "status": "RECEIVED", "date": "2026-04-10T10:00:00.000Z" },
    { "status": "ANALYZED", "date": "2026-04-12T15:30:00.000Z" }
  ],
  "createdAt": "2026-04-10T10:00:00.000Z",
  "updatedAt": "2026-04-12T15:30:00.000Z"
}

Relevant fields in this event

FieldExpected valueDescription
status"ANALYZED"MED analyzed
analysisResult"APPROVED"Refund approved
analysisDetailsstringRationale for approval
blockStatus"APPROVED"Blocked balance approved for refund
blockedAmountnumberAmount refunded (in BRL)
statusHistoryarrayHistory of MED status transitions
statusHistory[].statusstringStatus at that moment (same values as status)
statusHistory[].datestringTransition date (ISO 8601)

Next Steps

On this page