Its illegal to keep anyone's passport. Do not accept it as guarantee, rather you should have involved the bank directly and/or through some agent and secure your payment. sometimes compromising small amount is safe and wise...