Exclude Applicant
curl --request POST \
--url https://api.deepidv.com/v1/igaming/self-exclusion/applicantimport requests
url = "https://api.deepidv.com/v1/igaming/self-exclusion/applicant"
response = requests.post(url)
print(response.text)const options = {method: 'POST'};
fetch('https://api.deepidv.com/v1/igaming/self-exclusion/applicant', 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.deepidv.com/v1/igaming/self-exclusion/applicant",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$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.deepidv.com/v1/igaming/self-exclusion/applicant"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.deepidv.com/v1/igaming/self-exclusion/applicant")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.deepidv.com/v1/igaming/self-exclusion/applicant")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body{
"face_attached": true,
"document_number": "P1234567",
"identity_status": "added"
}
iGaming Self-Exclusion & Management
Exclude Applicant
Exclude a session’s face and linked identity in a single call
POST
/
v1
/
igaming
/
self-exclusion
/
applicant
Exclude Applicant
curl --request POST \
--url https://api.deepidv.com/v1/igaming/self-exclusion/applicantimport requests
url = "https://api.deepidv.com/v1/igaming/self-exclusion/applicant"
response = requests.post(url)
print(response.text)const options = {method: 'POST'};
fetch('https://api.deepidv.com/v1/igaming/self-exclusion/applicant', 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.deepidv.com/v1/igaming/self-exclusion/applicant",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$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.deepidv.com/v1/igaming/self-exclusion/applicant"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.deepidv.com/v1/igaming/self-exclusion/applicant")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.deepidv.com/v1/igaming/self-exclusion/applicant")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body{
"face_attached": true,
"document_number": "P1234567",
"identity_status": "added"
}
POST /v1/igaming/self-exclusion/applicant
Request
Headers
| Header | Required | Description |
|---|---|---|
x-api-key | Yes | Your API key |
Content-Type | Yes | application/json |
Body parameters
Field names are snake_case only — there are no camelCase aliases.| Parameter | Type | Required | Description |
|---|---|---|---|
session_id | string | Yes | The session to exclude |
reason | string | No | Free-text reason for the exclusion |
Example request
curl -X POST https://api.deepidv.com/v1/igaming/self-exclusion/applicant \
-H "Content-Type: application/json" \
-H "x-api-key: YOUR_API_KEY" \
-d '{
"session_id": "b8991ba9-2566-4fe5-b758-66f387c3e28b",
"reason": "self-requested exclusion"
}'
const response = await fetch(
"https://api.deepidv.com/v1/igaming/self-exclusion/applicant",
{
method: "POST",
headers: {
"Content-Type": "application/json",
"x-api-key": "YOUR_API_KEY",
},
body: JSON.stringify({
session_id: "b8991ba9-2566-4fe5-b758-66f387c3e28b",
reason: "self-requested exclusion",
}),
}
);
const data = await response.json();
import requests
response = requests.post(
"https://api.deepidv.com/v1/igaming/self-exclusion/applicant",
headers={
"Content-Type": "application/json",
"x-api-key": "YOUR_API_KEY",
},
json={
"session_id": "b8991ba9-2566-4fe5-b758-66f387c3e28b",
"reason": "self-requested exclusion",
},
)
Response
200 — Success
| Field | Type | Description |
|---|---|---|
face_attached | boolean | Whether the applicant’s face was successfully flagged |
document_number | string | null | The normalized document number that was excluded, or null if the session had none |
identity_status | string | added or already_excluded — present only when a document number existed |
matched_session_id | string | Present when the face was flagged via the matched enrollment |
message | string | Present only when there was nothing to exclude for this session — "nothing to exclude for this session" |
Error responses
| Status | Description |
|---|---|
400 Bad Request | Missing or malformed session_id |
401 Unauthorized | Invalid or revoked API key |
403 Forbidden | x-api-key header missing |
404 Not Found | Session not found, or not in your organization |
500 Internal Server Error | Unexpected server error |
{
"face_attached": true,
"document_number": "P1234567",
"identity_status": "added"
}