Rails side to Nagira API.