【问题标题】:Why I am getting 'insufficient funds' when trying Stripe Transfers even though I added TEST mode funds in my Account?为什么即使我在帐户中添加了测试模式资金,但在尝试 Stripe Transfers 时却收到“资金不足”?
【发布时间】:2019-09-05 07:17:28
【问题描述】:

我是 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 模式下添加了 GBP a 和 USD 的金额


添加 TEST amount 后,我​​仍然收到相同的错误。我也试过美元

请帮我解决问题。

【问题讨论】:

    标签: stripe-payments payment-gateway


    【解决方案1】:

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

    您可以查看您的余额via the API

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

    • 将您的帐户设置为手动付款,并仅​​在您累积available 足够余额时进行转账。
    • link the transfer to funds from a specific chargesource_transaction 字段。这样,转账 API 请求立即成功,并且资金在可用时自动转移。这将是首选。
    • 仅在测试模式下,您可以通过 0077 test card 直接向可用余额充值。

    【讨论】:

    • 从0077卡转账后,我的转账成功
    • 如何在屏幕截图中区分上方仪表板中的可用余额和待处理余额?
    • 我会为此使用 API(即在调用 /v1/transfers 之前调用 API 检查您的余额),而不是仪表板。但我认为,如果您的帐户设置为手动付款,则会有一个部分/行显示您的 available 余额。
    • 所以如果我们在 source_transaction 字段中包含 Charge ID,那么即使我们没有足够的可用余额,也会安排转账?我对么 ? @karllekko
    • 是的,如文档中所述。 stripe.com/docs/api/transfers/…
    【解决方案2】:

    我在使用一些 Stripe 连接的帐户进行测试时也遇到了这个问题。您可以通过在通话中提供source_transaction 来创建转账,在您有可用余额之前将资金转账到关联的账户。请参阅这些文档:https://stripe.com/docs/connect/charges-transfers#transfer-availability

    【讨论】:

      猜你喜欢
      • 2018-08-30
      • 2021-07-24
      • 2020-04-14
      • 2013-12-30
      • 2014-05-29
      • 2022-01-11
      • 2019-07-11
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多