Neymar has signed a new five-year contract with Barcelona that will keep him at the club until 2021.
The Brazil international's release clause is set at €200 million but will increase to €222m next season and then up to €250m for the remainder of his deal.
Barcelona president Josep Maria Bartomeu revealed at a press conference on Thursday that an agreement was close before the 24-year-old confirmed his intention to stay later in the day.
'Dybala rejected Barca move'
Neymar, who is set to join the Brazil national team for the Olympic Games, has been linked with the likes of Manchester United and Paris Saint-Germain for months but has now signed a three-year contract extension.
A formal presentation of Neymar's new deal will take place on July 15 ahead of the player's Olympic Games commitments.
Neymar has scored 85 goals in 141 games since joining Barcelona in 2013, winning eight trophies including La Liga twice and the Champions League once. - Goal