Skip to main content

Verification Request

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


cardholderName

type string optional yes default null

The name to look for on the card. If no value for name is given, the scan will by default only scan one side of the card. Set doubleSided to true to request scanning of both sides even without specifying a value for name.

Example value:

"John Smith"

firstSix

type string optional yes default null

The first six digits of the credit card number.

Example value:

"012345"

lastFour

type string optional yes default null

The last four digits of the credit card number

Example value:

"0123"

doubleSided

type boolean optional yes default false

A boolean that forces a double-sided scan even in the absence of a passed-in cardholder name. Ignored when a cardholder name is passed in.

Example value:

true

detectWrongCard

type boolean optional yes default false

A boolean that determines whether we alert the user that they are scanning a card other than the expected one when DyScan is used for card verification. If detectWrongCard is set to false, a card number other than the expected one results in a fraud-positive response with decline reason numberMismatch. If detectWrongCard is set to true, the decline reason numberMismatch will never be true.

Example value:

true