Developer Guide

Screen Order

Screen an order transaction for payment fraud. This REST API will detects all possibles fraud traits based on the input parameters supplied. The more input parameter supplied, the higher accuracy of fraud detection.

POST https://api.fraudlabspro.com/v1/order/screen

Sign up for a FREE license to start protecting your online business from payment fraud
Request
Parameter Description
ip (required) IP address of online transaction. It supports both IPv4 and IPv6 address format.
key (required) API license key.
format (optional) Return the result in json or xml format.
Valid values: json | xml
last_name (optional) User's last name.
first_name (optional) User's first name.
bill_addr (optional) Street address of billing address.
bill_city (optional) City of billing address.
bill_state (optional) State of billing address.
It supports state codes, e.g. NY (New York), for state or province of United States or Canada. Please refer to state & province codes for complete list.
bill_country (optional) Country of billing address.
It requires the input of ISO-3166 alpha-2 country code, e.g. US for United States. Please refer to Country Codes for complete list.
bill_zip_code (optional) Postal or ZIP code of billing address.
ship_addr (optional) Street address of shipping address.
ship_city (optional) City of shipping address.
ship_state (required) State of shipping address.
It supports state codes, e.g. NY - New York, for state or province of United States or Canada. Please refer to state & province codes for complete list.
ship_country (optional) Country of shipping address.
It requires the input of ISO-3166 alpha-2 country code, e.g. US for United States. Please refer to Country Codes for complete list.
ship_zip_code (optional) Postal or ZIP code of shipping address.
email_domain (optional) Domain name of email address. For example, the domain of email address support@fraudlabspro.com is fraudlabspro.com.
user_phone (optional) User's phone number.
email (optional) User's email address.
email_hash (optional) SHA1-64k hash of user's email address. Please refer to SHA1-64k Hash Function for details.
username_hash (optional) SHA1-64k hash of user's username. Please refer to SHA1-64k Hash Function for details.
password_hash (optional) SHA1-64k hash of user's password. Please refer to SHA1-64k Hash Function for details.
bin_no (optional) First 6 digits of credit card number to identify issuing bank.
card_hash (optional) SHA1-64k hash of credit number. Please refer to SHA1-64k Hash Function for details.
avs_result (optional) The single character AVS result returned by the credit card processor. Please refer to AVS & CVV2 Response Codes for details.
cvv_result (optional) The single character CVV2 result returned by the credit card processor. Please refer to AVS & CVV2 Response Codes for details.

NOTE: This is not for the input of the actual CVV code from the back of the credit card.
user_order_id (optional) Merchant identifier to uniquely identify a transaction. It supports maximum of 15 characters user order id input.
user_order_memo (optional) Merchant description of an order transaction. It supports maximum of 200 characters.
amount (optional) Amount of the transaction.
quantity (optional) Total quantity of the transaction.
currency (optional) Currency code used in the transaction.
It requires the input of ISO-4217 (3 characters) currency code, e.g. USD for US Dollar. Please refer to Currency Codes for complete list.
department (optional) Merchant identifier to uniquely identify a product or service department.
payment_mode (optional) Payment mode of transaction.
Valid values: creditcard | affirm | paypal | googlecheckout | bitcoin | cod | moneyorder | wired | bankdeposit | others.
session_id (optional) Session ID of server script. [Obsolete]
flp_checksum (optional) Checksum for the device validation. Please visit Agent Javascript to learn about the use of this parameter.
Response
Parameter Description
is_country_match Whether country of IP address matches billing address country.
Return values: Y, N, NA (NA means not applicable)
is_high_risk_country Whether IP address or billing address country is in the latest high risk list.
Return values: Y, N, NA (NA means not applicable)
distance_in_km Distance of location between IP address and bill. Value in kilometer.
distance_in_mile Distance of location between IP address and bill. Value in mile.
ip_country Estimated country of the IP address.
ip_region Estimated region of the IP address.
ip_city Estimated city of the IP address.
ip_continent Estimated continent of the IP address. Please refer to Continent-Country for details.
ip_latitude Estimated latitude of the IP address.
ip_longitude Estimated longitude of the IP address.
ip_timezone Estimated timezone of the IP address.
ip_elevation Estimated elevation of the IP address.
ip_domain Estimated domain name of the IP address.
ip_mobile_mnc Estimated mobile mnc information of the IP address, if it is a mobile network.
ip_mobile_mcc Estimated mobile mcc information of the IP address, if it is a mobile network.
ip_mobile_brand Estimated mobile brand information of the IP address, if it is a mobile network.
ip_netspeed Estimated netspeed of the IP address.
ip_isp_name Estimated ISP name of the IP address.
ip_usage_type Estimated usage type of the IP address. Return values as below:
  • Commercial
  • Organization
  • Government
  • Military
  • University/College/School
  • Library
  • Content Delivery Network
  • Fixed Line ISP
  • Mobile ISP
  • Data Center/Web Hosting/Transit
  • Search Engine Spider
is_free_email Whether the email is from free email provider.
Return values: Y, N, NA (NA means not applicable)
is_disposable_email Whether the email is a disposable email. Only applicable for Small Plan onward.
Return values: Y, N, NA (NA means not applicable)
is_new_domain_name Whether the email domain name a newly registered name. Only applicable for non-free email domain.
Return values: Y, N, NA (NA means not applicable)
is_domain_exists Whether the email domain name is a valid domain.
Return values: Y, N, NA (NA means not applicable)
is_proxy_ip_address Whether the IP address is from a known anonymous proxy server.
Return values: Y, N, NA (NA means not applicable)
is_bin_found Whether the BIN information matches our BIN list.
Return values: Y, N, NA (NA means not applicable)
is_bin_country_match Whether the country of issuing bank matches BIN country code.
Return values: Y, N, NA (NA means not applicable)
is_bin_name_match Whether the name of issuing bank matches BIN bank name. (obsolete, will be removed in future)
Return values: Y, N, NA (NA means not applicable)
is_bin_phone_match Whether the customer service phone number matches BIN phone. (obsolete, will be removed in future)
Return values: Y, N, NA (NA means not applicable)
is_bin_prepaid Whether the credit card is a type of prepaid card.
Return values: Y, N, NA (NA means not applicable)
card_brand The brand of the card.
Available on Medium plan onward only.
card_type Whether the card is a type of credit or debit.
Available on Medium plan onward only.
card_issuing_bank The name of the bank where the card being issued.
Available on Medium plan onward only.
card_issuing_country The ISO-3166 alpha-2 Country Codes where the card being issued.
Available on Medium plan onward only.
is_address_ship_forward Whether the shipping address is in database of known mail drops.
Return values: Y, N, NA (NA means not applicable)
is_bill_ship_city_match Whether the billing city matches the shipping city.
Return values: Y, N, NA (NA means not applicable)
is_bill_ship_state_match Whether the billing state matches the shipping state.
Return values: Y, N, NA (NA means not applicable)
is_bill_ship_country_match Whether the billing country matches the shipping country.
Return values: Y, N, NA (NA means not applicable)
is_bill_ship_postal_match Whether the billing postal/zip code matches the shipping postal/zip code.
Return values: Y, N, NA (NA means not applicable)
is_ip_blacklist Whether the IP address is in our blacklist database.
Return values: Y, N, NA (NA means not applicable)
is_email_blacklist Whether the email address is in our blacklist database.
Return values: Y, N, NA (NA means not applicable)
is_credit_card_blacklist Whether the credit card is in our blacklist database.
Return values: Y, N, NA (NA means not applicable)
is_device_blacklist Whether the device Id is in our blacklist database.
Return values: Y, N, NA (NA means not applicable)
is_user_blacklist Whether the username is in our blacklist database.
Return values: Y, N, NA (NA means not applicable)
is_ship_address_blacklist Whether the ship address is in our blacklist database.
Return values: Y, N, NA (NA means not applicable)
is_phone_blacklist Whether the user's phone number is in our blacklist database.
Return values: Y, N, NA (NA means not applicable)
is_high_risk_username_password Whether the username and password is in our high risk database.
Return values: Y, N, NA (NA means not applicable)
is_malware_exploit Whether the machine is infected.
Return values: Y, N, NA (NA means not applicable)
is_export_controlled_country Whether the country is from an embargoed country.
Return values: Y, N, NA (NA means not applicable)
user_order_id Return the order identifier given by merchant earlier.
user_order_memo Return the order description given by merchant earlier.
fraudlabspro_score Overall score between 1 and 100. 100 is the highest risk and 1 is the lowest risk.
fraudlabspro_distribution Return the distribution of the risk rate range from 1 to 100. Distribution score of 90 means it is at top 10% high score in sample.
fraudlabspro_status Final action based on the rules analysis.
Return values: APPROVE | REJECT | REVIEW
fraudlabspro_id System own unique identifier to identify this API transaction.
fraudlabspro_version Version of the fraud analysis engine used in this transaction.
fraudlabspro_error_code Error code in this transaction. Please refer to Error Codes for complete list.
fraudlabspro_message More information about the status of this transaction. Please refer to Error Codes for complete list.
fraudlabspro_credits Balance of queries in your account after this transaction.
SDK

You may use our official SDK to assist you in code implementation

Sample Code
<?php
require_once 'lib/FraudLabsPro.php';

// Configures FraudLabs Pro API key
FraudLabsPro\Configuration::apiKey('YOUR_API_KEY');

// Order details
$orderDetails = [
	// IP parameter is optional, this library can detects IP address automatically
	'ip'		=> '146.112.62.105',

	'order'		=> [
		'orderId'		=> '67398',
		'note'			=> 'Online shop',
		'currency'		=> 'USD',
		'amount'		=> '79.89',
		'quantity'		=> 1,

		// Please refer reference section for full list of payment methods
		'paymentMethod'	=> FraudLabsPro\Order::CREDIT_CARD,
	],

	'card'		=> [
		'number'	=> '4556553172971283',
	],

	'billing'	=> [
		'firstName'	=> 'Hector',
		'lastName'	=> 'Henderson',
		'email'		=> 'hh5566@gmail.com',
		'phone'		=> '561-628-8674',

		'address'	=> '1766 Powder House Road',
		'city'		=> 'West Palm Beach',
		'state'		=> 'FL',
		'postcode'	=> '33401',
		'country'	=> 'US',
	],

	'shipping'	=> [
		'address'	=> '4469 Chestnut Street',
		'city'		=> 'Tampa',
		'state'		=> 'FL',
		'postcode'	=> '33602',
		'country'	=> 'US',
	],
];

// Sends the order details to FraudLabs Pro
$result = FraudLabsPro\Order::validate($orderDetails);
import com.fraudlabspro.*;
import java.util.Hashtable;

public class FLP {

    public static void main(String[] args) {
        // Configures FraudLabs Pro API key
        FraudLabsPro.APIKEY = "YOUR_API_KEY";

        // Screen Order API
        Order order = new Order();

        // Sets order details
        Hashtable data = new Hashtable<>();

        data.put("ip", "146.112.62.105");  // IP parameter is mandatory
        data.put("first_name", "Hector");
        data.put("last_name", "Henderson");
        data.put("email", "hh5566@gmail.com");
        data.put("user_phone", "561-628-8674");

        // Billing information
        data.put("bill_addr", "1766 PowderHouse Road");
        data.put("bill_city", "West Palm Beach");
        data.put("bill_state", "FL");
        data.put("bill_country", "US");
        data.put("bill_zip_code", "33401");
        data.put("number", "4556553172971283");

        // Order information
        data.put("user_order_id", "67398");
        data.put("user_order_memo", "Online shop");
        data.put("amount", "79.89");
        data.put("quantity", "1");
        data.put("currency", "USD");
        data.put("payment_mode", order.CREDIT_CARD);  // Please refer reference section for full list of payment methods

        // Shipping information
        data.put("ship_addr", "4469 Chestnut Street");
        data.put("ship_city", "Tampa");
        data.put("ship_state", "FL");
        data.put("ship_zip_code", "33602");
        data.put("ship_country", "US");

        String result = order.validate(data);  // Sends order details to FraudLabs Pro
    }
}
Imports FraudLabsPro.FraudLabsPro
Public Class WebForm1
    Inherits System.Web.UI.Page
    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
        'Configure FraudLabs Pro API KEY
        FraudLabsProConfig.APIKey = "YOUR_API_KEY"

        'Set ScreenOrder parameter
        Dim ScreenOrderPara As New OrderPara

        'Set order details
        ScreenOrderPara.IPAddress = "146.112.62.105" ' IP Parameter is mandatory
        ScreenOrderPara.FirstName = "Hector"
        ScreenOrderPara.LastName = "Henderson"
        ScreenOrderPara.EmailAddress = "hh5566@gmail.com"

        'Billing Information
        ScreenOrderPara.BillAddress = "1766 PowderHouse Road"
        ScreenOrderPara.BillCity = "West Palm Beach"
        ScreenOrderPara.BillState = "FL"
        ScreenOrderPara.BillCountry = "US"
        ScreenOrderPara.BillZIPCode = "33401"
        ScreenOrderPara.CardNumber = "4556553172971283"
        ScreenOrderPara.UserPhone = "561-628-8674"
        'Order Information
        ScreenOrderPara.UserOrderID = "67398"
        ScreenOrderPara.UserOrderMemo = "Online shop"
        ScreenOrderPara.Amount = "79.89"
        ScreenOrderPara.Quantity = "1"
        ScreenOrderPara.Currency = "USD"
        ScreenOrderPara.PaymentMode = Order.PaymentMethods.CREDIT_CARD

        'Shipping Information
        ScreenOrderPara.ShippingAddress = "4469 Chestnut Street"
        ScreenOrderPara.ShippingCity = "Tampa"
        ScreenOrderPara.ShippingState = "FL"
        ScreenOrderPara.ShippingZIPCode = "33602"
        ScreenOrderPara.ShippingCountry = "US"

        'ScreenOrder API
        Dim ScreenOrder As New Order
        Dim result = ScreenOrder.ScreenOrder(ScreenOrderPara) ' Send order to FraudLabs Pro
        Response.Write("IsCountryMatch: " + result.IsCountryMatch + "</br>")
        Response.Write("IsHighRiskCountry: " + result.IsHighRiskCountry + " </br>")
        Response.Write("DistanceInKM: " + result.DistanceInKM + "</br>")
        Response.Write("DistanceInMile: " + result.DistanceInMile + "</br>")
        Response.Write("IPCountry: " + result.IPCountry + "</br>")
        Response.Write("IPRegion: " + result.IPRegion + "</br>")
        Response.Write("IPCity: " + result.IPCity + "</br>")
        Response.Write("IPContinent: " + result.IPContinent + "</br>")
        Response.Write("IPLatitude: " + result.IPLatitude + "</br>")
        Response.Write("IPLongtitude: " + result.IPLongtitude + "</br>")
        Response.Write("IPTimeZone: " + result.IPTimeZone + "</br>")
        Response.Write("IPElevation: " + result.IPElevation + "</br>")
        Response.Write("IPDomain: " + result.IPDomain + "</br>")
        Response.Write("IPMobileMNC: " + result.IPMobileMNC + "</br>")
        Response.Write("IPMobileMCC: " + result.IPMobileMCC + "</br>")
        Response.Write("IPMobileBrand: " + result.IPMobileBrand + "</br>")
        Response.Write("IPNetSpeed: " + result.IPNetSpeed + "</br>")
        Response.Write("IPISPName: " + result.IPISPName + "</br>")
        Response.Write("IPUsageType: " + result.IPUsageType + "</br>")
        Response.Write("IsFreeEmail: " + result.IsFreeEmail + "</br>")
        Response.Write("IsDisposableEmail: " + result.IsDisposableEmail + "</br>")
        Response.Write("IsNewDomainName: " + result.IsNewDomainName + "</br>")
        Response.Write("IsDomainExists: " + result.IsDomainExists + "</br>")
        Response.Write("IsProxyIPAddress: " + result.IsProxyIPAddress + "</br>")
        Response.Write("IsBinFound: " + result.IsBinFound + "</br>")
        Response.Write("IsBinCountryMatch: " + result.IsBinCountryMatch + "</br>")
        Response.Write("IsBinNameMatch: " + result.IsBinNameMatch + "</br>")
        Response.Write("IsBinPhoneMatch: " + result.IsBinPhoneMatch + "</br>")
        Response.Write("IsBinPrepaid: " + result.IsBinPrepaid + "</br>")
        Response.Write("IsAddressShipForward: " + result.IsAddressShipForward + "</br>")
        Response.Write("IsBillShipCityMatch: " + result.IsBillShipCityMatch + "</br>")
        Response.Write("IsBillShipStateMatch: " + result.IsBillShipStateMatch + "</br>")
        Response.Write("IsBillShipCountryMatch: " + result.IsBillShipCountryMatch + "</br>")
        Response.Write("IsBillShipPostalMatch: " + result.IsBillShipPostalMatch + "</br>")
        Response.Write("IsIPBlacklist: " + result.IsIPBlacklist + "</br>")
        Response.Write("IsEmailBlacklist: " + result.IsEmailBlacklist + "</br>")
        Response.Write("IsCreditCardBlacklist: " + result.IsCreditCardBlacklist + "</br>")
        Response.Write("IsDeviceBlacklist: " + result.IsDeviceBlacklist + "</br>")
        Response.Write("IsUserBlacklist: " + result.IsUserBlacklist + "</br>")
        Response.Write("IsShipAddressBlackList: " + result.IsShipAddressBlackList + "</br>")
        Response.Write("IsPhoneBlacklist: " + result.IsPhoneBlacklist + "</br>")
        Response.Write("IsHighRiskUsernamePassword: " + result.IsHighRiskUsernamePassword + "</br>")
        Response.Write("IsMalwareExploit: " + result.IsMalwareExploit + "</br>")
        Response.Write("IsExportControlledCountry: " + result.IsExportControlledCountry + "</br>")
        Response.Write("UserOrderID: " + result.UserOrderID + "</br>")
        Response.Write("UserOrderMemo: " + result.UserOrderMemo + "</br>")
        Response.Write("FraudLabsProScore: " + result.FraudLabsProScore + "</br>")
        Response.Write("FraudLabsProDistribution: " + result.FraudLabsProDistribution + "</br>")
        Response.Write("FraudLabsProStatus: " + result.FraudLabsProStatus + "</br>")
        Response.Write("FraudLabsProID: " + result.FraudLabsProID + "</br>")
        Response.Write("FraudLabsProVersion: " + result.FraudLabsProVersion + "</br>")
        Response.Write("FraudLabsProErrorCode: " + result.FraudLabsProErrorCode + "</br>")
        Response.Write("FraudLabsProMessage: " + result.FraudLabsProMessage + "</br>")
        Response.Write("FraudLabsProCredit: " + result.FraudLabsProCredit + "</br>")
    End Sub
End Class
using FraudLabsPro.FraudLabsPro;

public class WebForm1 : System.Web.UI.Page
{
    protected void Page_Load(object sender, System.EventArgs e)
    {
        // Configure FraudLabs Pro API KEY
        FraudLabsProConfig.APIKey = "YOUR_API_KEY";

        // Set ScreenOrder parameter
        OrderPara ScreenOrderPara = new OrderPara();

        // Set order details
        ScreenOrderPara.IPAddress = "146.112.62.105"; // IP Parameter is mandatory
        ScreenOrderPara.FirstName = "Hector";
        ScreenOrderPara.LastName = "Henderson";
        ScreenOrderPara.EmailAddress = "hh5566@gmail.com";

        // Billing Information
        ScreenOrderPara.BillAddress = "1766 PowderHouse Road";
        ScreenOrderPara.BillCity = "West Palm Beach";
        ScreenOrderPara.BillState = "FL";
        ScreenOrderPara.BillCountry = "US";
        ScreenOrderPara.BillZIPCode = "33401";
        ScreenOrderPara.CardNumber = "4556553172971283";
        ScreenOrderPara.UserPhone = "561-628-8674";
        // Order Information
        ScreenOrderPara.UserOrderID = "67398";
        ScreenOrderPara.UserOrderMemo = "Online shop";
        ScreenOrderPara.Amount = "79.89";
        ScreenOrderPara.Quantity = "1";
        ScreenOrderPara.Currency = "USD";
        ScreenOrderPara.PaymentMode = Order.PaymentMethods.CREDIT_CARD;

        // Shipping Information
        ScreenOrderPara.ShippingAddress = "4469 Chestnut Street";
        ScreenOrderPara.ShippingCity = "Tampa";
        ScreenOrderPara.ShippingState = "FL";
        ScreenOrderPara.ShippingZIPCode = "33602";
        ScreenOrderPara.ShippingCountry = "US";

        // ScreenOrder API
        Order ScreenOrder = new Order();
        var result = ScreenOrder.ScreenOrder(ScreenOrderPara); // Send order to FraudLabs Pro
        Response.Write("IsCountryMatch: " + result.IsCountryMatch + "</br>");
        Response.Write("IsHighRiskCountry: " + result.IsHighRiskCountry + " </br>");
        Response.Write("DistanceInKM: " + result.DistanceInKM + "</br>");
        Response.Write("DistanceInMile: " + result.DistanceInMile + "</br>");
        Response.Write("IPCountry: " + result.IPCountry + "</br>");
        Response.Write("IPRegion: " + result.IPRegion + "</br>");
        Response.Write("IPCity: " + result.IPCity + "</br>");
        Response.Write("IPContinent: " + result.IPContinent + "</br>");
        Response.Write("IPLatitude: " + result.IPLatitude + "</br>");
        Response.Write("IPLongtitude: " + result.IPLongtitude + "</br>");
        Response.Write("IPTimeZone: " + result.IPTimeZone + "</br>");
        Response.Write("IPElevation: " + result.IPElevation + "</br>");
        Response.Write("IPDomain: " + result.IPDomain + "</br>");
        Response.Write("IPMobileMNC: " + result.IPMobileMNC + "</br>");
        Response.Write("IPMobileMCC: " + result.IPMobileMCC + "</br>");
        Response.Write("IPMobileBrand: " + result.IPMobileBrand + "</br>");
        Response.Write("IPNetSpeed: " + result.IPNetSpeed + "</br>");
        Response.Write("IPISPName: " + result.IPISPName + "</br>");
        Response.Write("IPUsageType: " + result.IPUsageType + "</br>");
        Response.Write("IsFreeEmail: " + result.IsFreeEmail + "</br>");
        Response.Write("IsDisposableEmail: " + result.IsDisposableEmail + "</br>");
        Response.Write("IsNewDomainName: " + result.IsNewDomainName + "</br>");
        Response.Write("IsDomainExists: " + result.IsDomainExists + "</br>");
        Response.Write("IsProxyIPAddress: " + result.IsProxyIPAddress + "</br>");
        Response.Write("IsBinFound: " + result.IsBinFound + "</br>");
        Response.Write("IsBinCountryMatch: " + result.IsBinCountryMatch + "</br>");
        Response.Write("IsBinNameMatch: " + result.IsBinNameMatch + "</br>");
        Response.Write("IsBinPhoneMatch: " + result.IsBinPhoneMatch + "</br>");
        Response.Write("IsBinPrepaid: " + result.IsBinPrepaid + "</br>");
        Response.Write("IsAddressShipForward: " + result.IsAddressShipForward + "</br>");
        Response.Write("IsBillShipCityMatch: " + result.IsBillShipCityMatch + "</br>");
        Response.Write("IsBillShipStateMatch: " + result.IsBillShipStateMatch + "</br>");
        Response.Write("IsBillShipCountryMatch: " + result.IsBillShipCountryMatch + "</br>");
        Response.Write("IsBillShipPostalMatch: " + result.IsBillShipPostalMatch + "</br>");
        Response.Write("IsIPBlacklist: " + result.IsIPBlacklist + "</br>");
        Response.Write("IsEmailBlacklist: " + result.IsEmailBlacklist + "</br>");
        Response.Write("IsCreditCardBlacklist: " + result.IsCreditCardBlacklist + "</br>");
        Response.Write("IsDeviceBlacklist: " + result.IsDeviceBlacklist + "</br>");
        Response.Write("IsUserBlacklist: " + result.IsUserBlacklist + "</br>");
        Response.Write("IsShipAddressBlackList: " + result.IsShipAddressBlackList + "</br>");
        Response.Write("IsPhoneBlacklist: " + result.IsPhoneBlacklist + "</br>");
        Response.Write("IsHighRiskUsernamePassword: " + result.IsHighRiskUsernamePassword + "</br>");
        Response.Write("IsMalwareExploit: " + result.IsMalwareExploit + "</br>");
        Response.Write("IsExportControlledCountry: " + result.IsExportControlledCountry + "</br>");
        Response.Write("UserOrderID: " + result.UserOrderID + "</br>");
        Response.Write("UserOrderMemo: " + result.UserOrderMemo + "</br>");
        Response.Write("FraudLabsProScore: " + result.FraudLabsProScore + "</br>");
        Response.Write("FraudLabsProDistribution: " + result.FraudLabsProDistribution + "</br>");
        Response.Write("FraudLabsProStatus: " + result.FraudLabsProStatus + "</br>");
        Response.Write("FraudLabsProID: " + result.FraudLabsProID + "</br>");
        Response.Write("FraudLabsProVersion: " + result.FraudLabsProVersion + "</br>");
        Response.Write("FraudLabsProErrorCode: " + result.FraudLabsProErrorCode + "</br>");
        Response.Write("FraudLabsProMessage: " + result.FraudLabsProMessage + "</br>");
        Response.Write("FraudLabsProCredit: " + result.FraudLabsProCredit + "</br>");
    }
}
 # Import SDK to use the function
from libs.order import Order

 # Configure your API key
api_key = 'YOUR_API_KEY'

order_details_variables = {
	'key': api_key,
	'ip': '146.112.62.105',
	'order': {
		'order_id': '67398',
		'currency': 'USD',
		'amount': '42',
		'quantity': 1,
		'paymentMethod': 'creditcard'
	},
	'card': {
		'number': '4556553172971283'
	},
	'billing': {
		'firstName': 'Hector',
		'lastName': 'Henderson',
		'email': 'hh5566@gmail.com',
		'phone': '561-628-8674',
		'address': '1766 Powder House Road',
		'city': 'West Palm Beach',
		'state': 'FL',
		'postcode': '33401',
		'country': 'US',
	},
	'shipping': {
		'address': '4469 Chestnut Street',
		'city'   : 'Tampa',
		'state'  : 'FL',
		'postcode': '33602',
		'country': 'US',
	}
}
print(Order.validate(order_details_variables))
$ curl https://api.fraudlabspro.com/v1/order/screen -X POST \
	-d "key=Enter_License_Key" \
	-d "format=json" \
	-d "ip=IP_Address" \
	-d "bill_city=Cleveland" \
	-d "bill_state=OH" \
	-d "bill_zip_code=44115" \
	-d "bill_country=US" \
	-d "ship_addr=4987 Bingamon Road" \
	-d "ship_city=Cleveland" \
	-d "ship_state=OH" \
	-d "ship_zip_code=44115" \
	-d "ship_country=US" \
	-d "email_domain=gmail.com" \
	-d "user_phone=440-5551961" \
	-d "email_hash=Email_Hash" \
	-d "username_hash=Username_Hash" \
	-d "password_hash=Password_Hash" \
	-d "bin_no=558265" \
	-d "bank_name=Bank of Ocean View" \
	-d "bank_phone=212-500-2489" \
	-d "card_hash=Card_Hash" \
	-d "avs_result=Y" \
	-d "cvv_result=M" \
	-d "user_order_id=7893" \
	-d "amount=99.95" \
	-d "quantity=1" \
	-d "department=Online Store" \
	-d "payment_mode=creditcard"
require 'fraudlabspro_ruby'

FraudlabsproRuby::Configuration.api_key = 'YOUR_API_KEY'

result = FraudlabsproRuby::Api::Order.validate(
  ip: '146.112.62.105',
  first_name: 'Hector',
  last_name: 'Henderson',
  email: 'hh5566@gmail.com',
  phone: '561-628-8674',

  # Billing information
  bill_addr: '1766 PowderHouse Road',
  bill_city: 'West Palm Beach',
  bill_state: 'FL',
  bill_zip_code: '33401',
  bill_country: 'US',

  # Order information
  user_order_id: '67398',
  user_order_memo: 'Online Shop',
  amount: '79.89',
  quantity: '1',
  currency: 'USD',
  payment_mode: FraudlabsproRuby::Api::Order::CREDIT_CARD,
  card_number: '4556553172971283',

  # Shipping information
  ship_addr: '4469 Chestnut Street',
  ship_city: 'Tampa',
  ship_state: 'FL',
  ship_zip_code: '33602',
  ship_country: 'US'
)