Need test card pan number to validate card validation api

psingh
Dabbler

Need test card pan number to validate card validation api

 I need test card pan number to validate card validation api to verify success scenario with action code 00, I tried many test pan numbers that found on developer page , but I got action code either 25 or N7 for all.Please help.

 

 
{
"systemsTraceAuditNumber""743720",
"cardCvv2Value""672",
"cardAcceptor": {
"address": {
"country""US",
"zipCode""94404",
"city""fostr city",
"county""USA",
"state""CA"
},
"idCode""111111",
"name""Acceptor 1",
"terminalId""123"
},
"primaryAccountNumber""4957030420210488",
"retrievalReferenceNumber""330000550000",
"cardExpiryDate""2021-03"
 
 
Response
{
    "transactionIdentifier""529630682997287",
    "actionCode""N7",
    "responseCode""5",
    "cvv2ResultCode""N",
    "httpStatusCode""200"
}
3 REPLIES 3
API_Products
Visa Developer Support Specialist

Re: Need test card pan number to validate card validation api

Hey @psingh,

 

You're asking a great question and I'm happy to help. For Visa Developer API sandbox testing, are you using test data from your Visa Developer project?

 

When you create a test App in our sandbox environment, you will receive test data in your App. Test data for your Visa Developer application is available in the Dashboard under test data in the left side menu. You'll 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 (refer to screenshot). Please note, you cannot test real data in sandbox. Please let us know if you have questions and someone will be happy to help.

20190905 Test Data.png

 




Thanks,

Diana H.



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

azad
New Contributor

Re: Need test card pan number to validate card validation api

From my dashboard, there are no link to get test data for Validation API. What to do to get test data? Please help.Screenshot 2021-03-17 134036.png

API_Products
Visa Developer Support Specialist

Re: Need test card pan number to validate card validation api

Hey @azad,

 

Please try the following to resolve the issue. Please test again and share your results with us.

 

Clear cookies and cache

Delete and then Add the API Payment Account Validation API again

Create a new project and add only the APIs that you need for the project

 

 




Thanks,

Diana H.



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