#steffen2248_api
1 messages ยท Page 1 of 1 (latest)
๐ Welcome to your new thread!
โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
๐ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1296756129140965407
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
hi! my first assumption is you can't really, for a Standard account they would mostly need to do this themselves by looking into their Dashboard, but let me look
Yeah, that is what the error message suggests as well.
But I wonder if there is a way to do it via the API. Especially as the Java SDK/API kind of suggests it is possible - at least as far as I understand it according to my code from above.
yeah the parameter you're using seems like the perfect place for this so it is confusing that it doesn't seem to work, still looking
ok so what from what I found, there is a parameter inside https://docs.stripe.com/api/accounts/create#create_account-business_profile called terms_of_service_url which is where that is supposed to be set. You can try use it but I'm 95% confident it won't work since it looks like that is coded to only be settable from the Dashboard(going back to my first reply).
I do think that's an oversight/lack of joined-up thinking unfortunately so I'll report it internally, but for now the only answer I can give is that you'd have to catch the error and tell the account holder to set a URL in that Dashboard page.
hmm, okay that is very unfortunate.
Now I have clarity. I was going mad already ๐
Thanks for helping me out and I hope this will be forwarded to the API Dev team and hopefully improved
Bw. Looking athttps://docs.stripe.com/api/accounts/create#create_account-business_profile I dont see a parameter called terms_of_service_url
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
yeah it's hidden in the reference because it can't be set in the public API, only in the Dashboard, that's what I meant