#jm-last4
1 messages · Page 1 of 1 (latest)
the problem is that I'm not sure how to access the setupIntent ID from the invoice object.
I can get individual card last4s from paymentmethod.List, but I can't get them linked to invoices.
Is there a way to track invoice -> payment used?
Or you can share with us the invoice object? btw my shift is ending, my colleague will join this thread soon to support you.
Hi, I'm taking over this thread!
In the Invoice there is a charge object, and in the Charge there is a payment_method_details object that contains information about the card (including the last 4 digits used).
Hello! I just tried expanding "charge" and got a nil return value.
In the invoice you shared, the amount paid is actually $0, so there is no charge in that case (no credit card was actually used).