Yes, you will be getting your money back if your visa application has been rejected and you can check the refund policy for more details.