正式环境:https://openapi.mafengwo.cn/deals/rest
action:sales.refund.detail.get
参数名称 | 参数类型 | 必填 | 示例 | 描述 |
---|---|---|---|---|
order_id | string | 是 | 306255201712085378844 | 旅行商城业务订单号 |
参数名称 | 参数类型 | 示例 | 描述 |
---|---|---|---|
refund_id | string | 123456 | 马蜂窝订单关联的退款单号 |
order_id | string | 306255201712085378844 | 旅行商城业务订单号 |
apply_ctime | dateTime | 2017-12-15 12:00:00 | 退款申请时间 |
update_time | dateTime | 2017-12-15 12:00:00 | 最后更新时间 |
apply_reason | int | 20 | 退款原因 "20:其他原因 21:行程有变 22:供应商无货了 23:数量排错了 24 出行人信息填错了 25 因临时有事,无法参与" |
refund_flag | int | 1 | 退款状态 "1:已完成退款 2:已申请退款 3:拒绝退款 4:已确认退款 |
refund_remark | array | [] | 退款操作备注 |
total_price | number | 1 | 订单原始金额 |
payment_fee | number | 12 | 订单支付金额 商家原始在此订单上的结算金额 |
refund_fee | number | 1 | 已退款金额,单位:元 |
refunded_items | array | [] | 已退款项 |
refunding_items | array | [] | 正在退款项 |
items | array | [] | 购买项 |
travelers | array | [] | 出行人信息 |
refunded_travelers | array | [] | 已经退款的出行人信息 |
refunding_travelers | array | [] | 退款中的出行人信息 |
{
"refund_id":"123456",
"order_id":"306255201712085378844",
"apply_ctime":"2017-12-15 12:00:00",
"update_time":"2017-12-15 12:00:00",
"apply_reason":"20",
"refund_flag":"1",
"refund_remark":[
{
"uid":"72711470",
"action":"apply",
"remark":"申请退款",
"ctime":"2017-12-15 12:00:00"
}
],
"total_price":"1",
"payment_fee":"12",
"refund_fee":"1",
"refunded_items":[
{
"id":"3",
"num":"1",
"name":"房间",
"refund_sold":"4",
"refund_fee":"3"
}
],
"refunding_items":[
{
"id":"3",
"num":"1",
"name":"房间",
"refund_sold":"3",
"refund_fee":"3"
}
],
"items":[
{
"id":"1",
"num":"1",
"price":"3",
"name":"房间",
"payment_fee":"1",
"price_type":"1",
"remain_num":"1",
"total_price":"3",
"skuId":"123123",
"remain_payment_fee":"90"
}
],
"travelers":[
{
"traveler_id":"123123",
"name":"小蜂",
"cellphone":"13300000001",
"id_card":"1101012002301019736",
"passport":"11233232",
"laissez_passer_tw":"123123123",
"laissez_passer":"123123123"
}
],
"refunded_travelers":[
{
"traveler_id":"123123"
}
],
"refunding_travelers":[
{
"traveler_id":"123132"
}
]
}
异常码 | 异常信息 |
---|---|
10040025 | 系统异常 |
10040024 | 没有操作权限 |
10040023 | 订单账号异常 |
10040019 | 该订单版本不支持退款 |
10040006 | 这不是你的订单 |