I want to implement Payment account validation API on python but i got this error message.
{"code":"9501","severity":"ERROR","message":"Invalid input found, please correct the input data","info":"","status":"400"}
Solved! Go to Solution
Hi, @sajib1066. Thank you for reaching out! Our agent is looking into this and will get back to you with a potential solution as soon as possible. -Jenn
Hi @sajib1066,
I received a successful request/response payload today in sandbox testing the Payment Account Validation Card Validation API. Below is my sample request/response payload. Please test again and share your result with us.
End Point https://sandbox.api.visa.com/pav/v1/cardvalidation
Method POST
Request
{
"systemsTraceAuditNumber": "743720",
"cardCvv2Value": "022",
"cardAcceptor": {
"address": {
"country": "US",
"zipCode": "94404",
"city": "fostr city",
"state": "CA"
},
"idCode": "111111",
"name": "ABC Corp",
"terminalId": "12345678"
},
"primaryAccountNumber": "4957030420210462",
"retrievalReferenceNumber": "015221743720",
"cardExpiryDate": "2040-10",
"addressVerificationResults": {
"street": "801 Metro Center Blv",
"postalCode": "94404"
}
}
Response
{
"approvalCode": "12AB54",
"cvv2ResultCode": "M",
"transactionIdentifier": 164068650893394,
"actionCode": "85",
"addressVerificationResults": "Z",
"responseCode": "5"
}
Response Header
Status Code: 200 OK
Server : nginx
Date : Fri, 29 Apr 2022 17:48:58 GMT
Content-Type : application/json;charset=UTF-8
Content-Length : 156
Connection : keep-alive
X-SERVED-BY : -6c9656c94-9m2l
X-CORRELATION-ID : 1651254537_480_1159741576_-6c9656c94-9m2l_VDP_WS
X-APP-STATUS : 200
Content-Language : en-US
Cache-Control : no-cache, no-store, must-revalidate
X-Frame-Options : SAMEORIGIN
X-XSS-Protection : 0
X-Content-Type-Options : nosniff
Strict-Transport-Security : max-age=31536000;includeSubdomains
Pragma : no-cache
Expires : -1
X-XSS-Protection : 1; mode=block
X-Content-Type-Options : nosniff
Strict-Transport-Security : max-age=31536000;includeSubdomains;always
Hi @sajib1066,
Is the error fixed?
Hi @sajib1066,
I haven't received a reply from you so I'll take you off my contact list. If you need assistance, feel free to post in this community forum and someone will be happy to help.