The CreditCardPrefixGen Generator generates credit cards via the Luhn algorithm defining the startIndex, cardPrefix, and cardLength. This Generator will self-increment by one with each iteration, starting from the value of the startingIndex.


The following parameters may be configured for the CreditCardPrefixGen Generator. Items with an asterisk* are required. 

  • startIndex* - Defines the initial starting index for the credit card number generation. Default is 0.

  • cardPrefix* - Defines the prefix of the credit card. Default example is 26444.

  • cardLength* - Defines the fixed length of the credit card. The exact length is necessary in order to correctly generate cards using the Luhn algorithm. Default is 16.

Example 1: Create a Valid 16-Digit Credit Card Number Starting with 26444

Sample Output