创建停车入场
车辆入场以后,商户调用该接口,创建停车入场信息。 官方文档 官方文档
js
wxpay.v3.vehicle.parking.parkings.post({
sub_mchid,
out_parking_no,
plate_number,
plate_color,
notify_url,
start_time,
parking_name,
free_duration,
}, { headers })
.then(
({
data: {
id,
out_parking_no,
plate_number,
start_time,
parking_name,
free_duration,
state,
block_reason,
},
}) => ({
id,
out_parking_no,
plate_number,
start_time,
parking_name,
free_duration,
state,
block_reason,
})
)