#Marth
1 messages ยท Page 1 of 1 (latest)
๐ happy to help
when you create an account you can pass in the optional param country https://site-admin.stripe.com/docs/api/accounts/create#create_account-country
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
in the case you don't it will default to your own country
this is not something that can be changed in the onboarding process
That means that is something i have to setup when i create a new stripe account?
if you know the country of the Connect Account then yes you need to specify it at the creation time
But we are onboarding user from 3 different country. Do it mean i need 3 accounts? XD
are you passing capabilities in the account creation request?
{
"type": "express",
"email": "test@test.de",
"capabilities": {
"card_payments": {
"requested": "true"
},
"transfers": {
"requested": "true"
}
I dont think so
seems like you are, that's what capabilities is in that (if what you posted is the parameters you pas to stripe.accounts.create )
Thats what i found in the API Logs in the connected account in the dashboard.
To be honest. Im not a developer. Im only searching for a solution because the developer dosent responde to me for 4 days.
Now a non developer try to find a solution XD
well the solution would be to change the code that is making that API request to pass the country parameter, it seems like.
But who can i do that?๐ do i have to change the country parameter or the capabilities?
well it depends. If in your code you know what country the user is from or where you'd like to have their Stripe account created in, you should just pass that value to the country parameter.
The other option is to remove the capabilities argument, which then lets the user pick their country in the Express onboarding page, that can pick from the countries you enabled in https://dashboard.stripe.com/settings/connect/express
Okay that means the capabilities argument should be removed right?
Or should be set in a proper way. If its empty, default value will be used from the main account right?
no, if it's not set then the user can pick a country themselves, and then the capabilities of the account they create depends on the country they pick and what you configured in that dashboard page for the capabilities of an account in that country
Okay i think i understand. Question is now where do i made this changes now. Is there a documentation where i find the file i find this?
no, since it's your own code and integration, we wouldn't know where files in your project are located
you could try searching for strings like 'card_payments' or 'stripe.accounts.create' in your projects folder to try to find the relevant parts. I really would recommend having your developer do this instead of course