Credit Card Number Validation and Masking
Hi All,
I have a requirement to validate a Credit Card Number to ensure it is a valid number based on logic for major credit cards, as well as mask the value (**** **** **** 0459). I understand that not all cards are 16 digits and there are calculations to validate the type of card by the first few digits, next set is the account #, and the last digit is a check digit.
I've found JS examples with algorithms for validating the major credit cards (Validate a Credit Card Number in JavaScript | Delft Stack), but was wondering if there is any Pega OOTB validations, functions, and masking that can be used, as I have not been able to find any in the base Pega product.
We are not using Smart Disputes, just the core Pega product. If there's anything available in other Pega applications, I'd appreciate being pointed in the right direction.
Thanks in advance.