Stripe即时付款是否允许即时付款?

时间:2018-08-22 01:10:56

标签: stripe-payments

我一直在尝试使用Stripe Instant Payout在“仅仅片刻”中从收费转为付款,如此处所述:https://stripe.com/docs/connect/payouts#instant-payouts

这被证明是令人困惑和困难的。

我目前有一个带有“连接”条纹配置文件的Stripe帐户。我为Connect用户(具有即时付款有效卡)创建费用,然后创建付款。当我使用here方法进行付款时,它失败了,说余额不可用。

这是为什么?余额处于待处理状态,但是文档显示“您可以支付帐户的可用余额及其待处理余额”

1 个答案:

答案 0 :(得分:0)

@Newah,当您向Stripe Connect帐户收取费用时,该费用不可立即用于支付。您可以使用余额交易对象https://stripe.com/docs/api/balance/balance_transaction检查何时可以收取费用。通过扩展余额交易来检索费用时,您也可以获取此信息。

<html>
  <div id="myDiv">
    <div id="overlay"></div>
    <div id="main">
      <body id="myDiv">
        <script src="script.js"></script>
        <div class="header" id="myDiv2">
          <span style="font-size:30px;cursor:pointer" onclick="openNav()">&#9776; open</span>
          <h1>My Website</h1>
          <p style="text-align: right;">Resize the browser window to see the effect.</p>
        </div>

        <div id="mySidenav" class="sidenav">
          <a href="javascript:void(0)" class="closebtn" onclick="closeNav()">&times;</a>
          <a href="#">About</a>
          <a href="#">Services</a>
          <a href="#">Clients</a>
          <a href="#">Contact</a>
        </div>

        <div class="row">
          <div class="leftcolumn">
            <div class="card" id="myDiv">
              <h2>TITLE HEADING</h2>
              <h5>Title description, Dec 7, 2017</h5>
              <div class="fakeimg" style="height:200px;">Image</div>
              <p>Some text..</p>
              <p>Sunt in culpa qui officia deserunt mollit anim id est laborum consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco.</p>
            </div>
          </div>
        </div>

        <div class="footer">
          <h2>Footer</h2>
        </div>

      </body>
    </div>
  </div>
</html>

该费用将可用于支付{ "id": "txn_19XJJ02eZvKYlo2ClwuJ1rbA", "object": "balance_transaction", "amount": 999, "available_on": 1483920000, "created": 1483315442, "currency": "usd", "description": null, "exchange_rate": null, "fee": 59, "fee_details": [ { "amount": 59, "application": null, "currency": "usd", "description": "Stripe processing fees", "type": "stripe_fee" } ], "net": 940, "source": "ch_19XJJ02eZvKYlo2CHfSUsSpl", "status": "available", "type": "charge" } 中设置的时间戳记。