#karsh
1 messages · Page 1 of 1 (latest)
hi! as far as I know you can't, that's only really a dashboard thing
Okay so if there's no specific stripe tax setting set, it takes the default. But I can't get this through the api. So if I want to know which default tax category a Connect account has set up - I can't.
Then the only way for me to know, is by simply giving all the products a certain tax category when being created - so it'll never default to the one set in the dashboard.
Do you have any other ideas perhaps?
it takes the default
only if you create the product through the dashboard I think. If you create it with the API and don't pass atax_codeit's just null
ultimately if you use the API we expect you to know what you're selling and to pass a tax_code that matches it, you can configure a default in your code that it can pass(https://stripe.com/docs/tax/tax-categories); the dashboard is its own separate thing
if you as a platform are creating Products on the connected account, I don't see why you would want them to use some random default the connected account has, you'd want it to use the category your platform business has decided on
Quite sure it does take the default one even with products created with the API.
Okay got it. Thanks, I understand it better now
One more thing regarding the tax codes. I see in the dashoard when creating a product, there's a searchable list. If I want to provide our users the same, do we need to build it from scratch or is there any thing I can use from the API / js sdk
Quite sure it does take the default one even with products created with the API.
and AFAIK you have to build it, there's no API that lists available tax codes