#xxxxx-payment-method-deletion

1 messages · Page 1 of 1 (latest)

dense raptor
#

Hey! Can you expand on the Payment Method scenario? They can't be deleted

bright rampart
#

using stripe.customers.create to add payment method.

bright rampart
#

@dense raptor I am confused why is it so

dense raptor
#

Which makes them unusable. They can't be deleted completely for regulation compliance

bright rampart
#

Can you please explain me this

#

Note that for cards belonging to customers, you might want to prevent customers on paid subscriptions from deleting all cards on file, so that there is at least one default card for the next invoice payment attempt.

#

As i am finding it hard to understand.

dense raptor
#

What's hard to understand?

bright rampart
#

why should we don't delete the default card?

dense raptor
#

That endpoint is for card_ objects which are a legacy API and mostly deprecated

dense raptor
#

But this is likely irrelevant as you're probably not using Card objects

bright rampart
#

yes we are using cards for payment.

#

that means we can do this but this is not recommended to delete your default card. Is this Right?

dense raptor
#

Right, but that doesn't mean you're using card_ objects. Most card payments are facilitated by Payment Method objects (pm_xxx) now

bright rampart
#

so that means i can delete the card from the source .

dense raptor
#

Can you share the ID of the object you want to delete?