In which condition it will be haram to sell credit card and loan, if you can explain.

It is not permissible as long as that involve haram transaction such as interest