#scastrec-disputes

1 messages · Page 1 of 1 (latest)

lament edge
#

Hi there! You looking for Issuing disputes? Or disputes on PaymentIntents/Charges?

zinc hill
#

All disputes related to a specific customer.
But in GET /disputes there is no customer ID filter

lament edge
#

Yep see above, you need to expand the charge

zinc hill
#

So, I have to list all the charges of a customer, and then List all the disputes?

#

And same with PaymentIntent...

lament edge
#

If you want to go Customer --> Dispute then yes. If you want to go Dispute --> Customer then you would list all disputes on your account and filter by customer.

#

Actually sorry, that's incorrect. The dispute ID is not associated directly with the Charge (if you want the dispute ID).

#

So you can't get the dispute ID from listing charges.

#

You basically want to do what I stated above.... list all disputes and expand the charge which will then let you filter by customer

zinc hill
#

Thanks.

#

That's a service that I'll provide through Stripe Connect, so I can't realy know the bests way to handle it depending on performance issues.
But, big thanks for this answer.

lament edge
#

Yeah the other thing to do in that case is to ingest disputes into your own Database

#

Then you don't have to retrieve each time.