#Breno Vergílio
1 messages · Page 1 of 1 (latest)
Hi 👋 I believe so, you'll want to provide the ID of the Payment Method to be used as default via invoice_settings.default_payment_method:
https://stripe.com/docs/api/customers/create#create_customer-invoice_settings-default_payment_method
However, I believe that requires the Payment Method already be attached to the Customer as well, so in order to set that during creation I believe you'll need to set both the above field and payment_method:
https://stripe.com/docs/api/customers/create#create_customer-payment_method
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Ok, thank you
Any time!