Validator

https://api.sherlock.masiv.masivian.com/api/v1/Validator

Sherlock Validator is a service, which acts sequentially in calling different components. The client can have configured security mechanisms that allow it to infer about the reliability of a telephone line. The mechanisms of SimCardValidation, MachineLearning, activeAge, categorization and fraudReport.

curl --request POST \\
  --url <https://api.sherlock.masiv.masivian.com/api/v1/Validator> \\
  --header 'Authorization: ' \\
  --header 'Content-Type: application/json-patch+json' \\
  --data '{
  "value": {
    "mobile": "string",
    "parameters": {
      "message": "string"
    },
    "metadata": {
      "alertOrigin": "string",
      "notificationMethod": "string"
    },
    "queryOperatorAsSource": true,
    "categorization": {
      "banked": true,
      "creditCollection": true,
      "details": true
    },
		"pairMatch": { 
				"key": "6428", 
				"keyType": "account" 
		},
  }
}'

Request

string

Responses 200

Success


{
  "value": {
    "requestId": "string",
    "operator": "string",
    "resume": {
      "advice": "string",
      "causes": {
        "simCardChange": true,
        "commonBehavior": "string"
      }
    },
    "securityDetail": {
      "simcard": {
        "changeInRange": true,
        "rangeToEvaluate": "string",
        "lastChangeDate": "2019-08-24T14:15:22Z",
        "dataSource": "string",
        "dataSourceResult": "string"
      },
      "machineLearning": {
        "commonBehavior": {
          "anomaly": 0,
          "distrust": 0,
          "mobileOperator": {
            "changedInLastSevenDays": true,
            "elapsedTime": {
              "days": "string",
              "hours": "string"
            }
          }
        }
      },
      "activeAge": {
        "firstTime": "string",
        "lifetime": "string",
        "reactivate": "string",
        "state": "string"
      },
      "categorization": {
        "banked": true,
        "entityRelates": "string",
        "creditCollection": true,
        "details": [
          {
            "category": "string",
            "segment": "string",
            "percentage": 0
          }
        ]
      },
      "fraudReport": [
        {
          "creationDate": "2019-08-24T14:15:22Z",
          "expirationTime": "2019-08-24T14:15:22Z",
          "fraudReason": "string",
          "entityCategory": "string",
          "typeTransaction": "string",
          "description": "string",
          "metaData": "string",
          "idSimCard": "string"
        }
      ],
			"portabilities": {
         "originalOperator":"string",
         "changes": [
            {
              "operator": "string",
              "date": "2020-07-27T00:00:00+00:00"
            }
         ]
      }
    },
	"pairMatch": { 
			"matched": false, 
			"keyType": "account", 
			"lastSeen": null, 
			"accountsFound": 1,
			"cardsFound": 3,
			"message": "success" 
		},
    "actions": [
      {
        "type": "string",
        "status": "string",
        "detail": "string",
        "errorMessage": "string"
      }
    ]
  }
}