【问题标题】:Platform Stripe automatic payout to connected stripe accounts not working - No such external account平台 Stripe 自动支付给连接的条带账户不工作 - 没有这样的外部账户
【发布时间】:2021-05-03 23:24:36
【问题描述】:

当我尝试向我的平台连接账户付款时遇到一些奇怪的问题,下面是我如何向连接账户付款的示例代码,其中“来源”是一个测试连接账户“acct_1IE4WnG9fsPmbonD”用作我的支付参数的目的地

PayoutCreateParams payoutCreateParams = PayoutCreateParams.builder()
            .setAmount(amount).setDestination(source)
            .setCurrency(currency).build();
    RequestOptions options = RequestOptions
            .builder()
            .setIdempotencyKey(uuid)
            .setApiKey(stripeKey)
            .build();
    Payout payout = Payout.create(payoutCreateParams, options);

当我尝试执行此操作时,我收到一条错误消息

com.stripe.exception.InvalidRequestException:
No such external account: 'acct_1IE4WnG9fsPmbonD'; code: resource_missing; request-id: req_vnLHhOn3WaG9IT

我的用例基本上是每月两次向可能的平台连接帐户付款。

所以现在我想知道我是否对我的平台关联账户进行了错误的支付!。

谢谢。

【问题讨论】:

    标签: java stripe-payments


    【解决方案1】:

    付款是用于银行账户或借记卡,而不是 Stripe 账户。您可能需要转帐,而不是付款:https://stripe.com/docs/api/transfers

    或者,如果需要,您可以使用 setDestination 中的银行账户 ID,然后包含 Stripe-Account 标头以进行实际支付:https://stripe.com/docs/connect/manual-payouts#regular-payouts

    【讨论】:

      猜你喜欢
      • 2019-06-17
      • 2018-08-06
      • 2019-03-24
      • 1970-01-01
      • 1970-01-01
      • 2015-03-25
      • 2016-11-30
      • 1970-01-01
      • 2017-08-30
      相关资源
      最近更新 更多