Single BIN Lookup API 9501 Invalid input found, please correct the input data

HelloWorld
Occasional Visitor

Single BIN Lookup API 9501 Invalid input found, please correct the input data

Hi, 

 

I am implementing Single BIN Lookup API and getting status code 400 with code 9509 and message "Invalid input found, please correct the input data". 

 

What do I do to resolve the issue? 

 

This is the log. 

SingleBinLookup 7/12/2023 7:38:19 PM https://sandbox.api.visa.com/v2/paymentAccountLookup?apikey=UDDLD78OQNEIEQ1BCU2421zf0gasiU3wfC7xCpu6... POST
1689190699paymentAccountLookupapikey=UDDLD78OQNEIEQ1BCU2421zf0gasiU3wfC7xCpu6fBZpzm080{"requestHeader":{"requestTS":"2023-07-12T19:38:19.172","requestMessageID":"df369719-b6a3-486f-b033-0a2c8cfc5bcf"},"requestData":{"paymentAccountType":"P","paymentAccount":"4815081000000000"}}
Digest: AFBF345D2738DBE38E8564736ECFAAC69147C2257F9876FEDB417CB2E22D6F1B
X-PAY-TOKEN: xv2:1689190699:AFBF345D2738DBE38E8564736ECFAAC69147C2257F9876FEDB417CB2E22D6F1B
{"requestHeader":{"requestTS":"2023-07-12T19:38:19.172","requestMessageID":"df369719-b6a3-486f-b033-0a2c8cfc5bcf"},"requestData":{"paymentAccountType":"P","paymentAccount":"4815081000000000"}}
eyJhbGciOiJSU0EtT0FFUC0yNTYiLCJlbmMiOiJBMTI4R0NNIiwia2lkIjoiZWY1MWJlNDUtMDIzMi00NWFiLTg1ZjctZjdkZTIzYTVmNGMwIiwiaWF0IjoxNjg5MTkwNjk5Mjk5fQ.juBEY2nGyDmqtcI-k0n9LFMUMgNpNkGDN5Qph1i2jayfTHc2PAIAMmIvltmawCfu6G437lK6sltRNW546_adQ2uAGxoUuOiCDDYXrBF2smlmHcu0-J-f8yzDD_wyrBBdmPHaTwNBtuRPhv7jTe0DzSmakHXd-V3aX9m4whcYmuASdWycIctJ8SZPWNJDXIcW5pAK7OWHRf_BYpGmkqrP4otghDQAg8YNDRXnpH720uFrUXE-0ocUscrx56c4AiDV7n3pH-wrtztApfOnDMievxGhOoIw_0XJgg9iv8ssJrCKNvUN89waoyVHG76ou0E7ogM_gmN2TqdzAy2fkpV7qQ.OcivaJCm9b3rZHwm.uK86pCxk8eql4UKj_DDYxGpqvPHkFjjPgqGsefF5ypRZOzU_6MQVWmHDBZ6oI_A1SY8iPQViHxWVS3zWmFnGb59vngLJQpD1aWva1C779Opjn4jMg2NPjozqXgmNU6EOdxMT871R79EwMS6eR9FkEPDeTLlXnfjgbVDM1zoSFPIXdG58Y0iQ75IOOcAP-ue2Y2QM9iBTslvJtRciOo8ORONYRHmFkVup_578WJO5hF7oXxvPNDo_dc6b1zseZK4T.ZqPi88Tzg9ASWoUw-KuEFQ
Response: {"responseStatus":{"code":"9501","severity":"ERROR","message":"Invalid input found, please correct the input data","info":"","status":"400"}}

 

 

6 REPLIES 6
jenn_kh
Community Moderator

Re: Single BIN Lookup API 9501 Invalid input found, please correct the input data

Hi, @HelloWorld! Thank you for reaching out. An agent is looking into this and will get back to you shortly. If any community members have information that may help, please feel free to reply.

API_Products
Visa Developer Support Specialist

Re: Single BIN Lookup API 9501 Invalid input found, please correct the input data

Hi @HelloWorld,

 

I ran a sandbox test using the Visa Developer Center Playground tool and got a successful request/response payload. See below sample and try your test again.

vbass paymentaccount.png

Visa Developer Center Playground tool: https://developer.visa.com/pages/visa-developer-center-playground 

 

End Point https://sandbox.api.visa.com/v1/paymentAccountLookup
Method POST
Request
{
"requestHeader": {
"requestTS": "2020-02-15T22:05:00.000",
"requestMessageID": "test999"
},
"requestData": {
"paymentAccountType": "P",
"paymentAccount": "4259077000001230"
}
}
Response
{
"wsStatus": {
"statusDesc": "Success",
"statusCode": "CDI000"
},
"responseData": {
"platformCd": "GV",
"accountFundingSourceCd": "R",
"accountBusName": "ABD & COMPANY",
"productID": "S2",
"paymentAccountType": "P",
"accountRegionCode": "06",
"issuerBillingCurrCd": "MRO",
"accountCtryAlpha2Code": "MR",
"issuerBin": "425907",
"productIDName": "Visa Government Purchasing",
"accountFundingSourceSubtypeCd": "N"
}
}
Response Header
Status Code: 200
Server : nginx
Date : Mon, 17 Jul 2023 21:39:31 GMT
Content-Type : application/json;charset=UTF-8
Content-Length : 1039
Connection : keep-alive
X-SERVED-BY : -697d9b2
X-CORRELATION-ID : 1689629971_600_1049379165_-697d9b2_VDP_WS
X-APP-STATUS : 200
X-XSS-Protection : 1; mode=block ,0
Cache-Control : no-cache, no-store, must-revalidate
Content-Language : en-US
X-AGS-Request-ID : v3:8655:sandbox:55c028:63e85461b3f6725176f6ead44014f0db
encrypted : true
X-Frame-Options : SAMEORIGIN
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;
X-XSS-Protection : 1; mode=block
X-Content-Type-Options : nosniff
Strict-Transport-Security : max-age=31536000;includeSubdomains;always

 

 

 




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.

HelloWorld
Occasional Visitor

Re: Single BIN Lookup API 9501 Invalid input found, please correct the input data

Thank you!

 

I was using X-PAY-TOKEN. 

How can I know which authentication way I should use for each API? 

API_Products
Visa Developer Support Specialist

Re: Single BIN Lookup API 9501 Invalid input found, please correct the input data

Hi @HelloWorld,

 

  1. Go to Browse All Product Documentation
  2. Click on the API product of your choice
  3. Once you click on the API product, you'll be taken to its Overview page. Click on View Docs.
  4. On left side menu, click on Authentication Method (refer to sample screenshot below)

auth.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.

ahmetgl1
Occasional Visitor

Re: Single BIN Lookup API 9501 Invalid input found, please correct the input data

Is there a list of all of them? Just like Mastercard

API_Products
Visa Developer Support Specialist

Re: Single BIN Lookup API 9501 Invalid input found, please correct the input data

Hi @ahmetgl1,

 

We only have what's available on the Visa Developer Portal. Please refer to the OverviewAPI Docs and API Reference page.  




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.