When West Ham played Brighton on Saturday, they secured their spot in the Premier League for the next season.
The loan agreement between West Ham and Nice includes a provision that requires West Ham to pay Barcelona a certain amount if they avoid relegation. This amount is €42.5 million, and Barcelona will receive 20% of this payment, which is approximately €8.5 million.