支付详情


接口地址:/api/checkout/pay-detail/
Http请求方式:POST
内容格式:application/json
权限:point_pay
参数:
参数 参数名 类型 是否必须 描述
out trade no out_trade_no string 外部订单号
client pay id client_pay_id string 支付流水号
timestamp timestamp string 时间戳
sign sign string 签名

out_trade_no 和 client_pay_id 不可以同时为空,两个都传时,优先使用out_trade_no

返回值:参考支付接口中返回参数的解释
  • status
  • cash_pay_url
  • point_amount
  • cash_amount
  • bb_trade_no
  • shipping_fee
请求示例:
{
 "client_pay_id":"0000010111123"
}
返回示例:
{
"result_message": "",
"result_code": "out_trade_detail",
"result": {
    "status": "point_paid",
    "client_pay_id": "0000010111123",
    "out_trade_no": "20111111111",
    "point_amount": 0,
    "cash_amount": 21.44,
    "cash_pay_url": "http://localhost:8001/checkout/pay/2018060730000019/",
    "total_amount": 21.44,
    "bb_trade_no": "2018060730000019",
    "shipping_fee": 5
},
"success": true
}