Transactions API handler