【问题标题】:Destination amount in different currency than charged amount currency in stripe目的地金额的币种与条带中的收费金额币种不同
【发布时间】:2019-05-23 05:19:47
【问题描述】:

假设我有一个场景,以美元创建费用,目的地金额为澳元 我想要的是

  Stripe::Charge.create({
    source: 'tok_xxx',
    amount: 2000,
    description: "etc...",
    currency: 'USD',
    capture: false,
    destination: {
      account: seller_account_id,
      amount: 2000 - 400,
      currency: 'AUD'
    }
  }.merge(metadata: {...}))

Example explained here..

很遗憾,我没有找到任何有用的文档。除此之外,我愿意听取您的建议。

【问题讨论】:

    标签: ruby-on-rails stripe-payments


    【解决方案1】:

    您不能在 Charge 请求的目标部分指定要使用的货币,而只能提供 destination account and amount。此处的金额将与您进行收费的货币相匹配。

    要实现您想要的,您可以在您的平台帐户上进行收费,然后使用Transfers API 以不同的货币进行转账。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2014-08-21
      • 2020-12-20
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2020-11-26
      相关资源
      最近更新 更多