We're happy to help. When you create a test App in our sandbox you'll receive test data in your App. The test data for your Visa Developer application is available in the Dashboard under test data in the left navigation. You'll basically have a table per API that is split into the Request and Response sections and the values on the Request section are meant to be populated in the payload with the intention of obtaining results specified in the Response section.
Sandbox data is limited to what is provided in the Test Data tables and is not integrated to the Visa Network and you cannot test real data in sandbox.
thanks for taking time to respond. I took a picture of the test data page and i don't see a valid card number and expiry date for Payment Account Validation API.
I understand that the data set is not as in production but when i took a data for other service to run account validation, i got this error ""errorMessage" : "API Validation Error: 3001. Expiration Date has invalid content or has expired."
Expiry date: 2021-01
Please let me know if you have valid data for this service especially.
Thanks for your help
Card expiration dates generally come in a two-number format, with the first number representing the month and the second showing the year. For example, 09/23 would be September of 2023.
If you are testing the Payment Account Validation API, please try to use "primaryAccountNumber": "4957*3108" and "cardExpiryDate": "2040-10" and replace * with 03000031
You should get a success response similar to below:
Hope this helps.
Hi, thanks for helping.
I wanted to validate my use cases:
1. Card is valid
2. Card is invalid
So based on the documentation and your sample, i got a actionCode: 25 (Unable to locate record in file). Is there enough to determine if the card is valid if i get 200 Ok respond?
We are currently working on getting test PANs for various test scenarios in sandbox in the coming months. Please stay tuned...
As you have mentioned, the actionCode returned for the above test PAN is 25 (Unable to locate record in file) and http response is 200 (request received and processed). This should give you a general view of the request and response structure. You can use this to understand the API and build your solution. If you are ready to promote your project to the higher environment, you'll be able to do more in depth testing with production data. Hope this helps. Please let me know if you have further questions.