Fraud Analysis
curl --request GET \
--url https://{instance}-api.private.fin.ag/v3/{customerId}/upload/fraudanalysis/{loginId}import requests
url = "https://{instance}-api.private.fin.ag/v3/{customerId}/upload/fraudanalysis/{loginId}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://{instance}-api.private.fin.ag/v3/{customerId}/upload/fraudanalysis/{loginId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://{instance}-api.private.fin.ag/v3/{customerId}/upload/fraudanalysis/{loginId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://{instance}-api.private.fin.ag/v3/{customerId}/upload/fraudanalysis/{loginId}"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://{instance}-api.private.fin.ag/v3/{customerId}/upload/fraudanalysis/{loginId}")
.asString();require 'uri'
require 'net/http'
url = URI("https://{instance}-api.private.fin.ag/v3/{customerId}/upload/fraudanalysis/{loginId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"HttpStatusCode": 123,
"Message": "<string>",
"Login": {
"LoginId": "<string>",
"RequestId": "<string>"
},
"DocumentAnalysis": [
{
"Status": "<string>",
"FullAnalysis": [
{
"DocumentType": "<string>",
"FraudSignals": [
{
"Type": "<string>",
"PageNumber": 123,
"Count": 123,
"UnderlyingData": [
{
"Details": [
{
"SpecificType": "<string>",
"Value": "<string>",
"DataType": "<string>"
}
]
}
]
}
]
}
]
}
]
}{
"HttpStatusCode": 123,
"RequestId": "<string>",
"Message": "<string>",
"FlinksCode": "<string>"
}Fraud
/FraudAnalysis
Use the /FraudAnalysis endpoint if you are using Flinks Upload and want to check if our fraud signals were triggered by documents that were uploaded.
GET
/
v3
/
{customerId}
/
upload
/
fraudanalysis
/
{loginId}
Fraud Analysis
curl --request GET \
--url https://{instance}-api.private.fin.ag/v3/{customerId}/upload/fraudanalysis/{loginId}import requests
url = "https://{instance}-api.private.fin.ag/v3/{customerId}/upload/fraudanalysis/{loginId}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://{instance}-api.private.fin.ag/v3/{customerId}/upload/fraudanalysis/{loginId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://{instance}-api.private.fin.ag/v3/{customerId}/upload/fraudanalysis/{loginId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://{instance}-api.private.fin.ag/v3/{customerId}/upload/fraudanalysis/{loginId}"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://{instance}-api.private.fin.ag/v3/{customerId}/upload/fraudanalysis/{loginId}")
.asString();require 'uri'
require 'net/http'
url = URI("https://{instance}-api.private.fin.ag/v3/{customerId}/upload/fraudanalysis/{loginId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"HttpStatusCode": 123,
"Message": "<string>",
"Login": {
"LoginId": "<string>",
"RequestId": "<string>"
},
"DocumentAnalysis": [
{
"Status": "<string>",
"FullAnalysis": [
{
"DocumentType": "<string>",
"FraudSignals": [
{
"Type": "<string>",
"PageNumber": 123,
"Count": 123,
"UnderlyingData": [
{
"Details": [
{
"SpecificType": "<string>",
"Value": "<string>",
"DataType": "<string>"
}
]
}
]
}
]
}
]
}
]
}{
"HttpStatusCode": 123,
"RequestId": "<string>",
"Message": "<string>",
"FlinksCode": "<string>"
}Use the /FraudAnalysis endpoint if you are using Flinks Upload and want to check if our fraud signals were triggered by documents that were uploaded.
This endpoint returns a different 200 response based on if fraud was detected or not.
Headers
Contains the Bearer Token (the API secret key that Flinks provides you with).
Was this page helpful?
⌘I