The Proteas claimed a tour whitewash of Pakistan as they clinched the T20 series 2-0 with a seven-run victory in a thriller at the Wanderers on Sunday night.
Skipper on the day, David Miller, smashed an unbeaten 65 off 29 balls to help his team to 188/3 at the end of their 20 overs.
Janneman Malan made 33 off 31 on his debut, but was stumped trying to up the run rate with the total on 58/1.
Rassie van der Dussen came out firing on all cylinders, including a six that almost cleared the Wanderers scoreboard.
After Reeza Hendricks (28 off 27) was run out on 90/2, Van der Dussen was joined by stand-in skipper Miller and the pair lifted the South Africans to 126.
UNBEATEN: SA's David Miller. Photo: SAMUEL SHIVAMBU/BACKPAGEPIX
But his 26-ball innings ended for 45 runs when he skied a Shaheen Afridi full toss for Imad Wasim to take a simple catch.
After a short rain delay with the score on 149/3 after 17.1 overs, Miller put the hammer down, bringing up his 50 with a six after 25 deliveries.
But the Pakistanis began their reply with purpose, with Babar Azam scoring 43 runs in the first powerplay.
Azam reached his 50 off 34 deliveries and would continue the onslaught as he and Hussain Talat (55 off 41) lifted the total past 100 with one wicket down at the end of the 10th over.
They took the Proteas bowlers to the cleaners with a second-wicket partnership of 102 before Azam fell for 90 off 58.
The Proteas bowlers then clawed their way back into the game as Chris Morris (2/36) struck twice in the penultimate, before Andile Phehlukwayo (3/36) took another double to defend the total in a tense finish to follow up Friday’s six-run win at Newlands.