#j546
1 messages · Page 1 of 1 (latest)
Hi, yes when you make that call to Retrieve the PaymentIntent, https://stripe.com/docs/api/payment_intents/retrieve you can use our Exapnd function, https://stripe.com/docs/api/expanding_objects?lang=curl to expand the payment_method . This is where the details you're looking for will be stored.
Can FE just directly call to retrieve stripe.retrievePaymentIntent ?https://stripe.com/docs/js/payment_intents/retrieve_payment_intent
What do you mean by FE?
front-end
Ah! Yeah payment_method, https://stripe.com/docs/api/payment_intents/object#payment_intent_object-payment_method is retrievable with the Publishable key. You can see which parameters are publishable by looking at the 'RETRIEVABLE WITH PUBLISHABLE KEY' tag in the API document.
Thanks! Based on the list you shared, the 'type' of the payment method, doesn't seem there is 'apple pay'/'google pay' type? Or do I check the wrong field? https://stripe.com/docs/js/payment_intents/retrieve_payment_intent
When you use wallets, the type is still a card. The wallet information would be nested under card.wallet, https://stripe.com/docs/api/payment_methods/object?lang=curl#payment_method_object-card-wallet