is returning error in api test no center playground
https://sandbox.api.visa.com/v2/paymentAccountLookup
{
"requestHeader": {"requestTS": "2020-02-15T22:05:00.000"},
"requestData": {
"paymentAccountType": "P",
"paymentAccount": "4811081000000000"
}
}
RESPONSE HEADER
Status Code: 400
Server : nginx
Date : Mon, 10 Oct 2022 20:27:28 GMT
Content-Type : application/json;charset=UTF-8
Content-Length : 65
Connection : keep-alive
X-SERVED-BY : -56467c7k4
X-CORRELATION-ID : 1665433648_270_400002306_-56467c7k4_VDP_WS
X-APP-STATUS : 400
X-ERROR-ORIGIN : 9300
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
Content-Security-Policy-Report-Only : default-src 'self' https://*.v.me https://*.visa.com;script-src 'self' 'unsafe-inline' 'unsafe-eval' https://*.visa.com https://*.v.me;img-src 'self' https://*.v.me https://*.visa.com https://*.unica.com https://ad.doubleclick.net;style-src 'self' 'unsafe-inline' https://*.visa.com;object-src https://*.v.me https://*.visa.com data:;report-uri /logging/logCSPReport;
X-Content-Security-Policy-Report-Only : default-src 'self' https://*.v.me https://*.visa.com;script-src 'self' 'unsafe-inline' 'unsafe-eval' https://*.visa.com https://*.v.me;img-src 'self' https://*.v.me https://*.visa.com https://*.unica.com https://ad.doubleclick.net;style-src 'self' 'unsafe-inline' https://*.visa.com;object-src https://*.v.me https://*.visa.com data:;report-uri /logging/logCSPReport;
X-WebKit-CSP-Report-Only : default-src 'self' https://*.v.me https://*.visa.com;script-src 'self' 'unsafe-inline' 'unsafe-eval' https://*.visa.com https://*.v.me;img-src 'self' https://*.v.me https://*.visa.com https://*.unica.com https://ad.doubleclick.net;style-src 'self' 'unsafe-inline' https://*.visa.com;object-src https://*.v.me https://*.visa.com data:;report-uri /logging/logCSPReport;
Hi @diogodsr,
Have you tried to run the API call using postman or soap UI?
In order to help you further, please provide the following:
Using SoapUI, you can find the x-correlation-id in the Raw Tab of the response header.
To learn more about common Visa Developer error codes and how to resolve them, please navigate to our Visa Developer Error Codes page here - https://developer.visa.com/pages/visa-developer-error-codes
If you don't find an error code listed here, please refer to the API-specific error codes in its respective documentation pages.”
Thanks,
Illana
Hi @diogodsr,
Awesome! Do you mind sharing what you did as it may help other developers who view this post?
Thanks,
Illana