mimic atm api