为什么即使我在帐户中添加了TEST模式资金,我在尝试Stripe Transfers时也会获得“资金不足”?

问题描述 投票:0回答:1

我是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"
      }
    }

我的作品 ::

所以尝试了我在stackoverflow中找到的解决方案。我在TEST模式下增加了英镑和美元的金额

enter image description here


enter image description here

添加TEST数量后,我仍然得到相同的错误。我也试过美元

请帮我解决这个问题。

stripe-payments payment-gateway
1个回答
2
投票

当您对Stripe帐户收取费用时,这些资金会转到您帐户的pending余额。然后,他们会在一段时间后成为available,具体取决于您的帐户payout schedule。如果您使用每日自动付款的默认设置,则当它们可用时,它们会立即包含在您的银行帐户的付款中。如果你想在一段时间内积累available余额,你需要set your account到手动支付。

你可以检查你的余额via the API

这是相关的原因是,只有当您有足够的/v1/transfers余额用于转账金额时,通过available的转账才能成功。有几种方法可以解决这个问题:

  • 将您的帐户设置为手动付款,只有在累积了available足够的余额时才进行转帐。
  • link the transfer to funds from a specific chargesource_transaction领域。这样,转移API请求立即成功,资金在可用时自动移动。这将是首选方案。
  • 仅在测试模式下,您可以对0077 test card收取费用,直接向您的可用余额添加资金。
© www.soinside.com 2019 - 2024. All rights reserved.