Is it possible to get the last 4 digits of a card from the PaymentIntent object (not same as Charges API) using Stripe PHP SDK?
You can get from Charge
object included in PaymentIntent
.
PaymentIntent->charges->data
https://stripe.com/docs/api/charges/object
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With