DLCardExpert
Entry point for dLocal Card Expert Use this instance to validate and format input fields for your card form.
Constructors
Creates an instance of DLCardExpert
Functions
Detect card brand for an specific card identifier or null if it's not supported.
Detect card brand from a complete or partial card number.
Format a card number based on the visible ending part
Format a card number based on the rules of the brands selected
Format an expiration date
Format only the month part of the expiration date
Format only the year part of the expiration date
Format a security code based on the card brand rules
Validates if a complete or partial card number is a valid card number.
Validates if a String input is a valid date.
Validate the card holder name.
Validates if a String input is a valid security code for the given card brands.