For example, below is the code for generating a Master Card number:Ĭonst cardGen = require('card-number-generator')ĬardGen() #returns a valid 16 digit card number ending with the bin 92134(e.g. The package accepts input as a javascript object specifying the details of the card number you wish to generate. You can specify features of the credit card number including the issuer(MasterCard, Visa, Verve), bank, or not more than 10 digits which the credit card number must contain, start with, or end with. Card-number-generator lets you generate valid credit or debit card numbers that pass the Luhn algorithm test. The test card numbers are only valid on the Adyen test platform and will not work anywhere else.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |