【发布时间】:2017-06-05 13:17:48
【问题描述】:
您好,我正在开展一个项目,我必须使用条带连接 API 检索用户条带余额交易历史记录。所以我有我的用户 access_token,但我无法确定如何将它与 Stripe::BalanceTransaction 请求一起使用。
例如,如果我想找回余额,我可以这样做:
Stripe::Balance.retrieve({:stripe_account => access_token})
但是同样的事情对 BalanceTransaction 不起作用
Stripe::BalanceTransaction.all({:stripe_account => access_token})
显然我遗漏了一些东西,但在查看 API 文档后,我不确定那是什么。
【问题讨论】:
-
文档中是否存在这样的api?什么错误?
-
据我所知,对于您拥有连接授权的帐户,您应该能够检索您自己帐户的所有数据。
-
你能获取 1
BalanceTransaction吗?如果是的话怎么办?你有什么错误吗?
标签: ruby-on-rails ruby stripe-payments stripe-connect