A credit card is a payment card issued to users (cardholders) that allows the cardholder to pay a merchant for…