#mattnenterprise - Refunds
1 messages · Page 1 of 1 (latest)
HI 👋
You're talking about this parameter, yes?
https://stripe.com/docs/api/charges/object#charge_object-refunds
Yes.
Let me test that out
Okay I can confirm that the most recent refund is the first in the list of refunds associated with a charge.
Since the charge.refunded event fires when the refund is created, that means charge.refunds.data[0] will always be the refund that triggered the event.