#gewibu
1 messages ยท Page 1 of 1 (latest)
Hello ๐
One option could be to look at amount_refunded parameter and compare it to charge amount
https://stripe.com/docs/api/charges/object#charge_object-amount_refunded
The other would be to expand list of refunds linked to a charge and look at aggregating the amounts
https://stripe.com/docs/api/charges/object#charge_object-refunds
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.