The last digit of the card number (the 16th digit in most cases) is the check digit, which is calculated by applying a mathematical formula called the Luhn algorithm to the preceding portions of the account number. These 8 digits are the most important part of the credit card number. In this case, the IIN of 558158 indicates that this card was issued by Paypal in United States.ĭigits 7-15 of the credit card number contain the Primary Account Number, or PAN, issued by the bank to uniquely identify the account holder. This sequence uniquely identifies the bank that issued the card. The first six digits of the card number, inclusive of the MII, are called the IIN (Issuer Identification Number) or BIN (Bank Identification Number).
In this case, the MII of 5 indicates that this is a Mastercard card. The first digit of the card is known as the MII digit, and indicates the credit card's scheme.
While credit card number may seem like a random string of digits, they actually contain a large amount of valuable data about the card that can be used for validation and verification purposes. Anatomy of a Paypal Mastercard Credit Card Number