#armanelli
1 messages ยท Page 1 of 1 (latest)
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
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
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!