Coin-freed apparatus for controlling dispensing or fluids, semiliquids or granular material from reservoirs in the form of a spray