IsValidUSZipCode and IsValidCanadianZipCode can be called just like you would call IsValidAddress in the first example. XCheck uses this algorithm to make sure that the credit card number is valid. XCheck has built-in functionality to check credit card numbers for validity. The function ValidCreditCardNumber will verify that the credit card number is valid. ValidCreditCardNumber does not check to make sure that there are sufficient funds in the user's account, nor does it verify that the credit card is overdrawn.
Users can enter their credit card numbers with spaces, dashes, or without a delimiter.
By calling CreditCardTypeFromNumber , XCheck will return the type of Credit Card based on the credit card number, in the form of a string. This way you can make sure that the credit card number the user selects matches the credit card number entered. Email Verification You can verify that the user's email address has the correct syntax with XCheck. By calling IsValidEmail XCheck will check the syntax of the email address. This can be used much like IsValidAddress in the first example.