created Transactions API handler