【发布时间】:2013-10-03 19:19:18
【问题描述】:
新的 Paypal REST API 是否支持收取类似于 Stripe 的交易费用:
【问题讨论】:
标签: paypal
新的 Paypal REST API 是否支持收取类似于 Stripe 的交易费用:
【问题讨论】:
标签: paypal
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 中。
【讨论】: