#Wik-invoice
1 messages · Page 1 of 1 (latest)
Hi there 👋 from the invoice you can find the associated Payment Intent which contains a list of related Charge objects in the charges field, but also contains information about the most recent failure in the last_payment_error parameter:
https://stripe.com/docs/api/payment_intents/object#payment_intent_object-last_payment_error
That's great, thank you!