#hiru99-account-creation
1 messages · Page 1 of 1 (latest)
The API ref tells you this: https://stripe.com/docs/api/accounts/create
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
I am talking about creating customer not connect account so tell me the required field for that
?
My bad
Are you not able to find it in the API reference I linked?
It's here, btw: https://stripe.com/docs/api/customers/create
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
so in this all field is optional so for US country address is required for customer creation ??
?
@scarlet coral
Hi there! I'm taking over this thread
You mean the customer object? Here all fields are optional: https://stripe.com/docs/api/customers/create
okay so address is optional for customer ?
Yes, everything is optional. This will work: const customer = await stripe.customers.create({});
thank you so much for helping me