The all-rounder went under the knife on Friday. He had travelled to London on October 2 along with team India physiotherapist Yogesh Parmar.
The 37-year-old was phenomenal in India's World Cup triumph in 2011 as he became the first all-rounder to score over 300 runs and scalp 15 wickets in a single World Cup.
The younger of the Pandya brothers -- Hardik -- was back in the team after being rested to treat his minor niggles as part of the workload management programme.
India beat the West Indies by four wickets in the opening T20I before defeating the Caribbean side by 22 runs owing to the Duckworth-Lewis-Stern (DLS) method in the second match.
A century of ODI wickets for Jasprit Bumrah 100. It's taken him just 57 games to reach the landmark - only one Indian has got there quicker
India's bowling attack will be spearheaded by Jasprit Bumrah and will get support from Bhuvneshwar Kumar. But it was the spin attack that shined during the first match as Yuzvendra Chahal sent four of the Proteas batsmen back to the pavilion to give India an upper hand over South Africa.
Dev led the team during India's 1983 World Cup triumph. India defeated West Indies in the final by 43 runs. In this edition of the premier tournament, the team will be led by Virat Kohli, who atop the ICC ODI rankings.
The players have to abide by the decision "within four weeks". If they fail to do so within the time granted, "The BCCI may deduct the said amount from the match fees payable to the players," the court order said.
Pandya, who was adjudged the player of the match, said he has been hitting the ball well and hoped to continue in the remaining games.
All-rounder Hardik Pandya has been ruled out of India's T20I and ODI series against Australia due to lower back stiffness. Ravindra Jadeja will replace him in the ODI squad.