Point of sale API ported to Clojure