Kane Williamson and Ross Taylor have both scored centuries as New Zealand set Pakistan 370 to win the second one-day international, after they finished their innings on 369-5.
Williamson (122) hit 14 fours off just 88 balls, before a rampant Taylor (102*) accelerated the run-rate in the final 10 overs, and he reached his century off the final ball of the innings.
Mohammad Irfan was the best of Pakistan's bowlers, as he claimed the wickets of both Williamson and wicketkeeper Luke Ronchi to finish with figures of 2-52.
Mohammad Hafeez and Ahmed Shezhad will open the batting for Pakistan when they begin their run chase after the interval.