#yornis_best-practices
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/1431219717028315248
📝 Have more to share? Add more details, code, screenshots, videos, etc. below.
Please have some patience
You should be able to update the address for the individual: https://docs.stripe.com/api/accounts/update#update_account-individual-address
Did you try?
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Hi 🙂
Yes I tried, but “country” isn’t a valid parameter (my IDE highlights it), and adding it to the metadata doesn’t seem to have any effect :/
Because it's individual[address][country]
Oh yes 🤦‍♂️ I see! I’ll test that right away
Hey, taking over here. Let me know if there's any follow-up Qs I can answer!
It doesn’t work, I’m getting this error :
{ "message": "Address for business must match account country", "error": "Bad Request", "statusCode": 400 }
I also tried with a complete address, but it still doesn’t work
Can you share the ID (req_xxx) of the failing API request?
https://support.stripe.com/questions/finding-the-id-for-an-api-request
req_G9ZLL5HSYyIeyJ
The connected account's country is FR however you passed a DE address
You need to pass a FR address
Yes, I want to change the account’s country because it should be DE, not FR, in order to complete the onboarding
I’m looking for a way to change the account’s country without asking my users to recreate it (it’s a live/production account).
You can't change it, you need to create a new one then
Oh no… okay. If the user recreates the account in the correct country but with the same email, will Stripe use the most recent one for onboarding and not the first one with the wrong country?
Yes you can use the same email and you can delete the old account:
https://docs.stripe.com/api/accounts/delete
Ok thank you