#ryuuuu
1 messages · Page 1 of 1 (latest)
in_1NLk3eASLgCrexvl3TWOJh3e
You need to look at the payment_intent: https://stripe.com/docs/api/invoices/object#invoice_object-payment_intent
On that, you can see the latest_charge: https://stripe.com/docs/api/payment_intents/object#payment_intent_object-latest_charge
Invoice.payment_intent.latest_charge.created - when it was paid.
Invoice.created - when Invoice was created.
And on the charge you can also see payment_method_details.card.last4: https://stripe.com/docs/api/charges/object#charge_object-payment_method_details-card-last4
hmm i see thats alot of expands i need to do
also, what is this date format?
or am i looking at the wrong field
No, that's a Unix timestamp: https://en.wikipedia.org/wiki/Unix_time
You can use this to help make it human-readable: https://www.unixtimestamp.com/
Most programming languages support that.
Happy to help!