Manage2 API Function - Fetch Risk Data
Last modified: March 12, 2021
Description
This function returns an IP address’s fraud risk score. This function uses the number of charge backs, the number of fraudulent sign-ups, and other information to generate this score.
Examples
Browser-based calls
XML
https://manage2.cpanel.net/XMLsecverify.cgi?ip=192.0.2.0
JSON
https://manage2.cpanel.net/XMLsecverify.cgi?output=json&ip=192.0.2.0
YAML
https://manage2.cpanel.net/XMLsecverify.cgi?output=yaml&ip=192.0.2.0
cPanelLicensing PHP Class
|
|
cPanelLicensing Perl Module
|
|
Output (XML)
<XMLsecverify clientreportingurl="http://verify.cpanel.net/security/?code=ELeLcLNcPA" reason="Risk Data Fetched" riskscore.aggregate.score="0" riskscore.directorder.score="0" riskscore.main.score="0" status="1" version="1"/>
Output (JSON)
|
|
Output (YAML)
|
|
Parameters
This function accepts the following parameters:
Parameter | Type | Description | Example |
---|---|---|---|
ip |
string | Required The license’s IP address. The Manage2 List License Information function returns a list of possible values. | 192.0.2.0 |
Returns
This function returns the following values:
Return | Type | Description |
Example |
---|---|---|---|
reason |
string | Information about license check. | Risk Data Fetched |
status |
Boolean | Whether the function succeeded:
|
1 |
clientreportingurl |
string | The URL to send clients who wish to request removal from the database. | http://verify.cpanel.net/security/?code=ELeLcLNcPA |
version |
float | Internal information that the Manage2 API uses to identify the version. | 0.5 |
riskscore.main.score |
integer | The fraud risk score, based on the license’s history:
|
0 |
riskscore.aggregate.score |
integer | The fraud risk score, based on the license’s history and cPanel Store’s order databases:
|
0 |
riskscore.directorder.score |
integer | The fraud risk score, based on the cPanel Store’s order databases:
|
0 |