When you apply for a mortgage, your credit history will play a major role in deciding the type and amount…