In the second ODI, South Pakistan defeated South Africa by 81 runs to win the series 1-2.
Chasing 330 in the match played in Cape Town, South Africa could only score 248 runs.
For the Proteas, Anrik Klaasen played an innings of 97 runs. Tony de Zorzi 34, David Miller 29, Ricci van der Dussen 23, Aiden Markram 21, captain Temba Bumrah 12, Jorn Forten 9, Marco Jensen 3, Kwena Mafaka 1 and Andile Philokweyo 1 were out for 1 run.
For Pakistan, Shaheen Shah Afridi took 4 wickets, Naseem Shah 3, Abrar Ahmed 2 and Salman Agha 1 wicket.
Earlier, Pakistan team batted first at the invitation of South Africa and was dismissed for 329 runs in 49.5 overs.
Captain Muhammad Rizwan was prominent for Pakistan with 80 runs. Babar Azam 73, Kamran Ghulam 63, Salman Agha 33, Saim Ayub 25, Shaheen Shah Afridi 16, Irfan Khan 15, Haris Rauf 6, Abrar Ahmed 4 and Abdullah Shafiq were dismissed for 0 runs.
Naseem Shah returned to the pavilion not out after scoring 0 runs.
South Africa debutant Koena Mafaka took 4 wickets. Marco Jensen took 3 while Jorn Forten and Andile Philokweya took 1 wicket each.