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.

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

See also


Did this page help you?