为什么即使我在我的帐户中添加了测试模式资金,在尝试 Stripe Transfers 时我仍然得到“资金不足"? [英] Why I am getting 'insufficient funds' when trying Stripe Transfers even though I added TEST mode funds in my Account?

查看:46
本文介绍了为什么即使我在我的帐户中添加了测试模式资金,在尝试 Stripe Transfers 时我仍然得到“资金不足"?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是 Stripe,负责使用 Stripe Connect 存储资金并将资金转移给卖家

I am Stripe for storing Funds and transfer funds to sellers using Stripe Connect

我的问题是,当我尝试将资金从我的 Stripe 帐户转移到连接的帐户(资金处于测试模式)时,出现以下错误

My problem is , when I tried to transfer a fund from my Stripe account to a connected account (fund is in test mode) , I am getting following error

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

我的作品::

My works ::

所以尝试了我在 stackoverflow 中找到的解决方案.我在测试模式下添加了英镑 a 和美元的金额

So tried to the solutions I found in stackoverflow . I added amount in both GBP aand USD in TEST mode

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

After adding TEST amount , still I am getting same error. I also tried USD

请帮我解决问题.

推荐答案

当您对 Stripe 帐户收费时,这些资金会转入您帐户的 pending 余额.然后它们会在一段时间后可用,具体取决于您帐户的付款时间表.如果您使用的是每日自动付款的默认设置,当它们可用时,它们会立即包含在付款到您的银行帐户.如果您想随着时间的推移累积available余额,您需要将您的帐户设置为手动付款.

When you make a charge on your Stripe account, those funds go to your account's pending balance. They then become available some time later depending on your account's payout schedule. If you're using the default settings of daily automatic payouts, when they become available, they are immediately included in a payout to your bank account. If you want to instead accumulate an available balance over time, you need to set your account to manual payouts.

您可以通过 API 查看您的余额.

You can check your balances via the API.

之所以如此,是因为通过 /v1/transfers 进行的转账只有在您有足够的 available 余额用于转账金额时才能成功.有几种方法可以解决这个问题:

The reason this is relevant is that transfers via /v1/transfers can only succeed if you have sufficient available balance for the transfer amount. There are a few ways to manage this :

  • 将您的帐户设置为手动付款,并且只有在您积累了足够的可用余额时才进行转账.
  • 将转帐链接到特定费用的资金,并带有 <代码>source_transaction 字段.这样,转账 API 请求立即成功,资金在可用时自动转移.这将是首选.
  • 仅在测试模式下,您可以对 0077 测试卡收费以直接将资金添加到您的可用余额中.
  • set your account to manual payouts and only make the transfer when you have accumulated available sufficient balance.
  • link the transfer to funds from a specific charge with the source_transaction field. This way the transfer API request succeeds immediately and the funds automatically move when they're available. This would be the preferred option.
  • In test mode only, you can make a charge against the 0077 test card to add funds directly to your available balance.

这篇关于为什么即使我在我的帐户中添加了测试模式资金,在尝试 Stripe Transfers 时我仍然得到“资金不足"?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆