Paypal REST API和交易费用

Paypal REST API和交易费用,paypal,Paypal,新的Paypal REST API是否支持收取与以下类似的交易费用: REST API目前没有该选项,唯一的额外费用是运费,而不是税 交易金额明细(小计、税费、运费),总计为总金额 "transactions":[ { "amount":{ "total":"7.47", "currency":"USD", "details":{ "subtotal":"7.41", "tax":"0

新的Paypal REST API是否支持收取与以下类似的交易费用:


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中