EIBAR, Spain — This month, Toni Kroos and Lionel Messi played in the World Cup final in front of nearly 75,000 people at Rio de Janeiro’s Estádio do Maracanã.

Soon, however, these star players will discover the challenge of playing at Ipurúa, a hillside stadium with 5,250 seats that is home to Eibar, the new kid on the block in Spanish soccer.

Tiny Eibar has needed more than just victories to join La Liga, Spain’s top division, and earn the right to challenge Kroos and his Real Madrid teammates or Messi and his fellow Barcelona players. After winning promotion in late May from the second division, Eibar faced a race against the clock to raise 1.72 million euros, or $2.32 million, and meet regulations on how much capital a top-division club should have.

It closed its capital raising Monday, two weeks before the Aug. 6 deadline, after selling €1.98 million worth of shares to fans. It was another significant achievement for the club, but one that its management, proud of having kept the club debt-free, believes shows just how skewed the rules of Spanish soccer are.