Body: When a card network inquiry (dispute state INQUIRY_EVIDENCE_REQUIRED, INQUIRY_PROCESSING or INQUIRY_CLOSED) escalates to a chargeback, does it keep the SAME dispute ID and move on to EVIDENCE_REQUIRED, PROCESSING and then WON or LOST, with a dispute.state.updated webhook each time? Or does the chargeback arrive as a NEW dispute, with a new ID and a fresh dispute.created webhook? And can a dispute in INQUIRY_CLOSED later change state under the same ID? Thanks.
Hi @BY5 , welcome to the forums!
When an open inquiry (INQUIRY_EVIDENCE_REQUIRED or INQUIRY_PROCESSING) escalates to a chargeback, it stays on the same Dispute object. The id doesn’t change, and you receive a dispute.state.updatedwebhook rather than a new dispute.created.
When it escalates the following happens:
statemoves to a chargeback state. This isn’t alwaysEVIDENCE_REQUIREDbut depending on what the card network reports, it can go straight toPROCESSING. From there it continues toWON,LOSTorACCEPTED.brand_dispute_idusually changes to the network’s chargeback case number, and fields likereported_at, anddue_atcan be updated. Always use the latest values.
For an inquiry that’s already INQUIRY_CLOSED, a later chargeback on the same payment may update the existing dispute, or it may arrive as a new dispute with its own dispute.created webhook. Your integration should handle both.
What I’d recommend:
- Track disputes by payment: Use
disputed_payment.payment_idas well as the disputeid, because one payment can end up with more than one dispute. - Refresh dispute details:
dispute.state.updatedis sent when the state changes. To keep fields likedue_atcurrent, call RetrieveDispute when you get a webhook, or periodically while a dispute is open. - Allow for the network: Not every card network uses the
INQUIRY_*states. Some inquiries show up straight away asEVIDENCE_REQUIRED.
Hope that helps! Let me know if you have any other questions