> ## Documentation Index
> Fetch the complete documentation index at: https://adyen-preview.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Testing Card CVC/CVV/CID Result Codes

> Test getting card CVC/CVV/CID result codes with your integration and troubleshoot issues before it goes live.

You can test this if your integration uses the following:

* Advanced flow
* Sessions flow with additional methods

Issuers may check the [card security code](https://adyen-preview.mintlify.site/get-started-with-adyen/adyen-glossary.md#card-security-code-cvc-cvv-cid) (CVC/CVV/CID) for online transactions. Based on the check, the transaction can be approved or declined. The result of the check may also be used in [post-authorization risk rules](https://adyen-preview.mintlify.site/risk-management/configure-your-risk-profile/post-auth-rules.md).

## Requirements

Enable `additionalData.cvcResult` field in your API response:

1. In your [test Customer Area](https://ca-test.adyen.com/), go to **Developers** > **Additional data**.
2. Under **Acquirer**, select the checkbox for **Acquirer result**.

## Step 1: Make a test payment request

For testing, you must use unencrypted [test card details](https://adyen-preview.mintlify.site/development-resources/test-cards-and-credentials/test-card-numbers.md). In your live environment, if you only use encrypted card details, the API response includes the same information.

Make a test [/payments](https://docs.adyen.com/api-explorer/Checkout/latest/post/payments) request and set `paymentMethod.cvc` to one of the [result codes values](#result-code-values). Add **00** to the beginning of the value. For example, to make a test payment request that gets the result code **4**, specify `paymentMethod.cvc`: **004**:

**Test payment request to get the CVC/CVV/CID result code 4**

```json theme={null}
{
   "amount": {
      "currency": "EUR",
      "value": 2000
   },
   "paymentMethod":{
      "type": "scheme",
      "number": "4111111111111111",
      "cvc": "004",
      "expiryMonth": "03",
      "expiryYear": "2030",
      "holderName": "Adyen Test"
   },
      "reference":"YOUR_ORDER_NUMBER",
      "merchantAccount":"YOUR_MERCHANT_ACCOUNT",
      "returnUrl": "https://your-company.example.com/"
   }
}
```

## Step 2: Get the result code in the response

The API response includes the `cvcResult` that you specified in the request:

**Response that includes the CVC/CVV/CID result code 4**

```json theme={null}
{
   "additionalData":{
      "cvcResult":"4 No CVC/CVV provided, but was required",
      "cvcResultRaw":"S",
      "refusalReasonRaw":"DECLINED CVC Incorrect"
   },
   "pspReference":"9914613171800003",
   "refusalReason":"Refused",
   "resultCode":"Refused"
   }
}
```

## Result code values

| | CVC/CVV result code | Result |
| - | - | - |
| 0 | Unknown | Approval |
| 1 | Matches | Approval |
| 2 | Doesn't match | Decline |
| 3 | Not checked | Approval |
| 4 | No CVC/CVV provided, but was required | Decline |
| 5 | Issuer not certified for CVC/CVV | Approval |
| 6 | No CVC/CVV provided | Approval |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.