英文:
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.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论