Pakistan batted first and set a target of 291 runs for New Zealand to win.
Williamson and Guptill made 159 run partnership record for New Zealand in ODIs
READ MORE:National Security Committee meeting: PM Khan gives free hand to Armed Forces to retaliate to Indian misadventures
The match was interrupted by heavy rain and target was revised to 263 runs from 43 overs according to Duckworth-Lewis rule.
Anderson contributed 35 runs from 29 balls in New Zealand win.