Do I have to pay for the whole program when I apply?

No, you do not have to pay for the whole program at one time. You will pay for individual courses at the time you enroll in those courses. More information about enrolling and payment for individual courses is available here