The captain of an asylum-seeker boat allegedly intercepted by the Australian navy has told a court how he negotiated a hefty payment to take the migrants back to Indonesia to avoid going home “empty-handed”.

The Indonesian captain, Yohanis Humiang, 35, is on trial charged with people-smuggling after Australian officials allegedly stopped his boat in May and paid him and his crew US$32,000 to return to Indonesia.

Five crew members are also being tried separately on Rote Island in eastern Indonesia. All six face a minimum of five and a maximum of 15 years in jail.

Claims that Australia paid to turn the asylum seekers back to Indonesia renewed tensions over migrant boats.

Humiang told the court how his boat, carrying 65 mostly Sri Lankan migrants, was intercepted as it tried to head to New Zealand, and he was taken aboard an Australian navy ship.

“I was interrogated,” Humiang told the court on Tuesday. He said he negotiated for 30 minutes with officials before the payment was agreed.

“The money was given to us to take the migrants back to Indonesia, and to be honest I need the money – that’s the very reason I took this job.

“I can’t go home empty-handed.”

Humiang said he and one senior crew member got US$6,000 each, and US$20,000 was divided between the four other crew members.

He took the money and agreed to take the migrants back to Indonesia, as he had not yet been paid by the people-smuggler who had arranged the trip to New Zealand.

In June, after his arrest, Humiang had told how the crew and migrants were not allowed to make the return journey in their own boat, which was seized by the Australians, but were put into two “unseaworthy” wooden vessels.

The crew and migrants arrived on a small island near Rote after being turned back.