#Wakeuphate - Disputes

1 messages ยท Page 1 of 1 (latest)

tropic bluff
#

Hi ๐Ÿ‘‹

gentle axle
#

Hey ๐Ÿ™‚

tropic bluff
#

Do you have some concrete examples you are curious about?

gentle axle
#

So what we're trying to do really is derive status for an invoice that's been disputed and alert the user

#

My problem is that to derive that I'll need to reach through the payment intent or the charge - Payment Intents I am pulling down to our DB but Charges I am not yet

tropic bluff
#

Okay, that makes sense.

gentle axle
#

I'm really asking to find out if I need to also ingest Charges too as a possible way to reach the Dispute

tropic bluff
#

In some cases (I'm looking at a test dispute in my own account now), the associated charge record will have an associated_payment_intent set (if the charge was generated from a Payment Intent).

#

In either case you would want to expand the transaction property to get a view into what the transaction is that is being disputed.

gentle axle
#

hmm I dont see that listed anywhere in the docs, is it metadata? (the charge, that is)

tropic bluff
#

Which docs are you referring to? It'll help if we're on the same page

gentle axle
#

I think it might be looking like the path back to an invoice is dispute -> charge -> invoice

tropic bluff
#

Yes I think there are some discrepancies in our docs and the current Dispute object. Can you share a Dispute ID so we can talk about a specific record?

gentle axle
#

Unfortunately not at the moment, i'm currently just testing for the most part - we have a lot of live customers but i've not yet pulled any disputes in

#

I'm not even sure there are any yet

tropic bluff
#

Testing is definitely encouraged.

#

Making sure the behavior is exactly what you expect is why we build such a robust test mode

gentle axle
#

Yeah fair enough, I'll fire through some alternate payment method disputes and have a play, just thought I'd check first.

#

Thanks for the assistance!