Ans:
First, you have to close your credit card by paying all dues; then, you can apply physically or through net banking on HDFC's site for the NOC letter.