Fixed typo in transaction api endpoint.