> 支持 SDK车场、4G 车场
> 商超抵扣的场景,4G 车场只处理了减免时间和减免金额
调用该接口透传到车场sdk,接收数据的车场需对接文档3.25接口。
测试地址:http://test.bolink.club/zld/openservice/paynoticetopark
正式地址:http://yun.bolink.club/zld/openservice/paynoticetopark
字段信息:
| 名称 | 说明 | 类型| 示例 | 是否必传字段 |
| --- | --- | --- | --- | --- |
comid |车场编号 |String |20307sss |是
| union_id | 厂商平台账号 | String| 200002 | 是 |
car_number| 车牌号| String |京A11111 |是|
type|缴费类型|Number|1,平台缴费/积分抵扣;2,酒店订单|是
|**商超抵扣参数**
order_id |订单号| String |1490875218_sfsf |是
trade_no |流水号 |String |Hdsfsfsf |否
pay_time| 支付时间(unix时间戳格式)| Number| 1490875218| 是
payable |应付金额,单位为元| String| 5.0 |否
act_total |实收金额,单位为元| String |5.0 |否
reduce_amount |优惠金额,单位为元 |String |3.0 |否
deduction_count| 积分抵扣数量 |String| 2 |否
deduction_time |减免时间,单位分钟 |String |234 |否,4G车场必填
deduction_money| 减免金额,单位为元| String |22| 否,4G车场必填
remark |备注 |String |停车费 |否
out_channel_id |出口通道 |String | A11 |否(只支持SDK车场下发,需车场本地软件处理相关业务)
pay_type |支付类型 |Number| 1微信2支付宝3银联 |否
|**酒店订单参数**
|arrival_time|抵店时间| Number| 1630567110|type 为 2 时必传
|check_out_time|离店时间 |Number |1630567110|type 为 2 时必传
|car_number_type| 车牌类型 0黑名单 1白名单 |Number |1| type 为 2 时必传
> 示例:
> 测试地址:http://test.bolink.club/zld/openservice/paynoticetopark
> {"data":{"comid":"21782","union_id":"200160","pay_time":1553047446,"trade_no":"915sadasfgg1","order_id":"53244Aa","payable":"0.01","act_total":"0.01","reduce_amount":"0.01","deduction_count":"10","deduction_time":"10","deduction_money":"10","pay_type":2,"remark":"备注","car_number":"苏H00000"},"sign":"466A7D9B016E2866165ED21117C61A2D"}
>
> 发送请求的Base64数据:
> ew0KCSJkYXRhIjogew0KCQkiY29taWQiOiAiMjE3ODIiLA0KCQkidW5pb25faWQiOiAiMjAwMTYwIiwNCgkJInBheV90aW1lIjogMTU1MzA0NzQ0NiwNCgkJInRyYWRlX25vIjogIjkxNXNhZGFzZmdnMSIsDQoJCSJvcmRlcl9pZCI6ICI1MzI0NEFhIiwNCgkJInBheWFibGUiOiAiMC4wMSIsDQoJCSJhY3RfdG90YWwiOiAiMC4wMSIsDQoJCSJyZWR1Y2VfYW1vdW50IjogIjAuMDEiLA0KCQkiZGVkdWN0aW9uX2NvdW50IjogIjEwIiwNCgkJImRlZHVjdGlvbl90aW1lIjogIjEwIiwNCgkJImRlZHVjdGlvbl9tb25leSI6ICIxMCIsDQoJCSJwYXlfdHlwZSI6IDIsDQoJCSJyZW1hcmsiOiAi5aSH5rOoIiwNCgkJImNhcl9udW1iZXIiOiAi6IuPSDAwMDAwIg0KCX0sDQoJInNpZ24iOiAiNDY2QTdEOUIwMTZFMjg2NjE2NUVEMjExMTdDNjFBMkQiDQp9
同步返回:Base64处理过的字符串
| 名称 | 类型 | 说明| 是否必传字段| 示例 |
| --- | --- | --- | --- | --- |
state |Number| 调用结果 0失败,1成功 | 是| 1
message |String| 提示信息 |是 |发送成功
car_number| String |车牌号 |是| 苏H00000"
order_id| String |订单号 |是| 53244Aa
> 示例:eyJkYXRhIjp7ImNhcl9udW1iZXIiOiLoi49IMDAwMDAiLCJzdGF0ZSI6MCwibWVzc2FnZSI6Iui9puWcuuS4jeWcqOe6v++8gSIsIm9yZGVyX2lkIjoiNTMyNDRBYSJ9LCJzaWduIjoiNDY2QTdEOUIwMTZFMjg2NjE2NUVEMjExMTdDNjFBMkQifQ==