#Kobweb

1 messages · Page 1 of 1 (latest)

flint streamBOT
shrewd kindle
#

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

white pulsar
#

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) ?

shrewd kindle
white pulsar
#

Thanks i will dig that !