#.abishek
1 messages · Page 1 of 1 (latest)
Hello! We'll be with you shortly. Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
Well there's a created field on the Dispute object which covers first Q
Otherwise, no. You'd track the win/loss via the related events and use the timestamps from those events. Those timestamps aren't stored on the Dispute object
what about the due date?
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Normally the API reference holds the answers to questions like this
you said related events, are those events part of the dispute object?
Well the event contains a snapshot of the Dispute object at the time of the event, yes
sorry, can't seem to find the event property on the dispute object. not sure if I am missing something
There is no event property. Are you using webhooks today? See: https://stripe.com/docs/disputes/responding
not yet, but is that the way to go about ?
For example, charge.dispute.closed will fire when it's closed. And then you can check status field in that event to determine whether won/lost
And the timestamp of that event will denote when it was won/lost
ok
It's a better integration than polling the API for updates yes
i understand and that works for new/current disputes, but API is the only way to get info on past disputes
True. But unfortunately for those it'd be impossible to determine when they were closed without the events
ok