- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
Solved! Go to Solution
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
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.