Comply with the apartment's No Visa No Pay policy, and send an email to the apartment as soon as you receive the official refusal letter to apply for a refund