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
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"
}
}
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.
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.