Hi,
I am getting below mentioned response
{"responseStatus":{"status":401,"code":"9159","severity":"ERROR","message":"Token Validation Failed","info":""}}
API Url:
https://sandbox.api.visa.com/pav/v1/cardvalidation
Logs from my Java program
resourcePath: v1/cardvalidation
queryString: apiKey=RX0PKOZCxxxxxxxxxxxxxxxxxxGBWa1y7zqzz68
requestBody: {"systemsTraceAuditNumber":"743720","cardCvv2Value":"022","cardAcceptor":{"address":{"country":"US","zipCode":"94404","city":"fostrcity","state":"CA"},"idCode":"111111","name":"ABCCorp","terminalId":"12345678"},"acquirerCountryCode":"840","primaryAccountNumber":"4957030420210462","acquiringBin":"408999","retrievalReferenceNumber":"015221743720","cardExpiryDate":"2040-10","addressVerificationResults":{"street":"801MetroCenterBlv","postalCode":"94404"}}
x-pay-token: xv2:1697536208:701b47f0f0xxxxxxxxxxxxxxxxxx37145b82f78702a756fe7778cdf9
I am using Java program to generate x-pay-token, but even after so many retries, I am not able to figure out why am I getting "Token Validation Failed"
Please advise.
Solved! Go to Solution
Hi, @navdeep. Thank you for reaching out! An agent will look into this and get back to you as soon as possible. If any community member knows a solution, please reply to this thread.
Hi @navdeep,
Good to hear the error is fixed! Have a good day 😁