Using Stripe API, 我需要看到一笔转账到我的银行和构成它的所有Stripe支付。

huangapple go评论66阅读模式
英文:

Using Stripe API, I need to see a transfer to my bank and all the Stripe payments that make it up

问题

当Stripe将资金转入我的银行账户时,通常是一组客户付款的集合。例如:向我的银行账户转入100美元,其中包括四位不同客户每人支付25美元。由于他们在同一天支付,Stripe将其作为一笔100美元的转账发送。

通过API,我知道如何查看转入我的银行账户的资金,但我只能看到总金额,无法看到构成总金额的各个客户付款的详细情况。

谢谢!
Dave

英文:

When Stripe sends a transfer to my bank account, it is often a cluster of customer payments. Example: A $100 transfer to my bank account is four different customers paying $25 each. Since they paid on the same day, Stipe sent it as one transfer of $100.

Via the API, I know how to see the transfers to my bank account, but I only see the total amount, and not the breakdown of which customer payments made of the total amount.

TIA,
Dave

答案1

得分: 2

如果您正在使用自动支付,您可以通过检索列出所有余额交易展开属性的source,来查看包含在支付中的费用。这将为您提供所需的支付/费用ID。此外,在费用对象下,您还可以看到payment_intent下的支付意图ID。关于此内容,可以在他们的这里进行查看,并展示了如何实现您要查找的内容的示例代码。但是,如果您使用手动支付,您需要在您的系统中跟踪这些信息。

英文:

If you’re using an automatic payout, you can see the charges included in the Payout by retrieving the List All Balance Transactions and expanding the source of the property. This will give you the transfer/ charge ids you’re looking for on the payout. Also, under the charge object, you’ll also see the payment intent id under payment_intent. They document this here and show an example code on how to achieve what you’re looking for. However, if you're using a manual payout, you'd need to track this on your end.

huangapple
  • 本文由 发表于 2023年5月18日 02:38:41
  • 转载请务必保留本文链接:https://go.coder-hub.com/76275252.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定