#dan-burke
1 messages · Page 1 of 1 (latest)
👋 no need to create a new thread you can keep asking questions in your existing thread as long as the thread has not been archived yet.
With that, I'll archive the other thread so we can keep this discussion here
This document talks about how setting the payment details as a default Payment Method works: https://stripe.com/docs/api/payment_methods/attach. To set default for invoice or subscription payments, set invoice_settings.default_payment_method, on the Customer to the PaymentMethod’s ID, https://stripe.com/docs/api/customers/update#update_customer-invoice_settings-default_payment_method
thanks for sharing that! so, is the answer to my question overall then no? I'd have to listen for a payment method webhook and then make it the default for the customer?
If it's a new customer, you can set this up on the creation, https://stripe.com/docs/api/customers/create#create_customer-invoice_settings-default_payment_method. Otherwise, you'll need to make a Customer Update API call
thanks!