Can Arduino be used to prototype a vending machine...

well and how are you going to read credit debit cards and connect your vending machine to the bank? I believe all electronic work on 1 side and this banking side at the other hand! laws and regulations and connectivity..all that?