#bilalahmer
1 messages ยท Page 1 of 1 (latest)
Hi ๐
It depends on what you want to update. We show you what you can update with the API here: https://stripe.com/docs/api/payment_methods/update
I want to update the card number so for that do I need to create new setupIntent or can be done with the existing setupIntent ?
Yes that needs to be a new Payment Method. If you have already confirmed a previous setup Intent you will need to create a new one.
So it is like the user data is stored by using old API'S and now I'm migrating to setupIntent API.So the user dont have a previous setupIntent confirmed .
That sentence doesn't make any sense to me.
Setup Intents are not intended to be re-used to update Payment Method details
They are used to create new Payment Methods and associate them with Customers
A new card number will always be a new Payment Method and if you want to create a new Payment Method I do strongly recommend using Setup Intents.
Ok, got it .
Thankyou ๐