You will pay the deposit, which is part of the upfront payment, while signing the contract and the remaining of the upfront payment when you receive the car.
For example: if your upfront payment is $5,000, you will pay $2,000 deposit when signing the contract and $3,000 after receiving the car.