如何检索 Stripe 记入我账户的订单金额

How to retrieve amount Stripe credited to my account for an order

我正在使用 Stripe 的支付 API 和他们的 Java 库。我们的 Stripe 账户以欧元计价。

如果我们向客户收取美元金额,并且收费成功,则该费用将以等值的欧元计入我们的帐户。

下单成功后,如何使用Stripe API 立即查出此欧元金额?

您需要retrieve the balance_transaction associated with the charge, using the charge's balance_transaction属性。

转换后的金额将在 balance_transaction 的 amount 属性中提供。