#jarcher - Custom Connect
1 messages ยท Page 1 of 1 (latest)
Hi ๐
Since you are the platform you would need to provide all the interactions with the Disputes API for your Custom Accounts
You can get started understanding how the API and Stripe handle disputes here:
https://stripe.com/docs/disputes
@ancient canopy This doesn't seem right, when I query this API there's no data even though there's a list of disputes in my dashboard
You are the platform account, correct?
Yes
Okay can you share a dispute ID so I can check?
Here's an example of a "disputed" payment https://dashboard.stripe.com/payments/pi_3LICufBsYzIqHjob0adni1fB
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
when I run const disputes = await stripe.issuing.disputes.list({ limit: 100, });
Stripe API throws an error: "Your account is not set up to use Issuing"
so instead I'm running const disputes = await stripe.charges.search({ query: "disputed=true" });
I'm fairly sure you're looking at the wrong part of the API; try here: https://stripe.com/docs/api/disputes
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
stripe.disputes, not stripe.issuing.disputes