Added delete transaction to APIs.