【问题标题】:Stripe CLI Payment Intent ConnectStripe CLI 支付意图连接
【发布时间】:2021-07-02 16:10:12
【问题描述】:

谁能告诉我 Stripe CLI 申请费用的语法一直出现这个错误

“只能在代表另一个帐户(使用 OAuth 密钥、Stripe-Account 标头或目标参数)提出请求时应用申请费”

我无法破译目标参数语法,例如

stripe payment_intents create --amount 2000 --application-fee-amount 500 --customer cus_testuser --currency=eur --payment-method pm_card_visa --confirm=true -d transfer_data[]=acct_test user

【问题讨论】:

    标签: stripe-payments


    【解决方案1】:

    您可以通过 Stripe CLI 创建包含申请费的目的地费用,如下所示:

    stripe payment_intents create --amount 2000 --application-fee-amount 500 --customer cus_testuser --currency=eur --payment-method pm_card_visa --confirm=true -d transfer_data[destination]=acct_xxx
    
    

    注意:变化的是括号之间的“目的地”。

    【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2021-08-07
    • 2021-07-12
    • 2021-05-11
    • 2020-03-07
    • 2013-09-13
    • 2021-11-28
    • 1970-01-01
    • 2023-04-11
    相关资源
    最近更新 更多