#@Manu.el pressed the ๐ก **API** button
1 messages ยท Page 1 of 1 (latest)
Hello ๐
Invoices are not refunded but the Payments associated with them are verified. So, to check this, you would need to investigate any associated Payment Intents and their Charges
For Invoice in_1SnmtzDtLlgoCDIrNPX4ouL6, the associated Payment Intent is pi_3SnmuEDtLlgoCDIr1cY6PlvL. The actual status you want is on the related Charge object ch_3SnmuEDtLlgoCDIr1mzDvHuG
Yup! That will let you know.
We also emit a charge.refunded webhook event. For this Invoice that was this one: https://dashboard.stripe.com/acct_18A5G2DtLlgoCDIr/events/evt_3SnmuEDtLlgoCDIr1dbesw4V
It's not easy to relate that back to the Invoice just from the data in the webhook event but at least it gets you started