he was named to sri lanka's one day international (odi) squad for their series against zimbabwe. he made his odi debut for sri lanka against zimbabwe on 2 july 2017. in the match, he took the final three zimbabwe wickets in the innings in consecutive deliveries, becoming the youngest bowler to take a hat-trick on debut in an odi. he was also the third debutant in odi history to claim a hat-trick after bangladeshi taijul islam and south african kagiso rabada. he also became the first leg-spinner to take a hat-trick in odi history.