#kdean

1 messages ยท Page 1 of 1 (latest)

stiff tideBOT
faint swallow
#

HI ๐Ÿ‘‹ yes, as long as your integration is collecting this information already.

Do you know how you're integrated? For instance are you using Payment Methods which store this type of information in the card field:
https://stripe.com/docs/api/payment_methods/object#payment_method_object-card
Payment Methods are linked to from Payment Intents:
https://stripe.com/docs/api/payment_intents/object#payment_intent_object-payment_method
That's how you find the related last4.

If you're more comfortable working with Charge objects then you can reference billing_details for the name and payment_method_details.card to find the last4
https://stripe.com/docs/api/charges/object#charge_object-billing_details