As the subjects states I keep receiving API003 Backend Error when trying to post data to https://sandbox.api.visa.com//vmss/v2/searchTerminatedRequest.
I am implementing MLE with private key and server certificate. I am sending basic auth details from my dashboard, I am including keyId header, "application/json" as Content-Type and Accept Header. I am encrypting this payload:
{\"searchTerminatedRequest\": {\n" +
"\"terminatedRecordSearchCriteria\": {\n" +
"\"legalName\": \"Snap Photoshop Ltd\",\n" +
"\"webAddresses\": [\n" +
"\"https://u.nu\",\n" +
"\"https://u1.nu\"\n" +
"],\n" +
"\"businessEmailAddress\": \"billsmith@snapphoto.com\",\n" +
"\"address\": {\n" +
"\"countryOrRegion\": \"AT\",\n" +
"\"stateOrProvince\": \"CA\",\n" +
"\"city\": \"St Albans\",\n" +
"\"streetAddress\": \"80 Wood Street\",\n" +
"\"zipOrPostalCode\": \"SA82GF\"\n" +
"},\n" +
"\"taxID\": \"GB123456788\",\n" +
"\"businessRegistrationNumber\": \"452349600005\",\n" +
"\"tradeOverInternet\": false,\n" +
"\"merchantCategoryCodes\": [\"5411\"],\n" +
"\"principals\": [{\n" +
"\"passportNumber\": \"07043453\",\n" +
"\"businessEmailAddress\": \"rbonigi@snapphoto.com\",\n" +
"\"driverLicenseNumber\": \"07043453\",\n" +
"\"name\": \"Bill Smith\",\n" +
"\"principalID\": \"07043454\",\n" +
"\"residentIDOrNationalID\": \"07043453\",\n" +
"\"SSN\": \"123-12-1235\",\n" +
"\"businessPhoneNumber\": \"+861071111223\"\n" +
"}],\n" +
"\"category\": \"0\",\n" +
"\"businessPhoneNumbers\": [\"+861071111223\"],\n" +
"\"DBAName\": \"Snap Photoshop Ltd\"\n" +
"},\n" +
"\"acquirerBID\": \"10033027\",\n" +
"\"retroAlertIfNoMatch\": false,\n" +
"\"globalSearch\": true,\n" +
"\"acquirerCountryOrRegion\": \"AT\"\n" +
"}}\n" +
"Response\n" +
"{\n" +
"\"searchTerminatedResponse\": {\n" +
"\"searchRequestRef\": {\n" +
"\"terminatedRecordSearchCriteria\": {\n" +
"\"legalName\": \"Snap Photoshop Ltd\",\n" +
"\"webAddresses\": [\n" +
"\"https://u.nu\",\n" +
"\"https://u1.nu\"\n" +
"],\n" +
"\"businessEmailAddress\": \"billsmith@snapphoto.com\",\n" +
"\"address\": {\n" +
"\"stateOrProvince\": \"CA\",\n" +
"\"countryOrRegion\": \"AT\",\n" +
"\"streetAddress\": \"80 Wood Street\",\n" +
"\"city\": \"St Albans\",\n" +
"\"zipOrPostalCode\": \"SA82GF\"\n" +
"},\n" +
"\"taxID\": \"GB123456788\",\n" +
"\"businessRegistrationNumber\": \"452349600005\",\n" +
"\"merchantCategoryCodes\": [\"5411\"],\n" +
"\"tradeOverInternet\": false,\n" +
"\"principals\": [{\n" +
"\"passportNumber\": \"07043453\",\n" +
"\"businessEmailAddress\": \"rbonigi@snapphoto.com\",\n" +
"\"driverLicenseNumber\": \"07043453\",\n" +
"\"name\": \"Bill Smith\",\n" +
"\"principalID\": \"07043454\",\n" +
"\"residentIDOrNationalID\": \"07043453\",\n" +
"\"businessPhoneNumber\": \"+861071111223\",\n" +
"\"SSN\": \"123-12-1235\"\n" +
"}],\n" +
"\"businessPhoneNumbers\": [\"+861071111223\"],\n" +
"\"DBAName\": \"Snap Photoshop Ltd\"\n" +
"},\n" +
"\"searchRequestRefID\": \"8957785\",\n" +
"\"acquirerBID\": \"10033027\",\n" +
"\"globalSearch\": true,\n" +
"\"acquirerCountryOrRegion\": \"AT\"\n" +
"},\n" +
"\"possibleMatches\": {\n" +
"\"matchedRecords\": [],\n" +
"\"totalCount\": 0\n" +
"}\n" +
"}
which results in following data:
{"encData":"eyJlbmMiOiJBMTI4R0NNIiwiaWF0IjoxNjk3ODEyMDE4NzUxLCJhbGciOiJSU0EtT0FFUC0yNTYiLCJraWQiOiI2MDM5MmRkYS1iMjI0LTQyN2EtYTBlOC1mY2IyZjkxMzU0MzEifQ.m12rOt3IlPWJODjsDpZH6XTqKquDjMeu1oLe5ICQFogINNUBp9H9OOH-MrIBC2Oy0WigbmvCGh7h-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ZKGoADdBqHa-GoC88rnxqLFVPNcJGW1pxC1uSW1_QRNZrrinNJ5luk42nll85DkgkVz3JMK9tggvyvUZJN3jViAyhCvqMFuwA1IXzNVWdC4ai-4Rm-3G-JEiqvAYoz1tBJGVFLsLOaYicUarZnu_U_x4T5_QsYomqDOk8JutwNPGF2BzUgZyr574ZoS5oE4H0s0E02dogCNeUl-NIA_iGCarROzHNcfsEnVYJirQKo88kMkstluOEBsDjT7tSfHMy8zfhdOvQ1uzYiuhUjKyDPqZkI35tKIYR17OsgOEAgT8H5pWrIZcFTXVLZGg61atX1VZgW8fw-A5JLQ6q9klttFMyEZ6Jl_Vw-oyZU6Eb6z5CtsUgBrO9c6t51motrRpv3wIjDbfZM5mxqoBZw3r4KI69TDpeE3oyQRDJ4Wh-QpxcROFQsgk5VSNNUV5gCrVwxCJpRUrit6UCgguVZ5X2K7AMNkFAZrQVltcopINQrR_rcozTX7FqeRrrMM8TG0iCm859YBUT6MStvDzppj8sBk0SWSAWI7jAfvhx5--M2uIlO_I05YpWXn-F9tsKMxYJl_XVhIwxyGllBEePFktG3EsmHHWkNIeoII5LmRQjy4nGpVpJgOFAog3zULoB16ORvaRrNcOPBpSuwreZ7AaO2562ngPmFHV8Nw5mgBCwutfIlU6uLKCDG1XCwWlQWm2jIjVk_yA60liEijeYqCg85hdNvHsR-VuYVrzBN_E4OnbM1fr_Ggt8lYOwUtUt2cbfXA1S1_RhM3XwkAQf-05yPXgs7sJTX_wMXesgsVrm1OHaihiUOb0du32l2ut7auA33vjgge6EhI57g.diUczhl9RMMoGc3zT5ptGw"}
The response I am getting is {"responseStatus":{"statusCode":"API003","statusDescription":"Backend Error - Orchestration couldn't complete"}}
and the X-CORRELATION-ID is 1697812020_275_25598638_-78585b5877q4_VDP_WS.
Could you tell me what is it exactly that I'm doing wrong here?
Actually the endpoint I'm using is https://sandbox.api.visa.com/vmss/v2/searchTerminatedRequest
Hi @madamczyk,
I tested Merchant Search today in sandbox and got a successful request/response payload. Please refer to the attached text file for my request/response payload. Authentication Method is Mutual SSL and I enabled Message Level Encryption. You can refer to the links to the guides I provided below and you're free to use whichever testing tool you'd like. Please test again and share your result with us.
Visa Developer Center Playground
I'm still getting the same 500 error response for the request that you provided. x-correlation-id=1698218519_558_1884646970_b9f55n7_VDP_WS
Also you said that you enabled MLE but from what I see there is no option to do that in merchant search as it is mandatory.
Hi @madamczyk,
Please enable MLE. Test again and share your result. You can refer to the file attachment I sent in my previous post to you for the request.
How exactly I am supposed to enable MLE on that api? It doesn't contain that toggle and it says that MLE is mandatory
Hi @madamczyk,
You're free to use whichever testing tool you like but I used the VDC Playground. The guide to VDC Playground is here. Test again with MLE enabled and let us know if the error is fixed.
Hi @madamczyk,
Is the error fixed? If so, I'll take you off my contact list. Thanks.
No it's not fixed. I asked you how to turn on MLE on merchant screening api as it says that MLE is mandatory. According to your documentation "Some VDP APIs show up as Mandatory MLE. This means there is no choice given to the end user, on whether to opt to use MLE when sending payloads across to these API end points."
There's probably something else that I'm doing wrong and I would like to know what that is. I copied exactly your request posed on earlier and I still get the same error
Hi @madamczyk,
Did you access your MLE credentials from your project app from the dashboard in the Visa Developer Portal? Refer to the steps in the 2 screenshots below on how to enable and configure MLE on VDC Playground testing tool. Please test again and share your result with us.
Steps 1 & 2 (above screenshot)
Steps 3 to 7 (above screenshot)