Former Olympic Council of Ireland (OCI) president Pat Hickey has accepted the terms laid down by a Brazilian judge, in order to have his passport returned to him.
A judge ruled earlier this week that he could return to Ireland for medical treatment.
"I accept the request of prosecutors and set the bail at 1.5 million reais (€410,000)," Judge Juliana Leal de Melo said in a statement.
"As a condition for the release of his passport and authorization to leave the country for health treatment."
His lawyer has said this evening that the money will be deposited - however it is still not clear who will be paying.
A spokesperson for the OCI confirmed to Newstalk.com yesterday that it is not paying the bail bond.
The 71-year-old is facing charges relating to alleged ticket touting at Rio 2016. He has denied all allegations made against him.
It could could still be a number of weeks before Mr Hickey returns to Ireland.