Paying Swiss Tolls

The last time in went, I was in transit,not unloading or loading in Switzerland but going to and from Italy .
A French driver showed me the ropes for the toll tax .
I showed the vehicle documents to an official.
Then there is machine, self automated to enter the number of axles .
I was given a swipe card for the machine .
Most drivers will help you out, who have done it many times .