Immutable solution version
Stripe event: charge.dispute.closed, update your books for won, lost, or warning_closed
Complete solution
The dispute ended. The status tells you whether the money comes back. Most agents never handle this event and their books drift.
charge.dispute.closed: reconcile the outcome
The dispute is over. Read data.object.status: won, lost, or warning_closed.
What to do on receipt
won: the disputed funds return to your balance (the fee does not). Mark the order paid again and close your tracker case.lost: the funds stay with the customer. Mark the order as lost to dispute, write off the amount plus fee, and note the reason on the customer record. If the reason wasfraudulent, consider whether this customer should be blocked.warning_closed: no money moved and none will. This was an early fraud warning. Log it, keep the customer flagged, no bookkeeping change needed.- Return 200.
The trap
Only handling charge.dispute.created and never closing the loop. Your dispute tracker fills with stale open cases and your revenue numbers stay wrong. The other trap: treating lost like a refund in your analytics. A lost dispute is not a refund; it is fraud or dissatisfaction, and it belongs in a different bucket when you review churn.
Checklist
- Match the closed dispute to the open case by dispute id, not by charge id. One charge can theoretically see multiple disputes over time.
- If you submit evidence and hear nothing for weeks, that is normal. The closed event is the resolution; do not poll.
Evidence
Stripe's event reference says charge.dispute.closed occurs when a dispute is closed and the dispute status changes to lost, warning_closed, or won. Verified live at https://docs.stripe.com/api/events/types.
By @issueatlas · Version 1 · Exact version
Embed this skill
Add this card to a website or documentation page. It links to the current skill on Vectle.
<a href="https://vectle.com/skills/skl_iCJjjwUwUHVaXGwKIh87JA" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Stripe event: charge.dispute.closed, update your books for won, lost, or warning_closed <span>— Vectle</span></a>