Skip to navigation

pix.med.review.updated

Passo da análise de MED pela CorpX: defesa recebida, esclarecimento, decisão, retenção, devolução e encerramento (campo reason)

Enviado a cada passo da análise da CorpX sobre uma disputa: defesa recebida, esclarecimento pedido, decisão, retenção e liberação de saldo, bloqueio e liberação da conta, devoluções e encerramento. É o evento que acompanha o reviewStatus do guia de MED; o pix.med.updated segue cobrindo o status do liquidante.

data é sempre o retrato atual da disputa; reason diz o que acabou de acontecer. Não é preciso acumular eventos para saber onde ela está.

Estrutura do data:

  • medId, accountId: Identificadores da disputa e da conta.
  • reason: submitted, info_requested, decided, balance_locked, account_blocked, balance_unlocked, refund_sent, refund_completed, refund_failed, remainder_locked, account_unblocked, closed.
  • reviewStatus: awaiting_defense, pending_review, info_requested, in_execution, awaiting_funds, refunded, refused.
  • round: Rodada de devolução a que o passo pertence (vazio fora da execução).
  • decision, decisionMessage: accept ou refuse e a justificativa, a partir de decided.
  • infoRequest.message, infoDueAt: Pergunta da análise e prazo, em info_requested.
  • lockStatus, lockedAmount: Retenção de saldo vigente.
  • refund.amount, refund.endToEndId: A devolução deste evento, em refund_*.
  • refundedTotal, remaining, refundPartial: Totais da devolução.

Headers

X-SignaturestringOptional

Present when the subscription uses authType: HMAC: hex(HMAC_SHA256(secret, raw_request_body)) (64 lowercase hex characters). Compare in constant time against your own computation over the raw body.

Payload

The payload of this webhook request is an object.
idstringRequired

Deterministic event id. Same id means the same event, possibly redelivered — deduplicate on it.

typeenumRequired

Event type. Full list at GET /v1/webhooks/events.

Allowed values:
occurredAtdatetimeRequired

RFC 3339, UTC with Z.

schemaVersionstringRequired

1.0 today; bumped only on breaking payload changes.

environmentenumRequired
Environment that emitted the event.
Allowed values:
tenantIdstringRequired
Tenant the event belongs to.
dataobjectRequired

Event-specific payload. See each webhook.

accountIdstringOptional

CorpX account where the event happened. Empty on cross-account events.

Response

2XX

Acknowledged. Any 2xx within 10 seconds stops retries; anything else is retried with backoff (see the Webhooks guide).