#bukkusab-payment_methods
1 messages · Page 1 of 1 (latest)
hello! unfortunately not, you're going to need to loop through the existing payment methods and delete each of them
alright, thanks!
@arctic olive hi again, i'm looking at the payment method object from the list payment method endpoint, how do i know which is the default payment method
you need to check the pm set on the customer's invoice_settings.default_payment_method [0]
[0] https://stripe.com/docs/api/customers/object#customer_object-invoice_settings-default_payment_method