Stripe 标准帐户 oauth 将印度设置为国家/地区而不是美国
您好,最近 stripe 的帐户 API 返回国家/地区为 IN 而不是 US。早些时候同样的事情正在返回美国。
环境:测试
我正在使用 Stripe connect 标准帐户来连接我平台上的商家。问题是商家与
https://connect.stripe.com/oauth/authorize?response_type=code&scope=read_write&client_id={clientId}
当我使用
获取退回帐户的详细信息时 Account.retrieve(accountId, requestOptions)
它返回国家而不是美国
有人可以帮助我解决这个问题,正如我之前所说的它返回美国。
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.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以通过将
&stripe_user[country]=US
添加到 OAuth URL 来强制创建帐户所在的国家/地区:https://stripe.com/docs/connect/oauth-reference#get-授权
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