Long before vending machines sold drinks and snacks, an ancient inventor described a device operated by coins.
This early design is often cited as one of the first known examples of a vending machine.
As the coin https://www.invelos.com/UserProfile.aspx?Alias=JILIWINGONET