#hellotika
1 messages · Page 1 of 1 (latest)
Hello! Yes, the last4 is available on the Payment Method: https://stripe.com/docs/api/payment_methods/object#payment_method_object-card-last4
that is the server side endpoint, is it possible on the client side with node
react-stripe-js
Can you tell me more about what you're trying to do exactly?
after confirm payment on the pi, i like to get the last4 digit of the cc and the cc type
on the front end
i know we will get that on the pi webhook
The most you can do client-side is retrieve the Payment Intent with the client secret: https://stripe.com/docs/js/payment_intents/retrieve_payment_intent
there is no expand available on this?