#befa_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/1392517016224534731
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- befa_french-business-types-support, 6 days ago, 9 messages
Not sure what you mean. You should just be able to set owners_provided within the company hash, no?
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Oh you mean that when creating the token I can provide the owners_provided value directly ?
Yes
OK, but something still is unclear in the doc. I guess I have to provide the account->id also, AM I right ?
OK so there is still something that I don't understand. I will create several accounts. So, by just creating the account token (and providing this owners_provided value) how can I indicate for which account I need to make the update, if I don't provide any account id ?
From the error message:
To set this field create a token with the desired changes. Pass the token with 'account_token' in a request without setting 'company'
We're looping in circles here. I can't update the company / owners_provided value for my connected account without an account_token, right? So you were telling that this value can be added when creating the account_token
- Create account token with owners_provide: https://docs.stripe.com/api/tokens/create_account#create_account_token-account-company-owners_provided
- Update account object with that account token: https://docs.stripe.com/api/accounts/update#update_account-account_token
That's how you update
I'm sorry but I still don't get it (or you don't understand my problem correctly). Let me re-phrase. How can I update the owners_provided value for a specific account. When creating an account token I just receive a global account token, not an account token specifically for the only and one account that I want to update, right?
You can update a specific account with that global token
And I can't update a connected account value which is 'in' the company part
That's what step 2 is
OK, but on step 2 if I try to update the owner_provied value (which is a sub value of the company object) I receive an error indicating that I must remove the company object from my payload since I'm using an account_token
You do not update owner_provided in step 2
You simply pass the id of the account token
Click the link I sent
I already clicked the link, and I already read this page before starting this conversation, but I still don't get how it can be updated
Oh maybe I guess...
When creating the token I send the owners_provided value, but it's just "loaded and not applied". ANd when I call the update method it will retreive this value and update the account with it ?
So if I need to just update this value I just have to send the account_token in the payload and that's it ?
yes
Maybe it's just me but this is soo incomprehensible by just reading the doc ๐
more info in this section: https://docs.stripe.com/connect/account-tokens#updating