Vending machine: a machine that sells drinks, food, tickets, etc., without a salesperson; commonly abbreviated as 'jihanki' or 'jihan-ki' (自販機).
駅の自動販売機で缶コーヒーを買った。
I bought a canned coffee from the vending machine at the station.
この自動販売機は24時間稼働している。
This vending machine operates 24 hours a day.
自動販売機にお札を入れたら詰まってしまった。
When I put a bill into the vending machine, it got stuck.