>使用第三方支付平台的4G车场调用该接口接收预付消息通知
预付金额不得低于订单的应付金额,预付后在免费离场时间内不再重新计算费用,直接返回需补缴0元
测试地址:http://test.bolink.club/zld/openservice/prepayorder
正式地址:http://yun.bolink.club/zld/openservice/prepayorder
|字段名称 | 说明|类型| 示例|是否必传字段|
| --- | --- |--- | --- | --- |
park_id| 车场编号 |String |20003| 是
union_id| 厂商编号 |String | 200279| 是
car_number |车牌 |String |京GH0093| 是
prepay |预付的金额(元),不低于订单查询费用的应付金额 |Number |6.5 |是
order_id|订单记录号(车辆在停车场停车唯一订单编号,对应入场订单编号) |String| 9009 |是
query_order_no| 查询价格编号,查询时收费系统返回的查询价格编号| String| 300022 |否
prepay_type |预付类型| Number |1电子,2中央缴费机现金| 是
trade_no| 订单流水号 |String |201704012000121122232 |是
pay_channel |支付通道 |Number| 0微信 1支付宝 2余额 3银联| 否
pay_time| 支付时间| Number(unix时间戳格式,长整型)| 1490876000| 是
arrive_money| 到账金额 |Number|1.25| 是
fee |手续费 |Number| 1.25 |是
account_type |到账类型(1-收入 0-支出)| Number|1 |是
remark |说明 |String |收到停车费-京G00000 |是
示例:测试地址:http://test.bolink.club/zld/openservice/prepayorder
{"data":{"park_id":"22370","union_id":"200279","car_number":"黑AA2224","prepay":21,"order_id":"202108110034","query_order_no":"08110034","trade_no":"Test20210811034","prepay_type":2,"pay_channel":3,"pay_time":1628665927,"arrive_money":20,"fee":1.20,"account_type":0,"remark":"testdly04"},"sign":"4E911414EBF67798A5324175AD0E25D1"}
编码后:ewoJImRhdGEiOiB7CgkJInBhcmtfaWQiOiAiMjIzNzAiLAoJCSJ1bmlvbl9pZCI6ICIyMDAyNzkiLAoJCSJjYXJfbnVtYmVyIjogIum7kUFBMjIyNCIsCgkJInByZXBheSI6IDIxLAoJCSJvcmRlcl9pZCI6ICIyMDIxMDgxMTAwMzQiLAoJCSJxdWVyeV9vcmRlcl9ubyI6ICIwODExMDAzNCIsCgkJInRyYWRlX25vIjogIlRlc3QyMDIxMDgxMTAzNCIsCgkJInByZXBheV90eXBlIjogMiwKCQkicGF5X2NoYW5uZWwiOiAzLAoJCSJwYXlfdGltZSI6IDE2Mjg2NjU5MjcsCgkJImFycml2ZV9tb25leSI6IDIwLAoJCSJmZWUiOiAxLjIwLAoJCSJhY2NvdW50X3R5cGUiOiAwLAoJCSJyZW1hcmsiOiAidGVzdGRseTA0IgoJfSwKCSJzaWduIjogIjRFOTExNDE0RUJGNjc3OThBNTMyNDE3NUFEMEUyNUQxIgp9
返回:Base64处理过的字符串
|字段名称 | 说明|类型| 示例|是否必传字段|
| --- | --- |--- | --- | --- |
state| 状态| Number |0失败 1成功 |是
message |提示,state=0时有值 |String| success |否(有值时必传)
示例:eyJkYXRhIjp7InN0YXRlIjoxLCJtZXNzYWdlIjoi5ZCM5q2l6aKE5LuY5pWw5o2u5oiQ5Yqf77yBIn0sInNpZ24iOiI0RTkxMTQxNEVCRjY3Nzk4QTUzMjQxNzVBRDBFMjVEMSJ9
解码后:{"data":{"state":1,"message":"同步预付数据成功!"},"sign":"4E911414EBF67798A5324175AD0E25D1"}