#zeussy
1 messages · Page 1 of 1 (latest)
Hi there!
Customer objects have an address.country property: https://stripe.com/docs/api/customers/object#customer_object-address
But it may or may not be present, depending on how you create the customers.
Hi! It is present, but can I check for all customers at once where they come from?
Like: 20 from france, 10 from Germany etc.
^ for tax reasons
You could list all your customers with https://stripe.com/docs/api/customers/list?lang=node
And then for each check their country, and count the number of customers per country
So yes it's possible, but that's something that you'll have to build on your end
Okay thanks. I am a complete noob when it comes to code so could you please suggest me how I could interact with the Stripe API to extract this data?
We cant' write code here no.
But a first step would be to call this endpoint to list all your customers: https://stripe.com/docs/api/customers/list
I don't understand why the option to view "country" is not visibible here
Would make it a lot easier
I don't know, we are not familiar with the dashbaord here on Discord.