Note: cc_check.py
validates the cc without any use of modules and packages, moreover it is light-weight.
Credit card numbers are generated according to certain rules. It gives merchants a way to verify the validity of a card number before accepting the customer's payment.
It is important to keep in mind that whenever fraudulent cards are used, the merchant loses if too many fraudulent transactions occur, you may incur higher processing fees, expensive chargebacks, or even losing your merchant account and your ability to do business.
But you can mitigate these risks with the help of a little automation.
Credit Card Validator
Supported Credit Cards:
************************
> Visa card
> American Express card
> Diners Club Carte Blanche
> Mastercard card
> Discover card
Using the script you can validate the following things:
> Card number is valid or not
> Card type
> Major Industry Identifier
> Card Account Number
> Checksum
https://www.creditcardinsider.com/learn/anatomy-of-a-credit-card/#credit-card-number