Skip to main content

Configure the Scan

1. Create a configuration object to customize the scanning UI.​

See Scan Configuration for a complete explanation of the available options.

const config = {
uiVersion: 2,
showExplanation: true,
showResult: true,
showCancelButton: false,
};

2. Specify which card features you would like to verify​

The Verification Request determines which features of the card should be checked during the scan.

See the Verification Request documentation for an explanation of the fields.

const verify = {
cardholderName: "John Smith",
firstSix: "123456",
lastFour: "4321",
detectWrongCard: true
}