A  Sample Rails project which gives payment rate in json format