为什么我在尝试 Stripe Transfers 时收到 'insufficient funds',即使我在我的帐户中添加了 TEST 模式资金?
Why I am getting 'insufficient funds' when trying Stripe Transfers even though I added TEST mode funds in my Account?
我是 Stripe 存储资金并使用 Stripe Connect 向卖家转账
我的问题是,当我尝试将资金从我的 Stripe 账户转移到关联账户(资金处于测试模式)时,出现以下错误
curl https://api.stripe.com/v1/transfers -u sk_test_gjcwEVcKNBSBPQZxk9GdgwkX: -d amount=100 -d currency=gbp -d destination=acct_1EMBnXEZ0uftLeW4 -d transfer_group=ORDER_95
{
"error": {
"code": "balance_insufficient",
"doc_url": "https://stripe.com/docs/error-codes/balance-insufficient",
"message": "You have insufficient funds in your Stripe account. One likely reason you have insufficient funds is that your funds are automatically being paid out; try enabling manual payouts by going to https://dashboard.stripe.com/account/payouts.",
"type": "invalid_request_error"
}
}
我的作品::
所以尝试了我在 Whosebug 中找到的解决方案。我在测试模式下添加了英镑和美元的金额
After adding TEST amount , still I am getting same error. I also tried USD
请帮我解决这个问题。
当您在 Stripe 帐户上收费时,这些资金会进入您帐户的 pending
余额。一段时间后它们会变成 available
,具体取决于您帐户的 payout schedule。如果您使用的是每日自动付款的默认设置,当它们可用时,它们会立即包含在
支付到您的银行帐户。如果您想 积累 available
余额,则需要 set your account 手动支付。
您可以查看余额via the API。
之所以相关,是因为只有当您有足够的 available
余额来支付转账金额时,通过 /v1/transfers
的转账才能成功。有几种方法可以解决这个问题:
- 将您的帐户设置为手动付款,只有在您积累了
available
足够的余额后才进行转帐。
- link the transfer to funds from a specific charge 与
source_transaction
字段。这样,转账 API 请求会立即成功,资金可用时会自动转移。这将是首选。
- 仅在测试模式下,您可以对 0077 test card 进行收费,以直接将资金添加到您的可用余额中。
我 运行 也遇到了这个问题,同时使用一些 Stripe 连接的帐户进行测试。通过在调用中提供 source_transaction
以创建 t运行sfer,您可以在有可用余额之前将资金 t运行sfer 到关联账户。请参阅这些文档:https://stripe.com/docs/connect/charges-transfers#transfer-availability
我是 Stripe 存储资金并使用 Stripe Connect 向卖家转账
我的问题是,当我尝试将资金从我的 Stripe 账户转移到关联账户(资金处于测试模式)时,出现以下错误
curl https://api.stripe.com/v1/transfers -u sk_test_gjcwEVcKNBSBPQZxk9GdgwkX: -d amount=100 -d currency=gbp -d destination=acct_1EMBnXEZ0uftLeW4 -d transfer_group=ORDER_95
{
"error": {
"code": "balance_insufficient",
"doc_url": "https://stripe.com/docs/error-codes/balance-insufficient",
"message": "You have insufficient funds in your Stripe account. One likely reason you have insufficient funds is that your funds are automatically being paid out; try enabling manual payouts by going to https://dashboard.stripe.com/account/payouts.",
"type": "invalid_request_error"
}
}
我的作品::
所以尝试了我在 Whosebug 中找到的解决方案。我在测试模式下添加了英镑和美元的金额
After adding TEST amount , still I am getting same error. I also tried USD
请帮我解决这个问题。
当您在 Stripe 帐户上收费时,这些资金会进入您帐户的 pending
余额。一段时间后它们会变成 available
,具体取决于您帐户的 payout schedule。如果您使用的是每日自动付款的默认设置,当它们可用时,它们会立即包含在
支付到您的银行帐户。如果您想 积累 available
余额,则需要 set your account 手动支付。
您可以查看余额via the API。
之所以相关,是因为只有当您有足够的 available
余额来支付转账金额时,通过 /v1/transfers
的转账才能成功。有几种方法可以解决这个问题:
- 将您的帐户设置为手动付款,只有在您积累了
available
足够的余额后才进行转帐。 - link the transfer to funds from a specific charge 与
source_transaction
字段。这样,转账 API 请求会立即成功,资金可用时会自动转移。这将是首选。 - 仅在测试模式下,您可以对 0077 test card 进行收费,以直接将资金添加到您的可用余额中。
我 运行 也遇到了这个问题,同时使用一些 Stripe 连接的帐户进行测试。通过在调用中提供 source_transaction
以创建 t运行sfer,您可以在有可用余额之前将资金 t运行sfer 到关联账户。请参阅这些文档:https://stripe.com/docs/connect/charges-transfers#transfer-availability