#bernard.eugine
1 messages · Page 1 of 1 (latest)
well the web integrations don't retrieve cards at all. So it's just how it works, the ephemeral key is used to access details/payment methods of a specific customer so our mobile SDKs can display/manage them.
Oh ok. So, how does stored payment methods of returning customers displayed on Web?
get displayed*
they don't
if you need that functionality it's generally something you build custom in your own site
e.g. you might call https://stripe.com/docs/api/payment_methods/customer_list on your server and render the details in a UI on your web page
So even (Save your card) consent has to be done in our webpage?
Is there any way to render the masked card details within the sdk?
not sure what you mean by consent exactly, can you elaborate?
which SDK? if you mean the web, then no, you'd call https://stripe.com/docs/api/payment_methods/customer_list on your server and render the details in a UI on your web page(the API call returns things like the brand/last4 which you can can use to show some list of saved cards with radio buttons or whatever, and call https://stripe.com/docs/js/payment_intents/confirm_card_payment#stripe_confirm_card_payment-existing for example when one is picked)