1.You are eligible for payment of gratuity after completion of 5 years of service in your Company as a permanent employee.
2. You should resign thereafter.
3. Before resigning enquire from your HR whether the Company has entered your employment details properly evidencing that you have worked with them for the last 5 years or not.