#Kobweb
1 messages · Page 1 of 1 (latest)
To show a customer their payment methods, you can use our "list all paymentmethods" call and filter by the customer's ID
https://stripe.com/docs/api/payment_methods/list#list_payment_methods-customer
The Customer object's invoice_settings.default_payment_method field is what determines the default payment method. That field is how you can show your user their default and you can update that field if they want to change it.
https://stripe.com/docs/api/customers/object#customer_object-invoice_settings-default_payment_method
Also there is the Customer Portal which is a prebuilt page that you can use to allow your customer's to manage their saved payment methods https://stripe.com/docs/customer-management
Thanks, that's great, now, how i can give the possibility to my customer to create new paiement method directly from my website (no stripe redirection) ?
This guide shows how to do that: https://stripe.com/docs/payments/save-and-reuse?platform=web
Thanks i will dig that !