#icurrytheteam
1 messages · Page 1 of 1 (latest)
Hi there, you can use the API to update the payment method https://stripe.com/docs/api/payment_methods/update?lang=node#update_payment_method
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
May I have a second to look at this?
Ok, so a couple questions if I may ask.
Let's assume a customer has multiple payment methods saved and I want to update one of them. How would I know which one to update?
https://stripe.com/docs/api/payment_methods/customer_list?lang=node#list_customer_payment_methods you can retrieve the list of payment_methods by using this API
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Ok and is there functionality to save a new payment method during payment?
Yes, this is the guide https://stripe.com/docs/payments/save-during-payment
Sure, thanks