Every other payment provider (at least until stripe came along) buried the code examples (if there were any) in some detailed spec doc after you had already signed up and were basically already committed.
Putting code on the landing page shows that their API genuinely is simple and time saving.