#armanelli

1 messages ยท Page 1 of 1 (latest)

gloomy badgerBOT
fringe ember
#

Hi ๐Ÿ‘‹ I don't think that detail is directly provided on Invoices (though I will file feedback that it would be useful to have that information), so I think you'll need to retrieve the underlying Charge object to see this retroactively.

I would suggest looking at the Charge referenced in latest_charge on the Payment Intent you were looking at (the field may be charges depending on your API version) and see if the date on that Charge aligns with what you were expecting.
https://stripe.com/docs/api/payment_intents/object#payment_intent_object-latest_charge

scarlet bloom
#

Thank you! I was able to use the "expand" option on the latest_charge field while retrieving the payment_intent, now I have all the info of the charge that succeeded and will use those fields when updating my invoice.
Thanks!

fringe ember
#

Any time!

#

I'm closing this thread, but if there are additional questions or anything else that we can assist with, then please let us know in #dev-help. ๐Ÿ‘‹