Chasing 233 for victory, Australia slumped to 44-5 before Green combined in a 158-run stand with Alex Carey, who made 85, to revive their chase.
The all-rounder smashed 10 fours and a six as Australia clinched the low-scoring contest with five overs to spare to go 1-0 up in the three-match series for the Chappell–Hadlee Trophy.
What a match 🔥From 44/5 at one point, Australia fight back to clinch the first ODI 👏Watch #NZvAUS on… https://t.co/9HUOYqV6yj
— ICC (@ICC) 1662466709000
Earlier, Glenn Maxwell claimed 4-52 to restrict New Zealand to 232-9 after home captain Aaron Finch elected to field.
Maxwell took a stunning one-handed catch at backward point to send back Martin Guptill in the fifth over before wreaking havoc with the ball.
Devon Conway (46), skipper Kane Williamson (45) and Tom Latham (43) missed their fifties but at 179-3 after 41 overs, New Zealand looked primed for a late assault.
Maxwell, who had dismissed Williamson just when the batsman was cutting loose, sent back Daryl Mitchell (26) and Latham in the same over and Josh Hazlewood grabbed three late order wickets to keep New Zealand under 250.
Australia found themselves early in a hole after the top half of their batting order was blown away inside 12 overs.
Trent Boult (4-40) trapped Finch lbw for five, prolonging the opener’s run drought which remains a major concern for Australia.
Boult went on to remove Steve Smith and Marnus Labuschagne in his successive overs before Matt Henry came up with a double strike, which included the wicket of David Warner (20).
Green and Carey dragged the hosts back into the contest with their positive batting but more drama was on the cards.
Carey’s 99-ball blitz ended when he pulled Lockie Ferguson to mid-on leaving Australia needing 31 runs from 65 balls with four wickets in hand.
Maxwell and Mitchell Starc departed in successive overs and Green developed cramps and was seen hobbling towards the end of his knock.
Green and Adam Zampa, who made 13 not out, returned after a brief rain interruption and Australia triumphed when Ferguson, bowling the 46th over, sent down a wide delivery.
The second match is scheduled on Thursday.