Opening batsman Quinton de Kock launched an assault on Pakistan's bowlers to set up a series-clinching win for South Africa in the fifth and final one-day international at Newlands on Wednesday.
De Kock slammed 83 off 58 balls as South Africa chased down a target of 241 with seven wickets and ten overs to spare to seal a 3-2 series win.
"Quinny made it easy for the rest of the batters," said South African captain Faf du Plessis, who said he was "extremely happy" with the way his team had played.
While man-of-the-match De Kock sealed the win with his dazzling strokeplay, South Africa's bowlers played a significant role by restricting Pakistan to 240 for eight despite an aggressive 70 by Fakhar Zaman.
SCORES IN BRIEF
PAKISTAN: 240 for 8 (Fakhar 70, Malik 31, Imad 47 not out; Phehlukwayo 2-42)
SOUTH AFRICA: (De Kock 83, Du Plessis 50 not out, Van der Dussen 50 not out; Shaheen 1-34)
Result: South Africa won the match by 7 wickets and won the series 3-2.
Player-of-the-match: Quinton de Kock
Player-of-the-series: Imamul Haq