Moving transactions to REST