what kind of deposit do I have to pay for my new home? And will I get it back when I leave
what kind of deposit do I have to pay for my new home? And will I get it back when I leave? 

1 or 2 months deposit in advance when you sign a long term leasing contract (1 month deposit= 1 month rent).The deposit normally is the money beside the rental. Deposits are often paid upon signing of the lease to ensure unit occupation, compensation for damages caused by the tenant, or non-performance of lease terms. 

The landlord will offer a receipt when he receives the deposit. Please save and take care of the receipt for future use. 

Should the property condition be deemed acceptable upon lease expiration, the security deposit will be refunded in full. Deposits are paid back the last day of your leasing contract after you and the owner have checked the apartment.