多应用+插件架构,代码干净,二开方便,首家独创一键云编译技术,文档视频完善,免费商用码云13.8K 广告
异步返回结果,回调到收费系统时,根据state状态处理业务,当state为1时,才是退款成功。 | 字段名称 | 说明 | 类型 | 示例 | 是否必传字段 | | --- | --- | --- | --- | --- | service_name| 接口名称| String| refund| 是 state| 状态 | Number| 0失败1成功 |是 park_id |车场编号| String| 1001| 是 trade_no| 订单流水号| String| 201704012000121122232| 是 refund_money |退款金额(小数点后保留两位小数) |float |0.01| 是 errmsg |方法返回描述 |String| 当state为0时:errmsg:“支付失败,请求超时或其他(...)”| 否 | union_id | 厂商编号 | Long | 100000 |是 | refund_channel | 退款通道(0微信 1支付宝 3银联 4建行 ) | Integer | 0 | 是 | refund_time | 退款时间 | Long | 15 | 1490875218 | 是 | car_number | 车牌号码 | String | 京GH0000 | 是 |arrive_money| 到账金额(此处为0) | Double| 0 |是| |fee| 手续费 | Double |1.25 | 是| |account_type| 到账类型(1-收入 0-支出) |Integer | 1 | 是| | order_id | 交易订单号 | String | A11110000 | 是 |remark| 说明(接口上传过来的title返回下去) |String | 收到停车费-京G00000 |是| ***** > 示例 {"data":{"service_name":"refund","union_id":100000,"park_id":"12345","trade_no":"12502019021912541279255098","refund_money":0.01,"state":1,"errmsg":"退款成功","refund_channel":0,"refund_time":1550556917,"car_number":"苏GH0000","order_id":"1234567A_12322131","arrive_moeny":0,"fee":0,"account_type":0,"remark":"微信主扫退款"},"sign":"D962D47FB95FBC5A320712509AF74BB4"} 返回 | 字段名称 | 说明 | 类型 | 示例 | 是否必传字段 | | --- | --- | --- | --- | --- | service_name |接口名称 |String |refund| 是 state| 状态| Number| 0失败1成功 |是 errmsg |方法返回描述|String |state=0时不能为空 |否(state=0时必传) trade_no| 订单流水号 |String |201704012000121122232 |是 > 示例 > {"service_name":"refund","state":1, "trade_no":"201704012000121122232","errmsg":"退款成功" }