#nachofranco14
1 messages ยท Page 1 of 1 (latest)
Would you rather check this on the API or Dashboard?
I'd like to use the API
and I have at hand the invoice_id and the charge_id that was disputed
Gotcha. On the dispute object, you would look at the balance transaction: https://stripe.com/docs/api/disputes/object#dispute_object-balance_transactions. That balance transaction has fee, fee_details, and net properties that you can examine: https://stripe.com/docs/api/balance_transactions/object
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
cool, lemme check it and come back in a few minutes ๐
btw, is the same balance transaction as the charge that was disputed or is it a different one?
No it will be a different balance transaction object
If you don't have the dispute id, you can list disputes by charge: https://stripe.com/docs/api/disputes/list#list_disputes-charge
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
yes, that's what I'm doing
thakns
so I don't need to retrieve the balance transactions, they are already there, it's an array of objects
very good! ๐
Yeah it should be on the dispute