Number masking is used when sending messages containing bank card or account numbers. Masking allows you to display only the first and last four digits of the card or account number and hide the other digits with the * symbol.
Masking Conditions and Peculiarities
The card or account number to be masked is considered to be a sequence of 14 to 21 digits without spaces, where the first digit is 3, 4, 5, 6 or 7, as well as a sequence of digits with separators in formats:
4_4_4_6
, 4_4_4_3_3
, 8_10
, 4_4_4_4
, 4_8_4
, 4_6_5
, 4_6_4
, 4_4_4_3
, 4_4_4_4_2
, 4_4_4_4_5
, 4_4_4_4_4
, 5_3_1_4_7
, 5_3_1_4_8
A digit in the format indicates the number of consecutive digits in the number. For example, the format 4_4_4_6
can represent the number 3123_1234_1234_123456
.
A space and the following special characters are used as separators:
_ - . , ; : *
Consider the following particularities:
- When the agent sends the card or account number to the customer, there will be a hidden number in the agent’s automated workplace and in the customer’s chat. For example, a sent 16-digit number can be displayed as
3123********3123
. - When the customer sends the card or account number to the agent, the number will only be hidden in the agent’s automated workplace. To also hide the number in the customer’s chat, refresh the page from the WebSDK or the Android or iOS application.