Deposit is refundable if until the end of the day the class is not confirmed.
If the class is confirmed, you will only pay for the remaining amount of the course (minus the deposit of $100).