#boehmi-dispute-dates

1 messages · Page 1 of 1 (latest)

languid nymph
languid nymph
modest vine
#

Ah alright, so besides catching the event there's no way basically? We have a little statistics tool that works with only the data from the API

languid nymph
#

no as far as i know that date isn't on the object

#

if you added a webhook endpoint, you could set that date on the dispute object metadata to let your stats tool access that

#

set metadata[closed_event_date]={timestamp of event receipt}

#

then you could get that metadata back from the api

modest vine
#

Oh yeah, that sounds like a good idea. That's gonna be all the help I needed, thanks!

languid nymph
#

excellent, glad i could help!

hoary halo
#

@modest vine depending on what you're really trying to do here, it may be worthwhile to point out that the charge.dispute.closed date is generally when Stripe closes the dispute, and may not reflect anything else concrete about the underlying dispute with the card network

#

This is because of the way disputes work with networks under the hood: a "loss" is when the network claws the funds back. A "win" is when the network returns them ... without eventually clawing them back again.