#faz919-update customer
1 messages · Page 1 of 1 (latest)
hey, there is no payment_method parameter when trying to update a customer https://stripe.com/docs/api/customers/update
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
yes but this only related to invoices/billing
you could use https://stripe.com/docs/api/payment_methods/attach to attach a payment_method to a customer if you want to
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
let me know if you need any more help
let me just run a test and see if it works
then ill get back to you
syntax on this is all good?
you need to test it but it seems good to me
aight
so then after i attach a payment method to a customer, can that payment method be used again in the future for a different customer
no
yes
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
besides the customer going in to their billing portal and manually doing it
ah aight just the same method
cool
but you won't be able to attach it to another
if you're using billing portal you don't have to worry about this
i am
when I say you can't use the same payment method I don't mean the card number
the same card can be used to create multiple payment methods
let me know if you need any more help