Below is an example of how to construct a valid URL to request fraud analysis:
http://www.ekim.vn/fraudcheck/order?licence=<YOUR_LICENCE_KEY>&ip=111.111.111.111&returnUrl=www.example.com/getresult
In order to use this service, you must first register. Once registered, FDS will send you a licence key, which you will provide to the service as a required parameter. Other required parameters you will have to provide are ip, which you desire to analyze against and returnUrl, which the analysis result will be posted to.
billAddr, billCity, billState, billPostal, billCountry, txnId, priority are all optional parameters, when provided will be used to calculate the distance from billing address to ip's location.
email, bin, shipAddr, shipCity, shipState, shipPostal, shipCountry are recommended to provide when you desire to check for risky email or valid bank identification number. FDS recommends you to provide these parameters for more accurate fraud analysis.
Once the analysis is completed, Fraud Buster Server will return the basic result. The detailed result will be posted to your provided returnUrl. Go to the next session to know how to retrieve the more detailed analysis result. The following code sample will show you how to make a request:
Make a request with XML response:
<?php
require_once('/path/to/FraudCheckClient.php');
$config = array ('ip'=>'111.111.111.111',
'returnUrl'=>'www.example.com/getresult',
'licence'=>'YOUR_LICENCE_KEY',
'billAddr'=>'222 Le Trong Tan',
'billCity'=>'Thanh Xuan',
'billState'=>'Dong Da',
'priority'=>'2',
'output'=>'xml');
$fc = new FraudCheckClient($config);
/* The response is an XML string. You will have to either convert it to array or use other means to access its nodes */
$result = $fc->fraudCheck();
print_r ($result);
?>
Here is the XML response: 
<data>
<success>1</success>
<cost>VND 1000</cost>
<balance>VND 17578000</balance>
<analysis>
<refId>YOUR_REFERENCE_ID</refId>
<iplocation>
<countryCode>VN</countryCode>
<country>Vietnam</country>
<region>Ha Noi</region>
<city>Thanh Xuan</city>
<latitude>40.4619</latitude>
<longitude>-74.3561</longitude>
<postalCode>0084</postalCode>
<metroCode>101</metroCode>
<areaCode>132</areaCode>
</iplocation>
<isp>FPT Telecom</isp>
<organization>FPT Telecom</organization>
<websites>
<item>www.example1.com</item>
<item>example2.com</item>
<item>www.example3.com</item>
<item>www.example4.com</item>
<item>example5.com</item>
<item>example6.com</item>
<item>www.example7.com</item>
<item>www.example8.com</item>
<item>www.example9.com</item>
<item>example10.com</item>
<total>23,500</total>
</websites>
<proxyScore>1.80</proxyScore>
<distance>11903.98</distance>
<isAnonymousProxy>0</isAnonymousProxy>
<carderEmail>0</carderEmail>
<riskyCountry>0</riskyCountry>
<fraudScore>100</fraudScore>
</analysis>
</data>
Request with JSON response:
<?php
require_once('/path/to/FraudCheckClient.php');
/* JSON is the default response format */
$config = array ('ip'=>'111.111.111.111',
'returnUrl'=>'www.example.com/getresult',
'licence'=>'YOUR_LICENCE_KEY',
'billAddr'=>'222 Le Trong Tan',
'billCity'=>'Thanh Xuan',
'billState'=>'Dong Da',
'priority'=>'2');
$fc = new FraudCheckClient($config);
/* Require PHP >= 5.2 to work. If older PHP, please use a third-party library to decode JSON */
$result = json_decode($fc->fraudCheck(), 1);
print_r ($result);
?>
Here is the JSON response: 
{
"success":"1",
"cost":"VND 1000",
"balance":"VND 17569400",
"analysis":{
"refId":"YOUR_REFERENCE_ID",
"iplocation":{
"countryCode":"VN",
"country":"Vietnam",
"region":"\\\\u0110\\\\u1eafc L\\\\u1eafc",
"city":"Hanoi",
"latitude":"21.0333",
"longitude":"105.8500",
"postalCode":"",
"metroCode":"",
"areaCode":""
},
"isp":"FPT Telecom",
"organization":"FPT Telecom",
"websites":{
"0":"www.example1.com",
"1":"www.example2.com",
"3":"www.example3.com",
"total":"4"
},
"proxyScore":0,
"distance":793.63,
"isAnonymousProxy":0,
"carderEmail":1,
"riskyCountry":0,
"fraudScore":100
}
}