#Wik
1 messages · Page 1 of 1 (latest)
Hi! Let me help you with this.
Hi, thanks, I updated my question with more details
I see that the card in question is actually a default_source, not invoice_settings.default_payment_method. It's a legacy property, but it works in the same way.
so how can I check if a card is default_source?
It's the Customer.default_source - https://stripe.com/docs/api/customers/object#customer_object-default_source
thank you!
Happy to help. Please, let me know if you have any other questions.