Understanding the security code verification response

When you check the CVC, the response includes an object called cvcResults. See the examples below.

📘

Note

A gateway error will not prevent the card token from being saved.

The only time a card will not be saved is when the matchCvv parameter returns false. If you received a gateway error during a CVC check, you may wish to delete the card token.

If Nexio is unable to get a response from the gateway and the check could not be completed, the system returns a response of Unknown. Nexio can assist you with researching and responding to these errors.

{
  "token": {...},
  "card": {...},
  "data": {...},
  "cvcResults": {
    "matchCvv": true,
    "error": false,
    "gatewayMessage": {
      "cvvresponse": "M",
      "message": "CVV2/CVC2 match"
    }
  },
  "cardType": "visa"
}
{
  "error": 437,
  "message": "Verify CVC Failed",
  "cvcResults": {
    "matchCvv": false,
    "error": false,
    "gatewayMessage": {
      "cvvresponse": "N",
      "message": "CVV2/CVC2 no match"
    }
  }
}

See also