Re: I am testing the VMSS API in sandbox env and have not been able to get a match

Snapscan
New Contributor

I am testing the VMSS API in sandbox env and have not been able to get a match

I am testing https://sandbox.api.visa.com/vmss/v2/searchTerminatedRequest

Payload:
{"searchTerminatedRequest":{"terminatedRecordSearchCriteria":{"legalName":"FINN DEPOT","businessEmailAddress":"name+vmss@snapscan.co.za","businessRegistrationNumber":"BIN2022071901","address":{"countryOrRegion":"ZA","city":"Cape Town","streetAddress":"113 Loop Street","zipOrPostalCode":"8000"},"financialAccts":[{"financialAccountNumber":"42424242"}],"businessPhoneNumbers":["27820010022"],"category":"0","DBAName":"FINN DEPOT","principals":[{"name":"Charles Fishman","businessEmailAddress":"name+vmss@snapscan.co.za","businessPhoneNumber":"27820010022","residentIDOrNationalID":"4408165800088"}],"tradeOverInternet":false},"acquirerBID":"10033027","retroAlertIfNoMatch":"false","globalSearch":"true","acquirerCountryOrRegion":"ZA"}}

Response:
{"status":{"statusCode":"API000", ..... ,"possibleMatches":{"totalCount":0,"matchedRecords":[]}}}

How can I ensure I get some matches?


2 REPLIES 2
jenn_kh
Community Moderator

Re: I am testing the VMSS API in sandbox env and have not been able to get a match

Hi @SnapscanThank you for reaching out. An agent will look into this and get back to you soon. Until then, if any community member knows a solution, please feel free to reply in this thread. 

API_Products
Visa Developer Support Specialist

Re: I am testing the VMSS API in sandbox env and have not been able to get a match

Hey @Snapscan,

 

Here are some recommendations on how to ensure you get some matches while testing the VMSS API in the sandbox environment:

 

1. Verify Test Data:
- Ensure that the test data you are using in the payload matches the data available in the sandbox environment. The sandbox environment often contains predefined data for testing purposes, and using data that does not exist in the sandbox may result in no matches.

 

2. Review Payload Structure:
- Confirm that the payload structure adheres to the API specifications. The payload you provided appears to be correctly structured, but double-checking against the API documentation can help catch any discrepancies.

 

3. Use Known Test Data:
- Visa typically provides sample test data and scenarios in the sandbox environment. Use the known test data provided by Visa to ensure that your requests return matches. Refer to the VMSS API documentation for details on available test data.

 

4. Adjust Search Criteria:
- Broaden your search criteria by including fewer parameters or using more generic values. Narrow search criteria can sometimes result in no matches. For example, you can start by searching with just the legal name or business registration number, and then gradually add more parameters.

 

5. Example of Broad Search Criteria:
- Here is an example of a simplified payload with broader search criteria:


```json
{
"searchTerminatedRequest": {
"terminatedRecordSearchCriteria": {
"legalName": "FINN DEPOT",
"address": {
"countryOrRegion": "ZA"
}
},
"acquirerBID": "10033027",
"retroAlertIfNoMatch": "false",
"globalSearch": "true",
"acquirerCountryOrRegion": "ZA"
}
}
```




Thanks,

Diana



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