Dev / Validate

Luhn Check.

The last digit of a credit card is a checksum. This catches single-digit typos and most transpositions — not fraud, just fat-finger errors.

Not card verification

Passing Luhn does not mean the card exists or has funds. It only means the digits are internally consistent. Real validation requires a payment network.