【发布时间】:2023-03-18 03:55:01
【问题描述】:
我正在使用 Stripe API 和 Stripe Connect。我想将钱从客户转账到 Express Connected 账户。我想使用direct 费用,但从文档中不清楚,我应该如何使用它。文档说:
To directly charge on the connected account, perform a standard
create charge request using your platform’s secret key while
authenticated as the connected account:
curl https://api.stripe.com/v1/charges \
-u {STRIPE_SECRET_TOKEN}: \
-d amount=1000 \
-d currency=usd \
-d source=tok_visa \
-H "Stripe-Account: {CONNECTED_STRIPE_ACCOUNT_ID}"
据我了解,这意味着将向关联的帐户收费。但是文档并没有说明如何转移到已连接的帐户。
【问题讨论】:
标签: stripe-payments stripe-connect