How to create Cash Machine?

For AI2 USB connection see

For the USB message requirements of your bill acceptor, see its manufacturer (?) support web site.