Expand description
card-validate detects and validates credit card numbers (type of card, number length and Luhn checksum).
Structs§
- Validate
- Card validation utility. Used to validate a provided card number (length and Luhn checksum).
Enums§
- Type
- Card type. Maps recognized cards, and validates their pattern and length.
- Validate
Error - Validate error. Maps possible validation errors (eg. card number format invalid).