Random Number function

This function is used to generate 16 digit random number. It takes 3 parameters in which third is the optional one.

First parameter: Type of card.
Second parameter: Number of random digits.
Third parameter: Number of time user wants that random number separated by comma.
We support various type of Credit cards like: visa , master , amex , discover , enroute , jcb , voyager , diners. User has to provide the exact type of the credit card in the function as mentioned here.

Syntax: ${__ccnum(visa,16,1)}

Further this function can be used to generate a random number of given number of digits.

Example: ${__ccnum(visa,10)} ==> 4024007140
Example: ${__ccnum(visa,5,2)} ==> 64356,35231

Was this page helpful?