Coin Acceptor with Arduino and Retropie

Setting up an Arduino to interface to a coin acceptor is possible as you can see from the video.
You may even be able to interface a coin acceptor directly to a pi.
How are you planning to test on the Pi (retro Pie) if there is a credit available before launching a game ?