The win levelled the two-match series at 1-1, as New Zealand managed to defend a modest target in thrilling fashion.