I heard that people are paying money to run for President. Why?

Is it for support from a political party? Or, does the Supreme Court have a ruling that requires this in addition to what we find in the Constitution for the requirements?