Fetch KYC
curl --request GET \
--url https://api.sandbox.sardine.ai/v1/identityDocuments/verifications/{id}import requests
url = "https://api.sandbox.sardine.ai/v1/identityDocuments/verifications/{id}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.sandbox.sardine.ai/v1/identityDocuments/verifications/{id}', 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://api.sandbox.sardine.ai/v1/identityDocuments/verifications/{id}",
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://api.sandbox.sardine.ai/v1/identityDocuments/verifications/{id}"
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://api.sandbox.sardine.ai/v1/identityDocuments/verifications/{id}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.sandbox.sardine.ai/v1/identityDocuments/verifications/{id}")
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{
"verificationId": "d67fc8a6-d930-4857-882d-00000000000",
"status": "complete",
"documentData": {
"type": "driver_license",
"number": "S1585910",
"dateOfBirth": "1981-02-17",
"dateOfIssue": "2020-02-16",
"dateOfExpiry": "2025-02-17",
"issuingCountry": "US",
"firstName": "PARIS WHITNEY",
"middleName": "",
"lastName": "HILTON",
"gender": "female",
"address": "936 SE Dolphin Dr, Stuart, Florida 34996"
},
"verification": {
"riskLevel": "high",
"forgeryLevel": "low",
"documentMatchLevel": "not_applicable",
"imageQualityLevel": "high",
"faceMatchLevel": "not_applicable"
}
}Identity
Fetch KYC
Retrieve result of document verification
GET
/
identityDocuments
/
verifications
/
{id}
Fetch KYC
curl --request GET \
--url https://api.sandbox.sardine.ai/v1/identityDocuments/verifications/{id}import requests
url = "https://api.sandbox.sardine.ai/v1/identityDocuments/verifications/{id}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.sandbox.sardine.ai/v1/identityDocuments/verifications/{id}', 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://api.sandbox.sardine.ai/v1/identityDocuments/verifications/{id}",
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://api.sandbox.sardine.ai/v1/identityDocuments/verifications/{id}"
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://api.sandbox.sardine.ai/v1/identityDocuments/verifications/{id}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.sandbox.sardine.ai/v1/identityDocuments/verifications/{id}")
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{
"verificationId": "d67fc8a6-d930-4857-882d-00000000000",
"status": "complete",
"documentData": {
"type": "driver_license",
"number": "S1585910",
"dateOfBirth": "1981-02-17",
"dateOfIssue": "2020-02-16",
"dateOfExpiry": "2025-02-17",
"issuingCountry": "US",
"firstName": "PARIS WHITNEY",
"middleName": "",
"lastName": "HILTON",
"gender": "female",
"address": "936 SE Dolphin Dr, Stuart, Florida 34996"
},
"verification": {
"riskLevel": "high",
"forgeryLevel": "low",
"documentMatchLevel": "not_applicable",
"imageQualityLevel": "high",
"faceMatchLevel": "not_applicable"
}
}Path Parameters
ID of KYC
Query Parameters
Type of request. Set to custom if you build your own UI to capture photos, secure.me if you use au10tix Web UI, mobilesdk if you use au10tix native mobile SDK
uuid that identifies the given customer session or transaction
ID for Customer
⌘I