Stripe - 如何从关联账户的费用中获取余额交易(信用卡费用)
Stripe - how to get balance transactions (credit card fees) from a charge in a Connected account
我正在使用 Stripe。我使用 Connect 代表其他 Stripe 帐户处理信用卡付款。
现在,我想收取信用卡手续费。有这个 API 端点:
https://stripe.com/docs/api/balance_transactions/list
\Stripe\BalanceTransaction::all(['source'=> "ch_xxxxxx"]);
它适用于我自己的 Stripe 帐户。然而,它 returns 一个空列表,用于记录对关联帐户的任何收费。
如何通过 API 获取这些信用卡费用?
您可以使用什么kind of charge are you making on the connected account? The Balance Transactions will only appear as type=charge
then using "direct charges". If you're using Destination charges, these transactions appear as type=payment
with source=py_123
. If you use expansion to get the source
with expand[]=data.source
(data.
because it's a list) you'll find a source_transfer
(doc) 来追踪您平台上的原始费用。
我正在使用 Stripe。我使用 Connect 代表其他 Stripe 帐户处理信用卡付款。
现在,我想收取信用卡手续费。有这个 API 端点: https://stripe.com/docs/api/balance_transactions/list
\Stripe\BalanceTransaction::all(['source'=> "ch_xxxxxx"]);
它适用于我自己的 Stripe 帐户。然而,它 returns 一个空列表,用于记录对关联帐户的任何收费。
如何通过 API 获取这些信用卡费用?
您可以使用什么kind of charge are you making on the connected account? The Balance Transactions will only appear as type=charge
then using "direct charges". If you're using Destination charges, these transactions appear as type=payment
with source=py_123
. If you use expansion to get the source
with expand[]=data.source
(data.
because it's a list) you'll find a source_transfer
(doc) 来追踪您平台上的原始费用。