#GK
1 messages · Page 1 of 1 (latest)
Hello! Are you working with sources, or are you working with PaymentMethods?
I'm currently working with sources
(stripe.customers.listSources)
The default source for a customer should be set at default_source on the Customer (https://stripe.com/docs/api/customers/object#customer_object-default_source)
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Perfect, do you recommend using payment method instead?
Yeah, payment methods are what we currently recommend
Alright if that is the recommendation, which would be the default payment method using PaymentMethods
That would be at invoice_settings.default_payment_method on the Customer