【问题标题】:Paypal REST API and Transaction FeesPaypal REST API 和交易费用
【发布时间】:2013-10-03 19:19:18
【问题描述】:

新的 Paypal REST API 是否支持收取类似于 Stripe 的交易费用:

https://stripe.com/docs/connect/collecting-fees

【问题讨论】:

    标签: paypal


    【解决方案1】:

    REST api 目前没有该选项,唯一的额外费用是运费,而不是税费。

    交易金额详情(小计、税金、运费),总计为总额。

      "transactions":[
        {
          "amount":{
            "total":"7.47",
            "currency":"USD",
            "details":{
              "subtotal":"7.41",
              "tax":"0.03",
              "shipping":"0.03"
            }
          },
          "description":"This is the payment transaction description."
        }
      ]
    

    经典 API 有一个手续费选项,因此将来也有可能将该功能添加到 REST 中。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2018-02-10
      • 2017-05-11
      • 2014-10-05
      • 1970-01-01
      • 2016-04-17
      • 2019-05-26
      • 2015-07-14
      • 2014-06-02
      相关资源
      最近更新 更多