Short answer reputation. Swiss pike formations were some of the most effective units on the battlefield. Switzerland was a poor country and so many of its citizens would serve as mercenaries. It also helped that you could employ Swiss mercenaries easily though the Swiss government.