#steffen2248_api

1 messages ยท Page 1 of 1 (latest)

twilit lanceBOT
#

๐Ÿ‘‹ 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.

fleet charm
#

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

onyx knot
#

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.

fleet charm
#

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

twilit lanceBOT
fleet charm
#

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.

onyx knot
#

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

fleet charm
#

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

onyx knot
#

Ah I see

#

Okay thank you. I will then need to work arround that. Appreciate your help!