Developer Guide

Feedback Order

Update status of a transaction from pending-manual-review to APPROVE, REJECT or IGNORE. The FraudLabs Pro algorithm will improve the formula in determine the FraudLabs Pro score using the data collected.


Parameter Description
id (required) Unique transaction Id generated by Fraud Check API.
key (required) API license key.
format (optional) Return the result in json or xml format. Default:xml
Valid values: json | xml
action (required) Perform APPROVE, REJECT, or REJECT_BLACKLIST action to transaction.
  • APPORVE: Approve a transaction
  • REJECT: Reject a transaction
  • REJECT_BLACKLIST: Reject and blacklist the transaction
When a transaction was blacklisted, the information will be recorded into the system for future blacklist validation check.
notes (optional) Notes for the feedback request.
Parameter Description
fraudlabspro_error Error code in this transaction. Please refer toError Codes for complete list.
fraudlabspro_message More information about the status of this transaction. Please refer to Error Codes for complete list.
Sample Code
$apiKey = 'Enter_License_Key';
$params['format']   = 'json';
$params['id']       = '20130131-O263CR';
$params['action']   = 'APPROVE';

$query = '';

foreach($params as $key=>$value){
	$query .= '&' . $key . '=' . rawurlencode($value);

$try = 0;
do {
	//For https request, please make sure you have enabled php_openssl.dll extension.
	//How to enable https
	//- Uncomment ;extension=php_openssl.dll by removing the semicolon in your php.ini, and restart the apache.
	//In case you have difficulty to modify the php.ini, you can always make the http request instead of https.
	$result = file_get_contents('' . $apiKey . $query);
} while(!$result && $try++ < 3);

$data = json_decode($result);


public class FLP {
	public static void main(String[] args) {
		try {

		URL url = new URL("");
		HttpURLConnection conn = (HttpURLConnection) url.openConnection();
		conn.setRequestProperty("Accept", "application/json");

		if (conn.getResponseCode() != 200) {
			throw new RuntimeException("Failed : HTTP error code : " + conn.getResponseCode());

		BufferedReader br = new BufferedReader(new InputStreamReader(

		String output;

		while ((output = br.readLine()) != null) {


	  } catch (MalformedURLException e) {


	  } catch (IOException e) {
Imports System.Net
Imports System.Security.Cryptography

Partial Public Class _Default
	Inherits System.Web.UI.Page

	Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
		Dim request As HttpWebRequest = Nothing
		Dim response As Net.HttpWebResponse = Nothing
		Dim stream As IO.Stream = Nothing

		Dim apiKey As String = "Enter_License_Key"
		Dim format As String = "json"
		Dim id As String = "20130131-O263CR"
		Dim action As String = "APPROVE"

		request = Net.WebRequest.Create("" & apiKey & _
		"&format=" & System.Web.HttpUtility.UrlEncode(format) & _
		"&id=" & System.Web.HttpUtility.UrlEncode(id) & _
		"&action=" & System.Web.HttpUtility.UrlEncode(action))

		request.Method = "GET"
		response = request.GetResponse()

		Dim reader As System.IO.StreamReader = New IO.StreamReader(response.GetResponseStream())

	End Sub
End Class
using Microsoft.VisualBasic;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Data;
using System.Diagnostics;
using System.Net;
using System.Security.Cryptography;

public partial class _Default : System.Web.UI.Page

	protected void Page_Load(object sender, System.EventArgs e)
		HttpWebRequest request = null;
		System.Net.HttpWebResponse response = null;
		System.IO.Stream stream = null;

		string apiKey = "";
		string format = "json";
		string id = "20130131-O263CR";
		string action = "APPROVE";

		request = System.Net.WebRequest.Create("" + apiKey + "&format=" + System.Web.HttpUtility.UrlEncode(format) + "&id=" + System.Web.HttpUtility.UrlEncode(id) + "&action=" + System.Web.HttpUtility.UrlEncode(action));

		request.Method = "GET";
		response = request.GetResponse();

		System.IO.StreamReader reader = new System.IO.StreamReader(response.GetResponseStream());

import httplib
import urllib

p = { 'key': 'Enter_License_Key', 'format': 'json', 'id': '20130131-O263CR', 'action': 'APPROVE' }

conn = httplib.HTTPConnection("")
conn.request("GET", "/v1/order/feedback?" + urllib.urlencode(p))
res = conn.getresponse()