Hello and thanks for using Just Answer.
I am Al and am happy to assist you with your enquiry.
Only once you are happy with the Flat and the Landlord has agreed to rent it to you, and the term of the Tenancy and the rent has been agreed, should you hand over the security deposit and first month's rent.
If you haven't even viewed the flat yet, the Landlord should not and is not legally entitled to any payment from you!
I hope this clarifies the position to you.
Can I assist you any further?
If not, I would be grateful if you could rate my answer.