异步返回结果,回调到收费系统时,根据state状态处理业务,当state为1时,才是支付成功,其它状态时,收费系统需要再次调用车辆出场接口,明确结算方式pay_type,直到订单业务处理完成才可以放行。 | 字段名称 | 说明 | 类型 | 示例 | 是否必传字段 | | --- | --- | --- | --- | --- | service_name |接口名称 |String |outpark |是 state| 状态| Number |0失败1成功2支付中 |是 park_id |车场编号| String| 1001 |是 order_id| 订单记录号(车辆在停车场停车唯一订单编号,对应入场订单编号)| String| 325101 |是 trade_no |订单流水号| String |201704012000121122232 |是 pay_type| 支付类型,wallet:余额支付,sweepcode:扫码枪支付,scancode:出场扫码支付| String |wallet,sweepcode,scancode| 是 out_channel_id |出口通道 |String| A1 |否,pay_type为scancode时,必传 total| 支付金额| float |0.04| 否 errmsg| 方法返回描述 |String |当state为0时:errmsg:“支付失败,请求超时或其他(...)” |是 pay_channel |支付通道| Number |0微信 1支付宝 2余额 3银联|否 pay_time |支付时间 |Number(unix时间戳格式,长整型) |1490876000 |是 | car_number | 车牌 | String| 京GH0093 | 是 | |arrive_money| 到账金额 | Double| 1.25 |是| |fee| 手续费 | Double |1.25 | 是| |account_type| 到账类型(1-收入 0-支出) |Integer | 1 | 是| |remark| 说明(接口上传过来的title返回下去) |String | 收到停车费-京G00000 |是| * * * * * > 示例: > {"data":{"service_name":"outpark","state":1,"remark":"收到停车费-京G00000","arrive_money":0.01,"account_type":1,"fee":0.0, "park_id":"1001","order_id":"10000","trade_no":"201704012000121122232","pay_type":"sweepcode","pay_time":1490876000,"total":0.01,"out_channel_id":"A1","errmsg":"支付成功" },"sign":"D962D47FB95FBC5A320712509AF74BB4"} 返回: | 字段名称 | 说明 | 类型 | 示例 | 是否必传字段 | | --- | --- | --- | --- | --- | service_name |接口名称 |String| outpark| 是 state| 状态| Number |0失败1成功 |是 errmsg |方法返回描述| String |state=0时不能为空| 否(state=0时必传) trade_no| 订单流水号 |String| 201704012000121122232|是 order_id| 订单记录号(车辆在停车场停车唯一订单号)| String| 328101| 是 > 示例: {"service_name":"outpark","state":1,"order_id":"10000","errmsg":"支付成功","trade_no":"201704012000121122232"}