Visa Developer Community

Highlighted
Regular Visitor

How can we get ccv ccode for card number <PAN Removed>?

I want to test card validation API with card number "<PAN Removed>" with cardCvv2Value "672", but I am getting actionCode as "N7" (Cvv code is invalid). So where I can get correct cardCvv2Value to test card validation API with this card number?

 

Please find below request and response.

Request :

{

  • "addressVerificationResults": {
    • "postalCode": "T4B 3G5",
    • "street": "2881 Main Street Sw"
    },
  • "cardAcceptor": {
    • "address": {
      • "city": "fostr city",
      • "country": "PAKISTAN",
      • "county": "CA",
      • "state": "CA",
      • "zipCode": "94404"
      },
    • "idCode": "111111",
    • "name": "rohan",
    • "terminalId": "123"
    },
  • "cardCvv2Value": "672",
  • "cardExpiryDate": "2018-06",
  • "primaryAccountNumber": "<PAN Removed>",
  • "retrievalReferenceNumber": "015221743720",
  • "systemsTraceAuditNumber": "743720"

}

 

 

Response :

{

  • "transactionIdentifier": 134022915036839,
  • "actionCode": "N7",
  • "responseCode": "5",
  • "addressVerificationResults": "N",
  • "cvv2ResultCode": "N"

}

4 REPLIES 4
Highlighted
Visa Dev Moderator

Re: How can we get ccv ccode for card number 4895142232120006?

Hi @Vrongre, 

 

While in the sandbox environment you can only use the test account data from the Test Data tables. The sandbox environment has limited data and is not connected to the Visa Network.

 

Thank you, 

Vaibhav 

Was your question answered? Don't forget to click on "Accept as Solution" to help other devs find the answer to the same question.
Highlighted
Newbie

Re: How can we get ccv ccode for card number 4895142232120006?

thanks I had also same issue. Liteblue USPS

Highlighted
Visa Dev Moderator

Re: How can we get ccv ccode for card number 4895142232120006?

Hey @vrongre,

 

Are you still experiencing an issue?

 

To further investigate, please provide the following information:

1. End Point
2. Request Header
3. Request Body
4. Response Header (include the x-correlation-id)
5. Response Body

Using SoapUI, you can find the x-correlation-id in the Raw Tab of the response header.

 



Was your question answered? Don't forget to click on "Accept as Solution" to help other devs find the answer to the same question.

Thanks,
Diana

Tags (2)
Highlighted
Visa Dev Moderator

Re: How can we get ccv ccode for card number 4895142232120006?

Hey @oliver91,

 

Same goes for you too, are you still having an issue?

 

To further investigate, please provide the following information:

1. End Point
2. Request Header
3. Request Body
4. Response Header (include the x-correlation-id)
5. Response Body

Using SoapUI, you can find the x-correlation-id in the Raw Tab of the response header.

 



Was your question answered? Don't forget to click on "Accept as Solution" to help other devs find the answer to the same question.

Thanks,
Diana