CVC-CVV result testing

You can test CVC/CVV result codes. Assign the appropriate values to the child elements of the card element, as described below:

Parent Child Value to test CVC/CVV
  number <specify_here_a_test_card_number>


Use two padding zeroes before the CVC-CVV code that you want to test.

You still need to include and define all the other card child elements, but their values do not impact the cvc return value you want to test.

You can use a test card number with a CVC from this list to test CVC/CVV results.

Card examples

The following partial examples show how to use the card element to test CVC/CVV result code 4:


    "holderName":"Adyen Test"
<card xmlns="">
  <holderName>Adyen Test</holderName>


    "cvcResult":"4 No CVC/CVV provided, but was required",
    "refusalReasonRaw":"DECLINED CVC Incorrect"
<soap:Envelope xmlns:soap="" xmlns:ns1="" xmlns:xsd="" xmlns:xsi="">
            <ns1:key xsi:type="xsd:string">cvcResult</ns1:key>
            <ns1:value xsi:type="xsd:string">4 No CVC/CVV provided, but was required</ns1:value>
            <ns1:key xsi:type="xsd:string">cvcResultRaw</ns1:key>
            <ns1:value xsi:type="xsd:string">S</ns1:value>
            <ns1:key xsi:type="xsd:string">refusalReasonRaw</ns1:key>
            <ns1:value xsi:type="xsd:string">DECLINED CVC Incorrect</ns1:value>

To test how your integration responds to a specific resultCode, see Result code testing.

CVC-CVV result codes

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