I know what you were talking about, of course

Over here it's usually called a bond (rental/tenancy bond).