Visa Developer Community

Regular Visitor

Purchase Inquiry Callback API

We got below error when I tried to call purchase_inquiry_callback_api. 

 

{
"statusCode": 404,
"body": {
"responseStatus": {
"status": 404,
"code": "9005",
"severity": "ERROR",
"message": "Requested route not found",
"info": ""
}
},
"headers": {
"server": "nginx",
"content-type": "application/json",
"content-length": "114",
"x-served-by": "l73c013",
"x-correlation-id": "1558023381_311_1892717651_l73c013_VDP_WS",
"x-app-status": "404",
"date": "Thu, 16 May 2019 16:16:21 GMT",
"connection": "close"
},
"request": {
"uri": {
"protocol": "https:",
"slashes": true,
"auth": null,
"host": "sandbox.api.visa.com",
"port": 443,
"hostname": "sandbox.api.visa.com",
"hash": null,
"search": null,
"query": null,
"pathname": "/vmpi/services/v1/getPurchaseInformation",
"path": "/vmpi/services/v1/getPurchaseInformation",
"href": "https://sandbox.api.visa.com/vmpi/services/v1/getPurchaseInformation"
},
"method": "POST",
"headers": {
"User-Agent": "VDP_SampleCode_Nodejs",
"Authorization": "Basic WkNKNDlXR0JPRDY1OU9aNEdGWFAyMXRESkFoX1Y4RGpDSkMyWTAxdFRDMFFMR1ZSdzpacXFrT2l6UDZMNW9uNGRLOUFxUFcwM2NCd2pHZHZ6NjQ2aQ==",
"x-correlation-id": "lckpQbz7S3wd_SC",
"x-client-transaction-id": "{enter appropriate value}",
"accept": "application/json",
"content-type": "application/json",
"content-length": 2
}
}
}

1 REPLY 1
Visa Dev Moderator

Re: Purchase Inquiry Callback API

Hi @management,

 

The 404 Not Found error means that the project is trying to hit an endpoint that does not exist. Refer to the API documentation to validate you are hitting the right endpoint. For information on Visa Developer Error Codes please navigate to this link - https://developer.visa.com/pages/visa-developer-error-codes

 

If you are still experiencing an issue please submit this query to developer@visa.com and reference this community forum post with the following information:

 

1. End Point
2. Request Header
3. Request Body
4. Response Header (include the x-correlation-id)
5. Response Body

Using SoapUI, you can find the x-correlation-id in the Raw Tab of the response header.

 

Finally, please remember to click on "Accept As Solution" once your query is answered and resolved.

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

Thanks,
Diana