#gewibu

1 messages ยท Page 1 of 1 (latest)

grand shoalBOT
lean forum
#

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