获取订单详情
变更记录
变更时间 | 变更内容 |
---|---|
2024-07-18 | 接口入参增加is_new_fee_detail, 当is_new_fee_detail = 1时,费用信息字段为fee_info, 当is_new_fee_detail = 0或不传时,费用信息字段为price |
地址URL
/v1/order/Detail/getOrderDetail
描述
>
- 发单成功后可使用该接口查询订单的详细信息
- 同时呼叫时,司机接单后,product_category、require_level、rule、combo_type、level会更新为接单的车型信息
- 订单接口访问增加频率限制
司机计费前(status<500)访问限制在 10秒="" 次=""
司机计费后(status>=500)访问限制在 300秒/次
如果超频:返回 errno: 36003500)访问限制在>
支持格式
{url}?k1=v1&k2=v2&k3=v3&...
HTTP请求方式
GET
是否需要登录
是 关于登录授权,参见 如何登录授权
访问授权限制
暂无
请求参数
参数名称 | 参数类型 | 是否必填 | 参数说明 |
---|---|---|---|
client_id | string | yes | 申请应用时分配的client_id |
access_token | string | yes | 授权接口返回的access_token |
timestamp | int | yes | 调用接口时间对应的时间戳,精确到秒级 |
sign | string | yes | 签名(注:请求预估接口的入参都要参与签名) |
company_id | string | no | 公司id(订单所属公司) |
order_id | string | yes | 订单id |
passenger_clat | float | no | 订单实时纬度(建议填写,未传可能会影响安全功能使用) |
passenger_clng | float | no | 订单实时经度(建议填写,未传可能会影响安全功能使用) |
is_new_fee_detail | int32 | 否 | 是否需要新的费用数据 0-不需要 1-需要 默认值为0 |
version | string | 是 | 版本信息,传3.0.0即可 |
请求示例
curl -X GET -H "Content-Type: application/x-www-form-urlencoded" 'https://api.es.xiaojukeji.com/v1/order/Detail/getOrderDetail?client_id=testclient&access_token=test×tamp=1533914354&order_id=7547523705968545818&sign=test'
返回参数说明
错误码请参见 常见错误解决方案章节
字段名称 | 字段类型 | 是否必需 | 字段说明 |
---|---|---|---|
errno | int32 | 是 | 错误码 |
errmsg | string | 是 | 错误信息 |
request_id | string | 是 | 请求唯一标识(请务必保存,排查问题需要使用) |
data | OrderData |
否 | 订单数据 |
OrderData结构
字段名称 | 字段类型 | 是否必需 | 字段说明 |
---|---|---|---|
order | OrderInfo |
是 | 订单信息 |
price | PriceInfo |
否 | 价格信息,当请求参数is_new_fee_detail = 0 或 不传时返回 |
fee_info | FeeInfo |
否 | 价格信息,当请求参数is_new_fee_detail = 1时返回 |
OrderInfo数据格式
字段名称 | 字段类型 | 是否必需 | 字段说明 |
---|---|---|---|
id | int64 | 是 | 订单号(老版本使用) |
order_id | string | 是 | 订单号 |
status | int32 | 是 | 订单状态码 |
sub_status | int32 | 是 | 订单详细状态码 |
city | int32 | 是 | 出发城市id |
start_name | string | 是 | 出发地名称 |
start_address | string | 是 | 出发地详细地址 |
flng | float | 是 | 出发经度,精确到小数点后6位 |
flat | float | 是 | 出发纬度,精确到小数点后6位 |
actual_start_name | string | 是 | 乘客实际上车点名称 |
actual_flat | float | 是 | 乘客实际上车点经度,精确到小数点后6位 |
actual_flng | float | 是 | 乘客实际上车点纬度,精确到小数点后6位 |
end_city | int32 | 是 | 达到城市id |
end_name | string | 是 | 目的地名称 |
end_address | string | 是 | 目的地详细地址 |
tlng | float | 是 | 目的地经度,精确到小数点后6位 |
tlat | float | 是 | 目的地纬度,精确到小数点后6位 |
actual_end_name | string | 是 | 乘客实际下车点名称 |
actual_tlat | float | 是 | 乘客实际下车点经度,精确到小数点后6位 |
actual_tlng | float | 是 | 乘客实际下车点纬度,精确到小数点后6位 |
clng | float | 是 | 乘客发单时位置经度,精确到小数点后6位 |
clat | float | 是 | 乘客发单时位置纬度,精确到小数点后6位 |
dlng | float | 是 | 司机当前实时经度,精确到小数点后6位 |
dlat | float | 是 | 司机当前实时纬度,精确到小数点后6位 |
order_time | string | 是 | 下单时间,调用发单接口的时间,示例:2023-10-10 08:09:11 |
departure_time | string | 是 | 出发时间,预计出发的时间,示例:2023-10-10 08:09:12 |
strive_time | string | 是 | 司机接单时间,示例:2023-10-10 08:09:12,为空字符串表示未到该阶段 |
begin_charge_time | string | 是 | 开始计价时间,示例:2023-10-10 08:09:12,为空字符串表示未到该阶段 |
finish_time | string | 是 | 行程结束时间,示例:2023-10-10 08:09:12,为空字符串表示未到该阶段 |
pay_time | string | 是 | 支付时间,示例:2023-10-10 08:09:12,为空字符串表示未到该阶段 |
refund_time | string | 是 | 退款时间,示例:2023-10-10 08:09:12,为空字符串表示未到该阶段 |
delay_time_start | string | 是 | 迟到计费时间,示例:2023-10-10 08:09:12,为空字符串表示未到该阶段 |
master_phone | string | 是 | 代叫人手机号 |
passenger_phone | string | 是 | 乘车人手机号 |
driver_phone | string | 是 | 司机手机号(司机虚拟号,订单结束后为客服电话) |
driver_phone_real | string | 是 | 司机手机号(司机虚拟号,订单结束后为客服电话),由于安全需要,不再提供司机真实手机号,故该字段的值与driver_phone保持一致 |
driver_name | string | 是 | 司机称呼 |
driver_car_type | string | 是 | 司机车型 |
driver_car_color | string | 是 | 车颜色 |
driver_card | string | 是 | 司机车牌 |
driver_avatar | string | 是 | 司机头像 |
driver_level | float | 是 | 司机星级 |
driver_order_count | int32 | 是 | 司机抢单数 |
driver_num | int32 | 是 | 已通知司机数量 |
type | int32 | 是 | 订单类型 0:实时 1:预约 |
require_level | int32 | 是 | 车型代码 100:专车舒适型 200:专车行政级 400:六座商务 600:普通快车 900:优享 1000:普通豪华车 1100:出租车 2300:同时呼叫(司机接单后为实际的车型) 40600:企业特价快车 车型列表见 车型字典 |
strive_level | int32 | 是 | 与require_level含义一致,车型代码 100:专车舒适型 200:专车行政级 400:六座商务 600:普通快车 900:优享 1000:普通豪华车 1100:出租车 2300:同时呼叫(司机接单后为实际的车型) 40600:企业特价快车 车型列表见 车型字典 |
rule | int32 | 是 | 计价模型分类 101:出租车 201:专车 202:专车包车 203:专车接机 204:专车送机 301:快车 501:豪华车 503:豪华车接机 504:豪华车送机 701:同时呼叫(司机接单后为实际的车型) 车型列表见 车型字典 |
level_type | int32 | 是 | 品类标识 \n 1:滴滴特快 \n 默认为0 |
combo_type | int32 | 是 | 计价方式 \n 0:实时计价 \n 2:接机 \n 3:送机 \n 4:拼车一口价 \n 默认为0 |
product_category | int32 | 是 | 车型唯一ID 5000:快车 5001:滴滴特快 5002:优享 5003:拼车 5004:出租车 5005:舒适专车 5006:行政专车 5007:六座商务 5009:任意豪华车 5024:企业特价快车 |
extra_info | string | 是 | 扩展信息 |
callback_info | string | 是 | 自定义信息 |
normal_distance | string | 是 | 总行驶距离,单位:千米 |
normal_time | string | 是 | 总行驶时长,单位:分钟 |
consult_time | int32 | 是 | 拼车倒计时,单位:秒。注意:新版本拼车不返回该字段 |
real_company_id | string | 是 | 真实发单企业ID,携程商旅等平台客户返回 |
real_call_phone | string | 是 | 真实发单用户手机号,携程商旅等平台客户返回 |
pricing_mode | int32 | 是 | 计价模式 0:普通计价 1:一口价 2:两口价(一口价变成实时计价) 默认为0 |
is_commented | int32 | 是 | 是否已评论 |
is_carpool | int32 | 是 | 是否拼车 |
is_carpool_success | int32 | 是 | 是否拼车成功 |
is_allowed_modify_destination | int32 | 是 | 是否可以修改终点,预约单、跨城单、拼车单无法修改终点 0:不可以修改 1:可以修改 注:该字段为0表示一定不能修改,为1不一定可以修改成功,比如需要考虑道路管控等多种因素 |
serial_order | int32 | 是 | 是否为连环派单 0:否 1:是 |
is_serving_last_order | int32 | 是 | 连环派单情况下,是否正在服务上一笔订单 0:否 1:是 |
is_emergency_help | int32 | 是 | 是否触发一键报警 |
emergency_help_time | string | 是 | 触发110报警的时间 |
emergency_help_url | string | 是 | 一键报警H5链接 |
is_lineup | int32 | 是 | 是否排队订单 0:否 1:是 |
offline_pay | int32 | 是 | 是否线下支付,仅出租车使用 0:否 1:是 |
lineup_info | LineupInfo |
是 | 排队信息 |
reassign_info | ReassignInfo |
是 | 改派信息 |
approval_id \n | string | 否 | 审批单号(需申请,建议不使用) \n |
out_approval_id | string | 否 | 客户审批单号(需申请,建议不使用) |
LineupInfo结构
字段名称 | 字段类型 | 是否必需 | 字段说明 |
---|---|---|---|
ranking | int32 | 是 | 排队排名 |
queue_length | int32 | 是 | 排队长度 |
wait_time | int32 | 是 | 排队预估等待时间 |
wait_time_desc | string | 是 | 排队描述 |
ReassignInfo结构
字段名称 | 字段类型 | 是否必需 | 字段说明 |
---|---|---|---|
pre_order_id | string | 是 | 改派前的订单号 |
next_order_id | string | 是 | 改派后的订单号 |
init_order_id | string | 是 | 改派原始订单号 |
latest_order_id | string | 是 | 最新改派订单 |
PriceInfo数据格式
字段名称 | 字段类型 | 是否必需 | 字段说明 |
---|---|---|---|
total_price | float | 是 | 总费用,单位:元,示例:23.00 |
estimate_price | float | 是 | 预估价格,单位:元 |
cap_price | float | 是 | 一口价订单原始价格(不包含附加费和服务费),非一口价时该字段值为0 |
detail | list<PriceDetail> |
是 | 价格详情结构体 |
PriceDetail结构
字段名称 | 字段类型 | 是否必需 | 字段说明 |
---|---|---|---|
name | string | 是 | 字段说明 |
amount | float | 是 | 费用金额 |
type | string | 是 | 字段类型 |
PriceDetail费用字段全集
type - 价格字段英文 | name - 价格字段中文 |
---|---|
start_price | 起步价格,单位:元 |
normal_fee | 正常行驶距离费,超出套餐部分行驶距离费,单位:元 |
combo_fee | 套餐费用,单位:元 |
empty_fee | 远途费,超出套餐部分远途费,单位:元 |
night_fee | 夜间费,超出套餐部分夜间费,单位:元 |
bridge_fee | 路桥费,单位:元 |
highway_fee | 高速费,单位:元 |
park_fee | 停车费,单位:元 |
tip_fee | 加价费用,单位:元 |
wait_fee | 等候费,单位:元 |
dynamic_price | 动态调价费用,单位:元 |
normal_time_fee | 时长费,单位:元 |
limit_pay | 快车基础费补足,单位:元 |
cancel_fee | 违约费用,单位:元 |
low_speed_fee | 低速费,超出套餐部分低速费,单位:元 |
other_fee | 其他费用,单位:元 |
refund_price | 退款金额,单位:元 |
service_fee | 服务费,单位:元 |
company_pay | 企业应付金额,单位:元 |
personal_pay | 个人应付金额,单位:元 |
company_real_pay | 企业实付金额,单位:元 |
personal_real_pay | 个人实付金额,单位:元 |
company_real_refund | 企业实退金额,单位:元 |
personal_real_refund | 个人实退金额,单位:元 |
red_packet | 节假日司机服务费,单位:元 |
incentive_fee | 调度费,单位:元 |
peak_fee | 临时加价,单位:元 |
clean_car_fee | 洗车费,单位:元 |
cross_city_fee | 跨城费,单位:元 |
promotion_pay | 优惠金额,单位:元 |
talos_remote_area_fee | 偏远地区接驾费,单位:元 |
energy_consume_fee | 综合能耗费,单位:元 |
voucher_pay | 券应抵扣金额,单位:元 |
real_voucher_pay | 券实抵扣金额,单位:元 |
FeeInfo数据格式
字段名称 | 字段类型 | 是否必需 | 字段说明 |
---|---|---|---|
total_pay | float | 是 | 应付总金额(该企业已减去券等抵扣费用项),单位:元total_pay = company_pay + personal_pay total_pay = fee_item所有费用信息之和 |
company_pay | float | 是 | 企业应付金额,单位:元 |
personal_pay | float | 是 | 个人应付总金额,单位:元 |
total_real_pay | float | 是 | 实际支付总金额(支付完成之后可以使用该字段确定最终付款金额),单位:元total_real_pay = company_real_pay + personal_real_pay + company_card_real_pay total_real_pay = fee_item所有费用信息之和 |
company_real_pay | float | 是 | 实际企业支付金额,单位:元 |
personal_real_pay | float | 是 | 实际个人支付金额,单位:元 |
company_card_real_pay | float | 是 | 出行卡/企业钱包支付金额,单位:元 |
estimate_price | float | 是 | 预估金额,单位:元 |
total_refund | float | 是 | 总退款金额,单位:元 |
company_refund | float | 是 | 企业退款金额,单位:元 |
personal_refund | float | 是 | 个人退款金额,单位:元 |
company_card_refund | float | 是 | 出行卡/企业钱包退款金额,单位:元 |
fee_items | list<FeeItem> |
是 | 费用明细项,==当费用项为优惠金额时,对应的金额为负数== |
fee_objection | object | 是 | 费用异议信息 |
FeeItem结构
字段名称 | 字段类型 | 是否必需 | 字段说明 |
---|---|---|---|
name | string | 是 | 字段说明 |
amount | float | 是 | 费用金额 |
type | string | 是 | 字段类型 |
FeeItem费用字段全集
type - 价格字段英文 | name - 价格字段中文 |
---|---|
cap_price | 一口价,一口价车型独有字段,不包含附加费、服务费等费用信息,单位:元 |
start_price | 起步价格,单位:元 |
normal_time_fee | 时长费,单位:元 |
normal_fee | 里程费,单位:元 |
service_fee | 服务费,单位:元 |
empty_fee | 远途费,单位:元 |
night_fee | 夜间费,超出套餐部分夜间费,单位:元 |
bridge_fee | 路桥费,单位:元 |
highway_fee | 高速费,单位:元 |
park_fee | 停车费,单位:元 |
clean_car_fee | 洗车费,单位:元 |
wait_fee | 等候费,(某些车型司机到达上车点后等待乘客的费用)单位:元 |
tip_fee | 加价费用,单位:元 |
dynamic_price | 动态调价,单位:元 |
peak_fee | 临时加价,单位:元 |
limit_pay | 快车基础费补足,比如预约单有最低费用,如果不满足最低费用,则需要补齐的最低费用体现在该费用中,单位:元 |
cancel_fee | 取消费,单位:元 |
low_speed_fee | 低速费,单位:元 |
other_fee | 其他费用,单位:元 |
red_packet | 节假日司机服务费,单位:元 |
incentive_fee | 调度费,单位:元 |
cross_city_fee | 跨城费,单位:元 |
promotion_pay | 优惠金额,负数,单位:元 |
talos_remote_area_fee | 偏远地区接驾费,单位:元 |
energy_consume_fee | 综合能耗费,单位:元 |
voucher_pay | 券应抵扣金额,负数,单位:元 |
discount_fee | 折扣金额,负数,单位:元 |
返回值示例
is_new_fee_detail = 0 或不传
{
"errno":0,
"errmsg":"SUCCESS",
"data":{
"order":{
"id":1125925285773429,
"order_id":"1125925285773429",
"status":600,
"sub_status":6001,
"city":17,
"start_name":"成都爱奇艺创新大厦",
"start_address":"成都爱奇艺创新大厦",
"flng":104.097439,
"flat":30.516148,
"actual_start_name":"成都爱奇艺创新大厦",
"actual_flat":30.516187,
"actual_flng":104.097565,
"end_city":17,
"end_name":"凯德·世纪名邸东庭-西门",
"end_address":"凯德·世纪名邸东庭-西门",
"tlng":104.037554,
"tlat":30.56004,
"actual_end_name":"凯德·世纪名邸东庭-西门北侧",
"actual_tlat":30.560599,
"actual_tlng":104.037625,
"clng":104.097502,
"clat":30.516184,
"dlng":104.037625,
"dlat":30.560599,
"order_time":"2023-10-17 21:16:25",
"departure_time":"2023-10-17 21:16:03",
"strive_time":"2023-10-17 21:16:26",
"begin_charge_time":"2023-10-17 21:22:13",
"finish_time":"2023-10-17 21:51:25",
"pay_time":"",
"refund_time":"",
"delay_time_start":"",
"master_phone":"18352560073",
"passenger_phone":"15680998968",
"driver_phone":"18582451417",
"driver_phone_real":"18582451417",
"driver_name":"李师傅",
"driver_car_type":"哪吒U",
"driver_car_color":"白",
"driver_card":"川AAX5789",
"driver_avatar":"https://static.xiaojukeji.com/gulfstream/upload/rooster20231014/026ba96c81ee78ab4942c090266003fd2/168488ae67c045b1e00c205d5bce3b2a77281ce4_white_back_crop",
"driver_level":5,
"driver_order_count":33,
"driver_num":5,
"type":0,
"require_level":600,
"strive_level":600,
"rule":301,
"level_type":0,
"combo_type":0,
"product_category":5000,
"extra_info":"",
"callback_info":"",
"normal_distance":10.4,
"normal_time":29,
"consult_time":0,
"real_company_id":"",
"real_call_phone":"",
"pricing_mode":0,
"is_commented":0,
"is_carpool":0,
"is_carpool_success":0,
"is_allowed_modify_destination":1,
"serial_order":0,
"is_serving_last_order": 0,
"is_emergency_help":0,
"emergency_help_time":"",
"emergency_help_url":"https://page.udache.com/public-biz/call-alarm/index.html?openid=MTAwMDUwMDE4SgKtMxTMnfaKRStAMWkgeuGM8kg%3D&third_token=2F1BEE533980641077D3989151A7380D689DC9E8251FAA2F9F274B7385034D399CE418699B85D7BE215EF4D9C3AB6A6A36388BBBA3605C3343A6841A9400BFFA&webapp_channel=es_openapi&product=258&appid=50018&oid=TWpreE16azNNRGt5T0Rnek5qVXhOVFV5",
"is_lineup":0,
"lineup_info":{
"ranking":0,
"queue_length":0,
"wait_time":0,
"wait_time_desc":""
},
"reassign_info":{
"pre_order_id":"1125925285701404",
"next_order_id":"0",
"init_order_id":"1125925285701404",
"latest_order_id":"1125925285773429"
}
},
"price":{
"total_price":26.32,
"estimate_price":24.6,
"cap_price": 0,
"fee_objection":"",
"detail":[
{
"name":"起步价格",
"amount":10.2,
"type":"start_price"
},
{
"name":"时长费",
"amount":4.56,
"type":"normal_time_fee"
},
{
"name":"正常行驶距离费",
"amount":10.56,
"type":"normal_fee"
},
{
"name":"企业实付金额",
"amount":0,
"type":"company_real_pay"
},
{
"name":"个人实付金额",
"amount":0,
"type":"personal_real_pay"
},
{
"name":"个人应付金额",
"amount":0,
"type":"personal_pay"
},
{
"name":"企业应付金额",
"amount":26.32,
"type":"company_pay"
},
{
"name":"服务费",
"amount":1,
"type":"service_fee"
}
]
}
},
"request_id":"mbSxNllrNonnOHy/qnyMB9TGi0muaw8OFED/mO+xgudSHFoXsdVijp+X8bAZKO+8"
}
is_new_fee_detail = 1
非一口价 - 待支付 示例
{
"errno": 0,
"errmsg": "SUCCESS",
"data": {
"order": {
"id": 1125937045311991,
"order_id": "1125937045311991",
"status": 600,
"sub_status": 6001,
"city": 1,
"start_name": "P1停车楼1M夹层04-06号上车点",
"start_address": "P1停车楼1M夹层04-06号上车点",
"flng": 116.41463,
"flat": 39.51432,
"actual_start_name": "北京大兴国际机场航站楼-出发9号门附近",
"actual_flat": 39.513454,
"actual_flng": 116.416,
"end_city": 1,
"end_name": "北京高盟新材料股份有限公司-东门",
"end_address": "北京市房山区东流水路与后街路交叉口正北方向136米左右",
"tlng": 115.991837897,
"tlat": 39.744768933,
"actual_end_name": "北京大兴国际机场P1停车楼(计时)",
"actual_tlat": 39.514915,
"actual_tlng": 116.41408,
"clng": 116.415805,
"clat": 39.513552,
"dlng": 116.41408,
"dlat": 39.514915,
"order_time": "2024-07-15 00:14:22",
"departure_time": "2024-07-15 00:14:22",
"strive_time": "2024-07-15 00:14:28",
"begin_charge_time": "2024-07-15 00:32:28",
"finish_time": "2024-07-15 01:30:00",
"pay_time": "",
"refund_time": "",
"delay_time_start": "",
"master_phone": "13545342208",
"passenger_phone": "13545342208",
"driver_phone": "4000000777",
"driver_phone_real": "4000000777",
"driver_name": "段师傅",
"driver_car_type": "丰田雷凌",
"driver_car_color": "白色",
"driver_card": "京Q22705",
"driver_avatar": "",
"driver_level": 5,
"driver_order_count": 67,
"driver_num": 9,
"type": 0,
"require_level": 600,
"strive_level": 4730,
"rule": 301,
"level_type": 0,
"combo_type": 0,
"product_category": 5000,
"extra_info": "",
"callback_info": "",
"normal_distance": 60.8,
"normal_time": 57,
"consult_time": 0,
"real_company_id": "",
"real_call_phone": "",
"pricing_mode": 0,
"is_commented": 0,
"is_carpool": 0,
"is_carpool_success": 0,
"is_allowed_modify_destination": 0,
"serial_order": 0,
"is_serving_last_order": 0,
"is_emergency_help": 0,
"emergency_help_time": "",
"emergency_help_url": "https://page.udache.com/public-biz/call-alarm/index.html?openid=MTAwMDUwMDE4ZiJKIknCjCsNzdFykVCA29%2FsqYk%3D&third_token=8250DB3D442EBF7F830B70A4DF4CEDB64BBF249976349E2FE786DD0A8B54EEFAAD655F4606EDC730AC2F2546FB5699F830068C9EC9D72A4F10632E4759A613AE&webapp_channel=es_openapi&product=258&appid=50018&oid=TWpreE56UTRPRFU0TVRnM01qYzNPRFF3",
"is_lineup": 0,
"lineup_info": {
"ranking": 0,
"queue_length": 0,
"wait_time": 0,
"wait_time_desc": ""
},
"reassign_info": {
"pre_order_id": "0",
"next_order_id": "0",
"init_order_id": "0",
"latest_order_id": "0"
}
},
"fee_info": {
"total_pay": 312.4,
"company_pay": 300,
"personal_pay": 12.4,
"total_real_pay": 0,
"company_real_pay": 0,
"personal_real_pay": 0,
"company_card_real_pay": 0,
"estimate_price": 275.13,
"total_refund": 0,
"company_refund": 0,
"personal_refund": 0,
"company_card_refund": 0,
"fee_items": [
{
"type": "start_price",
"name": "起步价",
"amount": 14
},
{
"type": "normal_time_fee",
"name": "时长费",
"amount": 57
},
{
"type": "normal_fee",
"name": "里程费",
"amount": 158.08
},
{
"type": "service_fee",
"name": "服务费",
"amount": 1
},
{
"type": "empty_fee",
"name": "远途费",
"amount": 47.32
},
{
"type": "highway_fee",
"name": "高速费",
"amount": 23
},
{
"type": "wait_fee",
"name": "等候费",
"amount": 12
}
],
"fee_objection": ""
}
},
"request_id": "IWqgerFhPOKwnLimri02tGMkvxp6V/0aIeklYBUjUHwh8saJzjM1KbAPocAq17P4"
}
非一口价 - 支付完成 示例
{
"errno": 0,
"errmsg": "SUCCESS",
"data": {
"order": {
"id": 1125936813674596,
"order_id": "1125936813674596",
"status": 700,
"sub_status": 7000,
"city": 3,
"start_name": "T1B-P5地面停车场-上车点",
"start_address": "T1B-P5地面停车场-上车点",
"flng": 113.30043,
"flat": 23.38177,
"actual_start_name": "清塘地铁站A口南侧",
"actual_flat": 23.371555,
"actual_flng": 113.261944,
"end_city": 3,
"end_name": "东风日产乘用车公司-1号门",
"end_address": "新华",
"tlng": 113.163597,
"tlat": 23.379408,
"actual_end_name": "东风日产乘用车公司-1号门",
"actual_tlat": 23.379233,
"actual_tlng": 113.163638,
"clng": 113.300986,
"clat": 23.384802,
"dlng": 113.163638,
"dlat": 23.379233,
"order_time": "2024-07-11 11:36:17",
"departure_time": "2024-07-11 11:36:17",
"strive_time": "2024-07-11 11:36:20",
"begin_charge_time": "2024-07-11 11:42:47",
"finish_time": "2024-07-11 12:10:37",
"pay_time": "2024-07-12 18:52:07",
"refund_time": "",
"delay_time_start": "",
"master_phone": "18511491198",
"passenger_phone": "18511491198",
"driver_phone": "4000000777",
"driver_phone_real": "4000000777",
"driver_name": "曾师傅",
"driver_car_type": "比亚迪海豚",
"driver_car_color": "银",
"driver_card": "粤AB00987",
"driver_avatar": "https://static.xiaojukeji.com/gulfstream/upload/rooster20201205/026ba96c81ee78ab4942c090266003fd2/63527e130fd451a15a44c8442314dd8cbf6c8f5a_white_back_crop",
"driver_level": 4.8,
"driver_order_count": 17505,
"driver_num": 9,
"type": 0,
"require_level": 600,
"strive_level": 600,
"rule": 305,
"level_type": 0,
"combo_type": 0,
"product_category": 5000,
"extra_info": "",
"callback_info": "",
"normal_distance": 28.3,
"normal_time": 27,
"consult_time": 0,
"real_company_id": "",
"real_call_phone": "",
"pricing_mode": 0,
"is_commented": 0,
"is_carpool": 0,
"is_carpool_success": 0,
"is_allowed_modify_destination": 0,
"serial_order": 0,
"is_serving_last_order": 0,
"is_emergency_help": 0,
"emergency_help_time": "",
"emergency_help_url": "https://page.udache.com/public-biz/call-alarm/index.html?openid=MTAwMDUwMDE4pyVk6olPABMuacbLMK64L2915mQ%3D&third_token=71342D5BA03D8923FDEAEE2EB800A241AA5D4DDF3A8A5C0BC47E5F6DB0BD64B92FC493CE64227AE2F76679D891197321C77E8B9B5831CF0891EF46A2015362BE&webapp_channel=es_openapi&product=258&appid=50018&oid=TWpreE56UTRPVEF3T0RVeU1EZzJOek0x",
"is_lineup": 0,
"lineup_info": {
"ranking": 0,
"queue_length": 0,
"wait_time": 0,
"wait_time_desc": ""
},
"reassign_info": {
"pre_order_id": "0",
"next_order_id": "0",
"init_order_id": "0",
"latest_order_id": "0"
}
},
"fee_info": {
"total_pay": 105.24,
"company_pay": 105.24,
"personal_pay": 0,
"total_real_pay": 105.24,
"company_real_pay": 105.24,
"personal_real_pay": 0,
"company_card_real_pay": 0,
"estimate_price": 47.46,
"total_refund": 0,
"company_refund": 0,
"personal_refund": 0,
"company_card_refund": 0,
"fee_items": [
{
"type": "start_price",
"name": "起步价",
"amount": 19.5
},
{
"type": "normal_time_fee",
"name": "时长费",
"amount": 4.96
},
{
"type": "normal_fee",
"name": "里程费",
"amount": 37.84
},
{
"type": "service_fee",
"name": "服务费",
"amount": 1
},
{
"type": "empty_fee",
"name": "远途费",
"amount": 7.94
},
{
"type": "highway_fee",
"name": "高速费",
"amount": 14
},
{
"type": "park_fee",
"name": "停车费",
"amount": 20
}
],
"fee_objection": ""
}
},
"request_id": "dMbyH1M8yEsbjisXryp34FyEY1ySkKv73DijCXdy9iGKUkOkT376IljNkvi+yILb"
}
一口价 - 待支付 示例
{
"errno": 0,
"errmsg": "SUCCESS",
"data": {
"order": {
"id": 1125937207443183,
"order_id": "1125937207443183",
"status": 600,
"sub_status": 6001,
"city": 3,
"start_name": "锦绣香江山水华府2期",
"start_address": "",
"flng": 113.340971,
"flat": 22.99213,
"actual_start_name": "锦绣香江山水华府2期-西门",
"actual_flat": 22.992212,
"actual_flng": 113.340919,
"end_city": 3,
"end_name": "黄埔区市场监督管理局",
"end_address": "",
"tlng": 113.456714,
"tlat": 23.171871,
"actual_end_name": "广州市黄埔区市场监督管理局",
"actual_tlat": 23.171911,
"actual_tlng": 113.456558,
"clng": 0,
"clat": 0,
"dlng": 113.456558,
"dlat": 23.171911,
"order_time": "2024-07-17 08:45:32",
"departure_time": "2024-07-17 08:45:32",
"strive_time": "2024-07-17 08:45:37",
"begin_charge_time": "2024-07-17 08:49:24",
"finish_time": "2024-07-17 09:30:02",
"pay_time": "",
"refund_time": "",
"delay_time_start": "",
"master_phone": "18618242952",
"passenger_phone": "18898826373",
"driver_phone": "18565213462",
"driver_phone_real": "18565213462",
"driver_name": "冯师傅",
"driver_car_type": "广汽传祺广汽新能源Aion S",
"driver_car_color": "银",
"driver_card": "粤ADU3725",
"driver_avatar": "https://static.xiaojukeji.com/gulfstream/upload/rooster20170825/565076510772157969edc076a70af1322ea55bce43ccd2b/headImg.jpg",
"driver_level": 5,
"driver_order_count": 42822,
"driver_num": 7,
"type": 0,
"require_level": 40600,
"strive_level": 40600,
"rule": 301,
"level_type": 0,
"combo_type": 0,
"product_category": 5024,
"extra_info": "",
"callback_info": "470956262,15286567,https://hatrip.alibaba-inc.com,1",
"normal_distance": 35.85,
"normal_time": 40,
"consult_time": 0,
"real_company_id": "",
"real_call_phone": "",
"pricing_mode": 1,
"is_commented": 0,
"is_carpool": 0,
"is_carpool_success": 0,
"is_allowed_modify_destination": 0,
"serial_order": 0,
"is_serving_last_order": 0,
"is_emergency_help": 0,
"emergency_help_time": "",
"emergency_help_url": "https://page.udache.com/public-biz/call-alarm/index.html?openid=MTAwMDUwMDE4GDvNF%2BV%2BdscFelU%2F2uywI%2F0GpYo%3D&third_token=3CCD4F0954D0FAD5BB47D3C4486B100D374EBC818A8195E612C54DCAACDDBEB441A7EF9EB4780F5BE70251F610089779A824CE6579417B3EE1D1F4348F427289&webapp_channel=es_openapi&product=258&appid=50018&oid=TWpreE56UTRPVEF4TXpBeE1ESTROREk1",
"is_lineup": 0,
"lineup_info": {
"ranking": 0,
"queue_length": 0,
"wait_time": 0,
"wait_time_desc": ""
},
"reassign_info": {
"pre_order_id": "0",
"next_order_id": "0",
"init_order_id": "0",
"latest_order_id": "0"
}
},
"fee_info": {
"total_pay": 95.14,
"company_pay": 95.14,
"personal_pay": 0,
"total_real_pay": 0,
"company_real_pay": 0,
"personal_real_pay": 0,
"company_card_real_pay": 0,
"estimate_price": 79.14,
"total_refund": 0,
"company_refund": 0,
"personal_refund": 0,
"company_card_refund": 0,
"fee_items": [
{
"type": "cap_price",
"name": "一口价",
"amount": 110.06
},
{
"type": "service_fee",
"name": "服务费",
"amount": 1
},
{
"type": "highway_fee",
"name": "高速费",
"amount": 16
},
{
"type": "voucher_pay",
"name": "券抵扣金额",
"amount": -31.92
}
],
"fee_objection": {
"objection_msg": "请确认附加费用是否正确",
"objection_title": "本行程包含8元附加费",
"page_title": "确认费用",
"button_err": "司机多收了附加费",
"button_ok": "附加费正确,去支付",
"confirm_msg": {
"button_cancel": "取消",
"button_confirm": "确定",
"msg": "将先行为您修改账单,将扣除{8}",
"tips": "本次行程您只需支付(不含券)",
"title": "您在平台拥有良好的信用",
"total_fee": "175.03"
}
}
}
},
"request_id": "2p3qzuLPX0Y/Pi/ZCkmfPYkOF6oScUEADYa5TRWsBK8pPVHI1O/BQc6Qwzo8Aw+B"
}
一口价 - 支付完成 示例
{
"errno": 0,
"errmsg": "SUCCESS",
"data": {
"order": {
"id": 1125936901674392,
"order_id": "1125936901674392",
"status": 700,
"sub_status": 7000,
"city": 25,
"start_name": "东方广场地铁站D口",
"start_address": "吉林大路",
"flng": 125.42438,
"flat": 43.88161,
"actual_start_name": "东方广场地铁站D口西北侧",
"actual_flat": 43.881683,
"actual_flng": 125.424264,
"end_city": 25,
"end_name": "九台区中医院",
"end_address": "九台区中医院",
"tlng": 125.804666,
"tlat": 44.128089,
"actual_end_name": "九台区中医院附近",
"actual_tlat": 44.12772,
"actual_tlng": 125.80477,
"clng": 125.424337,
"clat": 43.881635,
"dlng": 125.80477,
"dlat": 44.12772,
"order_time": "2024-07-12 14:16:25",
"departure_time": "2024-07-12 14:16:06",
"strive_time": "2024-07-12 14:16:46",
"begin_charge_time": "2024-07-12 14:24:30",
"finish_time": "2024-07-12 15:14:28",
"pay_time": "2024-07-12 15:20:31",
"refund_time": "",
"delay_time_start": "",
"master_phone": "18856941816",
"passenger_phone": "18856941816",
"driver_phone": "18511660442",
"driver_phone_real": "18511660442",
"driver_name": "林师傅",
"driver_car_type": "红旗E-QM5",
"driver_car_color": "黑",
"driver_card": "吉ADF2306",
"driver_avatar": "https://static.xiaojukeji.com/gulfstream/upload/rooster20230826/026ba96c81ee78ab4942c090266003fd2/62f43be3b368bbe58073a9d81e1274c282707423_white_back_crop",
"driver_level": 5,
"driver_order_count": 1925,
"driver_num": 8,
"type": 0,
"require_level": 40600,
"strive_level": 40600,
"rule": 301,
"level_type": 0,
"combo_type": 0,
"product_category": 5024,
"extra_info": "",
"callback_info": "",
"normal_distance": 49.99,
"normal_time": 49,
"consult_time": 0,
"real_company_id": "",
"real_call_phone": "",
"pricing_mode": 1,
"is_commented": 0,
"is_carpool": 0,
"is_carpool_success": 0,
"is_allowed_modify_destination": 0,
"serial_order": 1,
"is_serving_last_order": 0,
"is_emergency_help": 0,
"emergency_help_time": "",
"emergency_help_url": "https://page.udache.com/public-biz/call-alarm/index.html?openid=MTAwMDUwMDE4LoGHvQJLQARWZ7xVKoO%2BZ%2Fe%2BeBA%3D&third_token=317879FD8938A501EF21E4486AD49D5799550B8BAB498BDA858436AA493EF337813F95FDA6934AB81663978D9E5B305999D61FB9305B0EF83AD3F1A0C909B052&webapp_channel=es_openapi&product=258&appid=50018&oid=TWpreE56VXdOalkyTVRjeE1Ua3hNelF4",
"is_lineup": 0,
"lineup_info": {
"ranking": 0,
"queue_length": 0,
"wait_time": 0,
"wait_time_desc": ""
},
"reassign_info": {
"pre_order_id": "1125936901489845",
"next_order_id": "0",
"init_order_id": "1125936901489845",
"latest_order_id": "1125936901674392"
}
},
"fee_info": {
"total_pay": 117.91,
"company_pay": 50,
"personal_pay": 67.91,
"total_real_pay": 117.91,
"company_real_pay": 50,
"personal_real_pay": 67.91,
"company_card_real_pay": 0,
"estimate_price": 97.25,
"total_refund": 0,
"company_refund": 0,
"personal_refund": 0,
"company_card_refund": 0,
"fee_items": [
{
"type": "cap_price",
"name": "一口价",
"amount": 96.25
},
{
"type": "service_fee",
"name": "服务费",
"amount": 1
},
{
"type": "highway_fee",
"name": "高速费",
"amount": 25
},
{
"type": "voucher_pay",
"name": "券抵扣金额",
"amount": -4.34
}
],
"fee_objection": ""
}
},
"request_id": "fEdp24n9/kUVLlCd8Ktg8vi92E/ltbkEgLvr/wEqd/NUpIFjTMoqmAm/r2t2CgmO"
}
订单状态返回码说明
状态码(status) | 描述(status_tips) |
---|---|
300 | 等待应答 |
311 | 订单超时 |
400 | 等待接驾 |
410 | 司机已到达 |
500 | 行程中 |
600 | 行程结束 |
610 | 行程异常结束 |
700 | 已支付 |
订单详细状态返回码说明
状态码(sub_status) | 描述(sub_status_tips) |
---|---|
0 | 未知 |
3000 | 等待抢单 |
3001 | 有司机抢单 |
3002 | 确定某个司机抢单,但是需要进入协商 |
3003 | 协商状态 |
3101 | 订单超时 |
4000 | 改派中 |
4001 | 等待接驾 |
4002 | 司机迟到 |
4004 | 乘客迟到 |
4005 | 迟到计费 |
4101 | 司机到达 |
5000 | 服务中/计费中 |
6001 | 正常订单待支付 |
6002 | 取消行程待支付 |
6100 | 取消订单产生费用待支付 |
6101 | 取消订单无需支付 |
6102 | 取消订单已支付 |
6103 | 客服关闭 |
6104 | 改派关闭 |
6105 | 未能完成服务关闭 |
7000 | 已完成 |