处置下发
接口说明
首约侧调用运力方接口,向运力方下发司机处置信息
接口地址
http:// <Partner_DOMAIN>/<CallBackURL>
请求方式
POST
请求参数
名称 | 类型 | 是否必选 | 说明 |
---|---|---|---|
sign | String | yes | 签名 |
orderNo | String | yes | 首约订单号 |
thirdDriverId | String | yes | 运力侧司机ID |
punishId | String | yes | 处罚Id |
punishType | Integer | yes | 处罚来源。1:乘客投诉;2:风控 |
punishReasonCode | String | yes | 处罚原因编码。来源为风控的,其值以RISK开头 |
feeDetail | String | no | 费用明细。值为JSON串, 包括travelFee行程费、otherFee价外费 |
allowAppeal | Integer | yes | 是否可申诉标识。0:允许申诉;1:不可申诉 |
请求示例
{
"sign": "7378ab7261d2503ed9388b032c4a445e",
"orderNo": "P220927175914907000",
"thirdDriverId": "fd40a6712c4e4757bd2a9603fa90998e",
"punishId": "1888",
"punishType": 2,
"punishReasonCode": "RISK239472930",
"feeDetail": "{"travelFee":1.23,"otherFee":3.45}",
"allowAppeal": 0
}
返回数据
名称 | 类型 | 是否必选 | 说明 |
---|---|---|---|
result | Integer | yes | 0.成功,1.失败 |
errmsg | String | yes | 失败描述 |
响应示例
{
"result": 0,
"errmsg": "SUCCESS"
}