Parameter
Type
Required
Description
type
string
true
The name to be returned to you during validation events
validRegex
string
true
Regular expression used to validate the input.
possibleRegEx
string
true
Regular expression used to partially validate the input. This is commonly used to toggle logos/images of the brand detected while the user is typing.
maxLength
string
true
Max length of the expected input.
cvvValidRegex
string
false
Required when in PCI w/CVV or CVV Only mode
cvvMaxLength
string
false
Required when in PCI w/CVV or CVV Only mode
cvvRequired
string
false
Allows a blank CVV input when false
luhnCheck
bool
false
Indicates the system to verify Luhn compliance on custom card schemes

Default value is set to True

Note: - There will not be (Luhn compliance) format validation error if enforceLuhnCompliance parameter is set to false.

This will suppress the JavaScript Luhn check error, allowing the user to send the request to the backend. However if the token scheme doesn't allow skipping the Luhn check, the token generation will still error.