简体   繁体   English

通过Stripe API查询付款

[英]Querying a payout via Stripe API

I am fetching the contributing transactions for a given payout token via the Stripe API (PHP). 我正在通过Stripe API(PHP)获取给定支付令牌的贡献交易。 The query returns no errors, and shows 9 contributing transactions, all correct. 该查询未返回任何错误,并显示9个促成的事务,都正确。 However, the amounts shown did not add up to the total paid into the bank. 但是,显示的金额并不等于支付给银行的总金额。 I logged on to Stripe itself, searched for the given payout token, and was shown a listing of the transactions - except now there were 11! 我登录到Stripe本身,搜索给定的支付令牌,并看到交易清单-除非现在有11个! I've repeated the process a number of times, but each time I only get the same 9 transactions via the API instead of the complete 11 I get on their site. 我已经重复了多次该过程,但是每次我仅通过API获得相同的9笔交易,而不是通过其网站获得的全部11笔交易。

Can anyone point me towards a solution? 谁能指出我的解决方案? Is there some reason Stripe would truncate an API response for a single payout? 是否有某些原因让Stripe截断一次付款的API响应? I cannot see any mention of doing so in their documentation. 我在他们的文档中看不到有任何提及。

The answer lay in providing a 'limit' parameter to my request. 答案在于为我的请求提供“限制”参数。 It defaults to 10. 默认为10。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM