#pinkmel-paymentintent-carddetails
1 messages · Page 1 of 1 (latest)
pinkmel-paymentintent-carddetails
Hey @smoky void the card details live on the Charge object itself. When you look at a PaymentIntent it will have latest_charge: 'ch_123' set on it. You can use the Retrieve Charge API https://stripe.com/docs/api/charges/retrieve to fetch it, or when you retrieve the PaymentIntent you can use our Expand feature https://stripe.com/docs/expand to expand the latest_charge and get both objects at once.
No need to wait for the Event
we are using this call from the front end https://stripe.com/docs/js/payment_intents/retrieve_payment_intent there is no other parm allowed other than the client secret. Note that we are not using stripe checkout session but a stripe payment element to a client_secret return by our BE upon createPaymentIntent call to stripe.
you can never do that from the front-end