#meisei-PaymentIntent
1 messages · Page 1 of 1 (latest)
Hi there, you can't update the card number of the payment method, instead you can just create a new one.
Well
I used the payment method to stripe subscription
If I create a new one, what steps should I do?
I mean, if this payment method has been used for subscription, then I create a new one for changing card number, will it effect the subscription?
After creating the new payment method, you can set it as the default payment method of the susbcription (https://stripe.com/docs/api/subscriptions/update?lang=php#update_subscription-default_payment_method) and it's be used for the next invoice.
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
You don't need to delete, but you can detach it from the customer (https://stripe.com/docs/api/payment_methods/detach?lang=php)
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