New Zealand completed a 5-0 whitewash of the one-day international series, despite a late fightback by Pakistan in the fifth and final ODI on Friday.
Pakistan's top order crumbled in reply to New Zealand's 271-7 but the tourists rallied to lose by only 15 runs in a nail-biting finish at Basin Reserve in Wellington.
The Pakistanis were facing another comprehensive defeat after Martin Guptill's 13th ODI century and Matt Henry's fine performance with the ball, which left the visitors reeling at 57-5.
Pakistan refused to surrender – even at 202-8 and 235-9 – the run chase set to go down to the final over as Haris Sohail (63), Shadab Khan (54), Aamer Yamin (32 not out), Faheem Ashraf (23) and Mohammad Nawaz (23) targeted New Zealand's attack.
But Pakistan were made to pay for their slow start, New Zealand surviving to win a bilateral ODI series 5-0 for just the second time in history.
Henry finished with figures of 4-53, having taken the opening three wickets – openers Umar Amin (2) and Fakhar Zaman (12) and Babar Azam (10), while Mitchell Santner (3-40), Lockie Ferguson (2-64) and Colin de Grandhomme (1-48) chipped in.
While Pakistan restricted the hosts, Guptill (100) took centre stage earlier in the day after Black Caps captain Kane Williamson won the toss and elected to bat first.
The 31-year-old Guptill and Ross Taylor (59), who posted his 41st half-century, combined for 112 runs after Colin Munro and Williamson made decent starts but failed to push on.
Munro stormed out of the blocks with 34 off 24 deliveries before he was dismissed by Rumman Raees (3-67), while Yamin (1-65) got the wicket of Williamson (22) 12 overs later.
That brought Guptill and Taylor together, and while Pakistan managed to slow New Zealand's scoring, the pair were able to celebrate milestones.
WOW - that got close ... very close!— BLACKCAPS (@BLACKCAPS) January 19, 2018
Terrific rearguard action by Pakistan takes them within 15 runs, but Henry (4-53) holds his nerve in the 49th over to seal a 12th straight victory #NZvPAK pic.twitter.com/UVoF2RpWQo
Guptill, who had a life on 72 after slipping over as Faheem Ashraf (2-49) missed the stumps in a run-out chance, brought up his ton off 125 balls but his innings was ended with the next delivery when he was caught by Mohammad Hafeez off Rumman as he tried to lift the ball over leg side.
His wicket triggered a middle-order collapse as the New Zealanders lost 31-4, including three in the space of five runs after Taylor followed Guptill back to the pavilion.
|Garcia battles past Sasnovich in Connecticut|
|Peterson a ´physical freak´, says Redskins´ Gruden|
|Thunder forward Grant says Westbrook is a ‘great team-mate’|
|Edmund and Chung make progress in Winston-Salem Open|
|Independiente 0 Santos 0: Dogged defending preserves deadlock|
|Ceferin nominated for second term as UEFA president|
|Marseille have ´moved on´ from Balotelli deal|
|´Crazy´ Cheika his own toughest critic|
|McClaren defiant amid QPR woes|
|Lendl joins Zverev´s coaching staff|
|England captain Hartley ready for return|
|Buttler happy to serve up a century as England dig in at Trent Bridge|
|PSV beat BATE in Champions League thriller, Benfica held at home|
|Mkhitaryan backs Emery´s philosophy at Arsenal|
|Championship Review: Leeds go top, QPR problems mount|
|Ronaldo shares snap of ´Juventus family´|
|Aguero is the Premier League´s best foreign import, says Shearer|
|Real Madrid warned they must pay Rodrigo´s €120m release clause|
|England´s Broad fined for Pant rant|
|India on brink of victory after brilliant Bumrah halts Buttler|
|Serena Williams elevated to 17th seed at US Open|
|Kombouare signs new two-year Guingamp contract|
|Scaloni unclear on Messi´s long-term Argentina plans|
|F1 Raceweek: Gasly and Alonso restore focus at Spa|
|Nouri able to communicate, brother reveals|
|Pjanic extends Juventus contract to 2023|
|Odegaard joins Vitesse in latest loan from Real Madrid|
|Luck ´sort of happy´ with sack from Suggs|
|Manchester United´s Sanchez will ´be back soon´|
|Former Giants star Cruz announces retirement|
|RFU set Cipriani disciplinary date despite RPA complaints|
|Spalletti fined €10,000 for ´gravely offensive´ referee comments|
|IndyCar driver Wickens has spinal surgery after Pocono crash|
|Tiger: No doubt this is one of my best years|
|Vice-captain Tiger trying to remain objective in Ryder Cup conversations|
|Ronaldo won´t win Serie A by himself, warns Allan|
|Moeen sends message to England selectors with double century|
|Brunt calls time on Northern Ireland career|
|Tottenham´s Janssen sidelined after foot surgery|
|Liu Xiang breaks women´s 50m backstroke world record at Asian Games|
|Atletico Madrid winger Vitolo suffers knee ligament damage|
|Leverkusen teen Havertz aiming to emulate idol Ozil|
|Beckham to be honoured with UEFA President´s Award|
|CPS drops Hillsborough charges against Bettison|
|Who can take over from Federer, Nadal & Djokovic? Agassi backs Zverev, Kyrgios|
|´Freak incident´ rules Dragons´ Vaughan out for season|
|Kompany: Different Manchester City must not be complacent|
|Toyota withdraw appeal over Alonso´s Silverstone disqualification|
|Manchester City offload defender Denayer to Lyon|
|RPA want RFU to drop Cipriani charge|
|Cheika still the right man for Australia - Polota-Nau|
|Bolt not giving up on Manchester United dream|
|All Blacks must improve ´average´ set-piece, says Smith|
|Raiola hits back at Scholes following Pogba criticism|
|Indians top Red Sox in series opener|
|Struff stuns Cecchinato, Jarry reaches last 16|
|I´ll prove people wrong - Bolt completes first Mariners training session|
|Former champ Kvitova tops Radwanska, Pliskova ousted|
|Sad if it´s Filipe Luis´ last game for Atletico - Oblak|
|White Sox manager Rick Renteria hospitalised before game|
|Carragher: Van Dijk can become Liverpool legend|
|No timetable for Sale return from shoulder injury|
|This is a partnership - Rodgers on contract negotiations with Packers|
|Eagles QB Wentz unsure he´ll be cleared to play opener|
|Balotelli staying at Nice|
|It wasn´t a penalty, says Hodgson as Palace boss fumes at refereeing decisions|
|Salah can play much better - Klopp demands more from Liverpool star|
|Gasly to Red Bull: Vettel, Verstappen and the drivers who took their Toro Rosso chance|
|Klopp in the dark on Karius future amid links to Besiktas|
|Simeone pleased with draw after rigours of Super Cup|