Re: Supplier Matching Service API returning Status 405

Solved! Go to solution
tgbo2014
Occasional Visitor

Supplier Matching Service API returning Status 405

Screen Shot 2021-08-17 at 19.27.21.png

 

I followed the documentation for the Supplier Matching Service API (sandbox.api.visa.com/visasuppliermatchingservice/v1/search) but I keep getting status 405 error.  A simple google search says that error 405 happens when there are problems by the service provider(Visa). Is that the case? If I am doing something wrong can you guys please help me navigate the problem?

3 REPLIES 3
SLi
Visa Developer Support Specialist
Visa Developer Support Specialist

Re: Supplier Matching Service API returning Status 405

Hi @tgbo2014,

 

Please try POST method and you should get a success response as below: 

 

End Point https://sandbox.api.visa.com/visasuppliermatchingservice/v1/search?supplierName=supplier1&supplierCo...
Method POST
Request
{}


Response
{
"matchConfidence": "High",
"matchStatus": "Yes",
"matchDetails": {
"l3li": "",
"l2": "",
"fleetInd": "",
"mcc": "3501",
"l3s": ""
},
"status": {
"statusDescription": "Request successfully received",
"statusCode": "SMSAPI000"
}
}

 


Best,
Stacey

Was your question answered? Don't forget to click on "Accept as Solution" to help other devs find the answer to the same question.
tgbo2014
Occasional Visitor

Re: Supplier Matching Service API returning Status 405

Thanks Stacey,

 

Using the post method solved the status 405 issue but I still do not get the appropriate response. The matchStatus returns null no matter the parameters I input.

 

Screen Shot 2021-08-19 at 18.07.58.png

SLi
Visa Developer Support Specialist
Visa Developer Support Specialist

Re: Supplier Matching Service API returning Status 405

Hi @tgbo2014,

 

For testing the API in Sandbox, please only use the test data that is provided for your project and you should get sample data back. When you are ready to promote your project to production environment, you'll be able to use live data.

 

 

VSMS_TestData.jpg


Best,
Stacey

Was your question answered? Don't forget to click on "Accept as Solution" to help other devs find the answer to the same question.