#Kamesh-dispute
1 messages · Page 1 of 1 (latest)
👋 Happy to help
What is the right web_hook event that can be used to send an email notifying that a dispute was created?
When a dispute is created,charge.dispute.createdwill be sent. https://stripe.com/docs/disputes/responding
Is there any relation between the event charge.dispute.funds_withdrawn and the field is_charge_refundable ? We noticed that the event is not generated when the field is set to true. Is this expected? What is the business logic behind this?
Can you share an example event ID?
i got a charge id. will that help?
we have an implementation of dispute created email notification based on charge.dispute.funds_withdrawn (though the event charge.dispute.created should be used)_ is there any chance that the charge.dispute.funds_withdrawn event is created when a dispute is created? I am trying to understand how this was working for us earlier or if there is any misunderstanding.
Hi @molten bramble I'm taking over, give me a sec to catch up.
The charge.dispute.funds_withdrawn event happens when funds are removed from your account due to a dispute, which indicates you as a merchant lost the dispute, this usually happens later than charge.dispute.created.
Thanks for the response. But is charge.dispute.funds_withdrawn event always thrown after the dispute is lost or does the merchant gets funds_withdrawn and then the merchant is given a chance to counter the dispute? '
If you want to get notified on the dispute result, you shall listen to charge.dispute.closed and check if the status changes to lost or won
I got examples where the funds_withdrawn event is sent at the same time as created event. and cases where the funds_withdrawn event is sent after a month when the dispute was lost. can you please confirm what business logic drives this behaviour?
can you send me the event IDs?
du_1LEPawHnOxCkmtuKFU0UWB9g - scenario where we actually won the dispute which contradicts your earlier statement,
I don't see charge.dispute.funds_withdrawn in this dispute object, I see charge.dispute.funds_reinstated` instead
du_1LIywIHnOxCkmtuKzVSsixUf - scenario where the funds_withdrawn event was sent a month after the created event and eventually lost the dispute
shows funds_withdrawn
funds reinstated was sent after the dispute was won
Let me check something, one sec
Thanks
Thanks for the waiting.
If a retrieval / inquiry is escalated to a dispute, then the same dispute object will be updated with a new status of "needs_response". So the full sequence of events you will get are:
- On inquiry creation - you get charge.dispute.created with status warning_needs_response
- On escalation to a dispute - you get charge.dispute.funds_withdrawn with status needs_response
Thanks for the response. but why some funds withdrawn event happen immediately while some happens after a month>?
Yes, it happens and it's up to the card issuers https://stripe.com/docs/disputes/how-disputes-work?dashboard-or-api=api#inquiries
Thanks. What is the best event which can be used to notify the merchant that they need to provide evidence to counter dispute the dispute?
we are using funds_withdrawn but that doesn't seem like the right one when the event is thrown month after dispute is created when the dispute is already lost
https://stripe.com/docs/disputes/responding you shall listen to charge.dispute.created as advised in this doc