Hello visa Team,
I am unable to test Payment Account Validation API, because all test data I have are related to expired test card, from 2020-03 and before. Kindly assist me to get access to recent and up-to-date data.
Regards.
Russel M
Solved! Go to Solution
Hey @Russel,
Are you using the test data from your project app? The test data for your Visa Developer application is available in the Dashboard under test data in the left navigation, this will ensure that you are using valid data that has been provisioned for specific scenarios (refer to screenshot below).
If you're receiving an error, please provide the information below:
1. Endpoint
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.
Please visit our Visa Developer Error Codes page to learn more about error codes and how to resolve there - https://developer.visa.com/pages/visa-developer-error-codes
If you don't find the error code you're looking for, please refer to the API-specific error codes in its respective documentation pages. Someone will be happy to provide assistance if you have other questions.
Hello Diana,
I am using the Data provided as you mentioned. The problem is that ALL Cards data provided in the test Data Tab have Expiration Date from 2020-03 and Older, they have already EXPIRED.
This is why when testing the via the Card Validation API, I get this:
Method: POST
Url: https://sandbox.api.visa.com/pav/v1/cardvalidation
Body:
Response:
Hey @Russel,
I'll take a look and get back soon.
Hey @Russel,
I conducted a sandbox test and changed the cardExpiryDate to any date that is 2021-01 or later. For example, please see the request, response and response header below. I got a successful 200 OK. Please test again and share your results with us.
Request:
{
"systemsTraceAuditNumber": "743728",
"cardCvv2Value": "672",
"primaryAccountNumber": "4957030005123304",
"retrievalReferenceNumber": "015221743728",
"cardExpiryDate": "2021-01"
}
Response:
{
"cvv2ResultCode": "P",
"transactionIdentifier": 158542506766602,
"actionCode": "25",
"addressVerificationResults": "I",
"responseCode": "5"
}
Response Header:
Status Code: 200 OK
Server : nginx
Date : Wed, 06 Jan 2021 01:11:19 GMT
Content-Type : application/json;charset=UTF-8
Content-Length : 705
Connection : keep-alive
X-SERVED-BY : l55c017
X-CORRELATION-ID : 1609895478_698_394974019_l55c017_VDP_WS
X-APP-STATUS : 200
X-APP-STATUS : 200
X-Backside-Transport : OK OK,OK OK
X-Global-Transaction-ID : 1adcbd165ff50e364dfe67bd
X-Frame-Options : SAMEORIGIN
X-XSS-Protection : 1; mode=block
X-Content-Type-Options : nosniff
Strict-Transport-Security : max-age=2592000;includeSubdomains
Cache-Control : no-cache, no-store, must-revalidate
Pragma : no-cache
Expires : -1
encrypted : true
Content-Language : en-US
X-XSS-Protection : 1; mode=block
X-Content-Type-Options : nosniff
Strict-Transport-Security : max-age=15768000;includeSubdomains;always