#surgical
1 messages · Page 1 of 1 (latest)
From the charge.refunded webhook event you'd need to retrieve the refunds for that charge (https://stripe.com/docs/api/refunds/list#list_refunds-charge) and then check the date of creation
okay thanks. do you know if i can rely on the fact that the list of refunds in the charges object ,is ordered by date descending? meaning charge.refunds[0] is always the newest refund?
Yeah the first refund charges.refund[0] should be the newest one
amazing