Re: Visa Direct - pav/v1/cardvalidation

serodya
Regular Visitor

Visa Direct - pav/v1/cardvalidation

I am using the Test Data provided for Pull.

 

During the Funds Transfer process I am checking the Sender Card through the Card Validation API, request and response below.

 

The error is that the CVV does not match, but in the Test Data I cannot find any CVV, please let me know how to proceed.

 

Thank you!

 

Sergio Sanchez

 

request

{
    "acquirerCountryCode": "840",
    "acquiringBin": "408999",
    "cardCvv2Value": "763",
    "cardAcceptor": {
        "address": {
            "country": "USA",
            "zipCode": "94404",
            "city": "Foster City",
            "county": "San Mateo",
            "state": "CA"
        },
        "idCode": "VMT200911026070",
        "name": "Acceptor 3",
        "terminalId": "365539"
    },
    "primaryAccountNumber": "4957030420210462",
    "cardExpiryDate": "2026-04",
    "addressVerificationResults": {
        "street": "801 Metro Center Blv",
        "postalCode": "94404"
    },
    "systemsTraceAuditNumber": "000004",
    "retrievalReferenceNumber": "211720000004"
}
 
response
{"transactionIdentifier":127596330435621,"actionCode":"N7","responseCode":"5","addressVerificationResults":"Z","cvv2ResultCode":"N"}
 
 
4 REPLIES 4
jenn_kh
Community Moderator

Re: Visa Direct - pav/v1/cardvalidation

Thank you for reaching out, @serodya! An agent is looking for a solution for you and will get back to you shortly! If any community members know a solution, please feel free to respond here. - Jenn

API_Products
Visa Developer Support Specialist

Re: Visa Direct - pav/v1/cardvalidation

Hi @serodya,

 

I ran a sandbox test today and received a successful request/response payload. Please see my sample request/response payload for Payment Account Validation Card Validation API below. Please test again and share your result with us.

 

End Point https://sandbox.api.visa.com/pav/v1/cardvalidation
Method POST
Request
{
"systemsTraceAuditNumber": "743720",
"cardCvv2Value": "022",
"cardAcceptor": {
"address": {
"country": "US",
"zipCode": "94404",
"city": "fostr city",
"state": "CA"
},
"idCode": "111111",
"name": "ABC Corp",
"terminalId": "12345678"
},
"primaryAccountNumber": "4957030420210462",
"retrievalReferenceNumber": "015221743720",
"cardExpiryDate": "2040-10",
"addressVerificationResults": {
"street": "801 Metro Center Blv",
"postalCode": "94404"
}
}
Response
{
"approvalCode": "12AB54",
"cvv2ResultCode": "M",
"transactionIdentifier": 164068650893394,
"actionCode": "85",
"addressVerificationResults": "Z",
"responseCode": "5"
}
Response Header
Status Code: 200 OK
Server : nginx
Date : Fri, 29 Apr 2022 17:48:58 GMT
Content-Type : application/json;charset=UTF-8
Content-Length : 156
Connection : keep-alive
X-SERVED-BY : -6c9656c94-9m2l
X-CORRELATION-ID : 1651254537_480_1159741576_-6c9656c94-9m2l_VDP_WS
X-APP-STATUS : 200
Content-Language : en-US
Cache-Control : no-cache, no-store, must-revalidate
X-Frame-Options : SAMEORIGIN
X-XSS-Protection : 0
X-Content-Type-Options : nosniff
Strict-Transport-Security : max-age=31536000;includeSubdomains
Pragma : no-cache
Expires : -1
X-XSS-Protection : 1; mode=block
X-Content-Type-Options : nosniff
Strict-Transport-Security : max-age=31536000;includeSubdomains;always

 




Thanks,

Tee



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

API_Products
Visa Developer Support Specialist

Re: Visa Direct - pav/v1/cardvalidation

Hi @serodya,

 

Is the error fixed? 




Thanks,

Tee



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

API_Products
Visa Developer Support Specialist

Re: Visa Direct - pav/v1/cardvalidation

Hi @serodya,

 

I haven't received a reply from you so I'll take you off my contact list. If you need assistance please feel free to reach out to the community forum and someone will be happy to help. 




Thanks,

Tee



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