Fix transactions API calling the wrong endpoint