How to get a Visa credit card?

Getting a valid Visa credit card number

Visa credit card number

Resulting credit card number:


How to get a Visa card number?

In order for a credit card number to be valid, it has to be validated by the MOD 10 algorithm. This is an algorithm specifically designed to prevent accidental errors such as typos. Knowing the Major Industry Identifier (MII) and the Issuer Identification Number (IIN) we can prefix a credit card number and then randomly select the rest, as long as they comply to the MOD 10 algorithm.

In order to do this we find which prefixes we can use specifically for Visa cards. We're currently using the following list and randomly generating the rest:

  • 4539
  • 4556
  • 4916
  • 4532
  • 4929
  • 4485
  • 4716

Luhn algorithm calculation example

Luhn algorithm calculation example