Black Caps all-rounder Corey Anderson pulled off a rare caught and bowled overnight when Hashim Amla's shot bounced off the bat of fellow batsman JP Duminy and into the hands of the New Zealander.
It wasn't enough however for the Black Caps to pull off the win after failing to chase down 171 for the victory.