Stripe 标准帐户 oauth 将印度设置为国家/地区而不是美国

发布于 2025-01-16 14:40:01 字数 516 浏览 2 评论 0原文

您好,最近 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

国产ˉ祖宗 2025-01-23 14:40:01

您可以通过将 &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

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文