Validate Card
validate_cardValidate a credit/debit card number (keyless, offline): Luhn (mod-10) checksum, detected card network (Visa/Mastercard/Amex/Discover/JCB/Diners/UnionPay/Maestro), and whether the length is valid for that network. Spaces/dashes are ignored. NOTE: this checks the number is well-formed — it does NOT verify the card is real/active/funded (that needs a payment processor).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| number | Yes | The card number, e.g. "4111 1111 1111 1111". |