South Africa have sealed their T20 International series against Pakistan after winning the second match at Johannesburg.
After posting 188 for 3, the hosts restricted Pakistan to 181 to seal a narrow seven-run victory.
The third and final match will be played in Centurion on Wednesday.