Made the first api call for add transaction