#jachensh
1 messages · Page 1 of 1 (latest)
Hi, taking a look here
When having a user update their cc details with a new card number, is the only way to do that by creating a new payment method for example via setup intents? I.e. there's no way to "update" a payment_method with new cc numbers?
That is correct. Since this is a new payment method, you could use SetupIntents to accomplish that.
Is detaching a payment method the same as deleting it? Will it still show up when listing payment methods?
Yes, that is correct. Once a PaymentMethod is detached, https://stripe.com/docs/api/payment_methods/detach you can no longer use it for a payment.
thanks @keen forge . Just to be clear, once a PM has been detached, it's essentially deleted from the stripe side? i.e. it won't show up when listing payment methods?
because i see a method for attaching payment method too
i guess i'm looking for a deletion rather than a detachment which could be reattached in the future
There is no explicit deletion here, detaching the payment method is what you're looking for. It will show up on your Dashboard but you can't use it to make a payment.
if detached, can it be reattached again?
That is correct
so...there's just no way to delete a payment method on the stripe side?
Detaching is the same as deleting, but yeah that is right
but once detached, it can be reattached? that isn't the same as deletion
It cannot
oh it cannot be reattached. got it
Sorry, I read too quickly earlier and thought you said can't, my bad.
np. thanks for answering my q's!