Hi recently stripe's account API returning country IN instead of US. earlier same thing was returning US.
environment : test
i am using Stripe connect standard accounts to connect merchants on my platform. and issue is when merchant connects with
https://connect.stripe.com/oauth/authorize?response_type=code&scope=read_write&client_id={clientId}
when i get details of returned account using
Account.retrieve(accountId, requestOptions)
it returns country IN instead of US
can someone help me to resolve this issue as i said earlier it was returning US.
CodePudding user response:
You can force the country that the account will be created in by adding e.g. &stripe_user[country]=US
to the OAuth URL:
https://stripe.com/docs/connect/oauth-reference#get-authorize