Title: | Checks if a Number is Valid Using the Luhn Algorithm |
---|---|
Description: | Confirms if the number is Luhn compliant. Can check if credit card, IMEI number or any other Luhn based number is correct. For more info see: <https://en.wikipedia.org/wiki/Luhn_algorithm>. |
Authors: | Adam Deacon [aut, cre], Karina Marks [ctb], Owen Jones [ctb] |
Maintainer: | Adam Deacon <[email protected]> |
License: | GPL-3 |
Version: | 1.1.0 |
Built: | 2025-02-07 03:26:13 UTC |
Source: | https://github.com/adamjdeacon/checkluhn |
Contains function for confirm if card numbers are valid and getting information about the card scheme and issuer see the repo at https://github.com/adamjdeacon/checkLuhn.
Adam Deacon ([email protected])
A dataset containing the top level BIN ranges for card issuers
bin_ranges
bin_ranges
A data frame with 48 rows:
The card issuer
start of card range
end of card range
Is card still available
Length of PAN
https://www.bincodes.com/bin-list
Checks number is Luhn compliant
checkLuhn(number)
checkLuhn(number)
number |
The number to be checked |
checkLuhn('4111 1111 1111 1111')
checkLuhn('4111 1111 1111 1111')
Attempts to return the issuer and if the scheme is still active.
issuer(number)
issuer(number)
number |
PAN to look up |
A dataframe of the issuer and if the scheme is active
issuer('4111 1111 1111 1111')
issuer('4111 1111 1111 1111')