Formal — to staff
Vending · Machine
You
すみません、この自動販売機でお金が戻ってきてしまって、商品が出ないのですが。
すみません、このじどうはんばいきでおかねがもどってきてしまって、しょうひんがでないのですが。
Excuse me, my money was returned at this vending machine, and the product didn't come out.
Romaji: Sumimasen, kono jidōhanbaiki de okane ga modotte kite shimatte, shōhin ga denai no desu ga. / Reply Romaji: Mōshiwake gozaimasen. Dono shōhin ka wakarimasu ka? Kakunin shite, henkin sasete itadakimasu.
Reply
申し訳ございません。どの商品か分かりますか?確認して、返金させていただきます。
もうしわけございません。どのしょうひんかわかりますか?かくにんして、へんきんさせていただきます。
I apologize. Do you remember which product it was? I'll check and issue a refund.
Gesture & etiquette
Point to the vending machine and show the returned money or indicate the item that didn't dispense.
Do not try to force or damage the machine. Look for a nearby store or a phone number on the machine to report the issue. Keep your receipt if you have one.