Visa Developer Community

Dabbler

How can we get ccv ccode for card number 4895142232120006?

I want to test card validation API with card number "4895142232120006" 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": "4895142232120006",
  • "retrievalReferenceNumber": "015221743720",
  • "systemsTraceAuditNumber": "743720"

}

 

 

Response :

{

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

}

1 REPLY
Highlighted
Frequent Helper

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