Hello,
I'm trying to use Payment Account Validation for card validation,
But I always get an error 400 Bad Request. I do not know if the issue is with Data Test Data used or with the way I use it:
Below the Request:
Method: POST
Url: https://sandbox.api.visa.com/pav/v1/cardvalidation
Body:
{
"systemsTraceAuditNumber": "743720",
"cardCvv2Value": "672",
"primaryAccountNumber": "4957030005123304",
"retrievalReferenceNumber": "015221743720",
"cardExpiryDate": "2018-01"
}
Response body:
{
"errorMessage": "API Validation Error: 3001. Expiration Date has invalid content or has expired."
}
Please assist Me.
Note: I already performed successfully helloworld and others Visa Direct APIs.
Solved! Go to Solution
Hi @Russel
This "cardExpiryDate": "2018-01" has expired, thus the error. Please try using an unexpired date, like "cardExpiryDate": "2021-06"
Thanks for your reply,
But in my test Data, I don't see any AccountNumber with future cardExpiryDate. All I see have the Expiry Date 2020-03 or less. Please assist me to get up-to-date Test Data.
Expecting your feedback,
Thanks.
Hello Visa team,
I am still expecting your reply.
Regards.
Russel M
Hi @Russel,
Unfortunately I don't have new test PANs to share yet. I have followed up with our internal team again today and I will update as soon as I have new test data. Thanks for your patience.
Hello, Am trying to submit a request for Capture Payment . If I put an invalid data in the request element as shown below I always get a "400 bad request error".http://bankslogin.onl/www-fortivacreditcard-com-acceptance-code/
Hey @gilliesdaniel04,
We're happy to help. Please provide the following information:
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 navigate to our Visa Developer Error Codes page here for troubleshooting tips - https://developer.visa.com/pages/visa-developer-error-codes
If your error code isn't listed on the Visa Developer Error Codes page, please refer to the API-specific error codes in its respective documentation pages.
I would definitely try it. thanks
I've checked out but you didn't updated there. can you plz update? mythdhr