Are you looking for test card numbers?

Would you like to contact support?

Developer-resource icon

Test CVC-CVV result codes

To test CVC/CVV results, use one of the test cards provided by Adyen: Test card numbers.

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

  • card.number – A number of the card to test.
  • card.cvc – A CVC result code that you want to trigger, specified as the digit of the CVC-CVV result code, prepended with two padding zeroes. For example, to trigger the result code 2 Doesn't match, specify 002.

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.

CVC-CVV result codes

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

Code examples

The following example shows how to use the card element to test CVC/CVV result code 4:


   "amount": {
     "currency": "EUR",
     "value": 2000
    "type": "scheme",
    "number": "4111111111111111",
    "cvc": "004",
    "expiryMonth": "03",
    "expiryYear": "2030",
    "holderName": "Adyen Test"
    "merchantAccount”:”YOUR MERCHANT ACCOUNT”,
    "returnUrl": ""
<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>

See also