The alleged offender was found hiding at a nearby property.
Police said the tight space he was in made it very difficult for officers to detain or communicate with the man. Officers spent some time talking to him and he was able to be taken into custody without any use of force.
The 21-year-old victim was in a serious but stable condition in Wellington Hospital.
Police said they would be looking to interview him to get further details about what had happened once he had received medical treatment.
Nobody else was wanted in relation to the incident.
Police would like to hear from any witnesses who saw the 22-year-old man jump out of the car in Karori Road or in the Burrows Avenue area.