It all depended on Rehman, but he did not get hold of an attempted pull shot and Guptill took a safe catch in the deep to put the spirited Kiwis back in the hunt for a place in the last four ahead of their next game against England on Monday.
BBC: New Zealand beat Pakistan in last-ball T20 thriller