Skip to content
RDCpassRDCpassMinistère de l’Économie NumériqueMinistère de l’Économie Numérique
API reference : Face Recognition
On this page

Face Recognition

Match a live face against the enrolled faces of the RDCPASS national digital identity. Use it to confirm that the person in front of your camera is who they claim to be, or to establish who an undocumented person is. On a match, RDCPASS returns the same identity data as KYC Validation, filtered by the scopes your application holds. Every call requires the authentication stack described in Authentication.

POST /v1/face/recognitionsface_recognitionPar reconnaissanceEnhanced review

At a glance

  • Endpoints: POST /v1/face/recognitions (single) and POST /v1/face/recognitions/batches (batch).
  • Two modes: 1:N identification (image only) and 1:1 verification (image + identifier).
  • Passive liveness detection runs by default — no head movements or blinking required from the user.
  • Default similarity threshold of 0.85, adjustable per request.
  • A human-readable reason is mandatory on every call and is stored in RDCPASS’s audit trail.
  • Result match returns account, kyc.basic and your granted scopes; no_match and not_found return no identity data.
  • Single, batch, synchronous and asynchronous modes; async results arrive on the face_recognition.completed webhook.
  • Production access requires enhanced due diligence — see Production requirements below.
  • 1:1 verification and 1:N identification
  • Passive liveness, so the user has nothing extra to do
  • Every check carries a declared reason that is audited

How it works

  1. Your customer takes a live photo — Your app, a kiosk or a camera in the branch takes one photo. The customer does not need to blink or turn their head.
  2. You send it with a specific reason — Your system submits the photo, the claimed identity if there is one, and the reason for this check.
  3. RDCPASS checks liveness and compares faces — We look for signs of a spoof first. The photo is then compared with the enrolled face of the claimed identity, or searched across certified identities.
  4. You get a match or no match — A match comes with basic KYC and your approved data. A no match discloses no identity data at all.

Identification (1:N) vs verification (1:1)

The same endpoint serves two distinct questions. Which one you ask is decided solely by whether you send an identifier; the response reports it in mode.

ModeHow to callQuestion answeredTypical uses
verification (1:1)Send image and identifier.Is this face the enrolled face of RDCPASS identity COD-2103-0214-4937?Account opening, step-up authentication, SIM swap approval, cash-out at an agent, remote onboarding with a claimed ID.
identification (1:N)Send image only.Which certified RDCPASS identity, if any, does this face belong to?Identifying an unconscious patient, a beneficiary who lost their documents, or a suspected duplicate registration.

Prefer verification whenever you know the claimed identity

A 1:1 comparison is more accurate, faster and far less intrusive than a search across the national population. Identification is reserved for situations where no claimed identity is available, and its reason policy is reviewed more strictly during due diligence.
  • Verification (1:1) — Checks that a face belongs to the identity your customer claims. It is quick, and the least intrusive option.
  • Identification (1:N) — Finds which certified identity a face belongs to, if any, when the person cannot show a document.

What is the difference between verification and identification?

Verification checks a face against the identity your customer claims. Identification searches certified identities to find who a face belongs to. If you know the claimed identity, use verification.

Image requirements

Send the image either inline as base64 (image.data) or as an HTTPS URL RDCPASS can fetch (image.url). Images that fail these requirements are rejected with a 422 error and are not billed.

  • Format: JPEG or PNG.
  • Resolution: at least 480 × 640 pixels, portrait orientation recommended.
  • Exactly one face, looking at the camera, fully visible from forehead to chin — no sunglasses, masks or hands over the face.
  • Even, frontal lighting; avoid strong backlight and heavy compression.
  • A photo taken live by your app or kiosk. Scans of identity documents and photos of screens fail liveness.
  • image.url must be publicly reachable over HTTPS for the duration of the request (a short-lived pre-signed URL is ideal).

Passive liveness

With liveness set to passive (the default), RDCPASS analyses the same single image for signs of a presentation attack — printed photos, screen replays, masks — before comparing faces. The user does nothing special. The outcome is reported in the liveness object (checked, passed, score). If the check fails, the call returns 422 liveness_failed and no comparison is performed.

Set liveness to none only when the image comes from a controlled capture where liveness is already guaranteed — for example an attended branch camera. The response then reports "checked": false with passed and score set to null. Your due-diligence dossier must justify every application that disables liveness.

Each photo is also checked for spoofing with printed photos, screens and masks.

  • Passive liveness — Printed photos, screen replays and masks are detected from the same single photo.

Does the user need to blink or turn their head?

No. Liveness is checked passively from the one photo you send. For the user it is the same as having their picture taken.

Similarity threshold

similarity is a score from 0 to 1 expressing how closely the submitted face matches the enrolled face. The result is match when similarity is greater than or equal to threshold. The default of 0.85 balances false accepts and false rejects for most onboarding flows; tune it to your risk.

thresholdUse when
0.80Low-risk, high-volume checks where a false reject costs more than a false accept (e.g. event ticketing).
0.85 (default)Standard onboarding and step-up authentication.
0.90 – 0.95High-value transactions, SIM swap approval, and every 1:N identification.
  • Adjustable strictness — Set how close a match must be for each check. Routine high-volume checks and high-value transactions can use different levels.

The mandatory reason field

Biometric matching against the national identity is a significant intrusion into a citizen’s privacy, so every call must say why it is being made. reason is a free-text, human-readable justification written for an auditor, not for a machine. RDCPASS stores it with the request, the calling application, the member or system that triggered it and the result, and the audit trail is reviewed by RDCPASS and made available to the data-protection authority.

A good reason is specific and traceable

  • "Current account opening at Gombe branch, Kinshasa - applicant present at counter 3, ticket KIN-GOM-2026-004812"
  • "SIM swap request for +243812345678 at Vodacom shop, Lubumbashi centre - agent ID LUB-117"

Reasons that will be flagged in review

  • "test"
  • "KYC"
  • "verification"
  • The same static string on every request.
Your production application is approved against a documented reason policy (see Production requirements). Reasons that do not fit that policy, or that are generic, are flagged in RDCPASS’s audits and can lead to suspension of the service.
  • Audited reason on every check — Each request records why it was made, who triggered it and what it found, so your compliance team has a full record to work from.

Every check carries a specific reason written in plain language. It is stored and reviewed during RDCPASS audits.

Why must every request include a reason?

Matching a face against the national identity has real privacy consequences. The reason is recorded with every check and reviewed in audits, so each use can be justified to the citizen and to the authorities.

Request body

Plaintext JSON shape, before encryption. Common request fields are described once in KYC scopes & subscriptions.

cURL

# Plaintext body shown for readability - encrypt and sign it as described in /docs/authentication before sending.
IMAGE_B64=$(base64 < selfie.jpg | tr -d '\n')

curl https://api.rdcpass.cd/v1/face/recognitions \
  -X POST \
  -H "X-RDCPASS-Key-Id: key_live_8f2a1c0e9b" \
  -H "X-RDCPASS-Timestamp: 1735689600" \
  -H "X-RDCPASS-Nonce: 2d7e4b1a-9c3f-4a58-b6e2-7f0c1d9a3e55" \
  -H "X-RDCPASS-IV: q3Jx8mT2vLp9Wc1R" \
  -H "X-RDCPASS-Signature: 8b4e1f...c93a" \
  -H "Content-Type: application/json" \
  -d '{
    "image": { "data": "'"$IMAGE_B64"'" },
    "identifier": { "type": "rdcpass_id", "value": "COD-2103-0214-4937" },
    "liveness": "passive",
    "threshold": 0.85,
    "reason": "Current account opening at Gombe branch, Kinshasa - applicant present at counter 3, ticket KIN-GOM-2026-004812",
    "purpose": "customer_onboarding",
    "reference": "cust-0001"
  }'

Node.js

import { readFile } from 'node:fs/promises'

const image = await readFile('selfie.jpg')

// Plaintext body shown for readability - encrypt and sign it as described in /docs/authentication before sending.
const body = {
  image: { data: image.toString('base64') },
  identifier: { type: 'rdcpass_id', value: 'COD-2103-0214-4937' },
  liveness: 'passive',
  threshold: 0.85,
  reason: 'Current account opening at Gombe branch, Kinshasa - applicant present at counter 3, ticket KIN-GOM-2026-004812',
  purpose: 'customer_onboarding',
  reference: 'cust-0001',
}

const res = await fetch('https://api.rdcpass.cd/v1/face/recognitions', {
  method: 'POST',
  headers: {
    'X-RDCPASS-Key-Id': 'key_live_8f2a1c0e9b',
    'X-RDCPASS-Timestamp': '1735689600',
    'X-RDCPASS-Nonce': '2d7e4b1a-9c3f-4a58-b6e2-7f0c1d9a3e55',
    'X-RDCPASS-IV': 'q3Jx8mT2vLp9Wc1R',
    'X-RDCPASS-Signature': '8b4e1f...c93a',
    'Content-Type': 'application/json',
  },
  body: JSON.stringify(body),
})

const result = await res.json()
if (result.result === 'match') {
  console.log(result.similarity, result.kyc.basic.full_name)
}

Python

import base64

import requests

with open("selfie.jpg", "rb") as f:
    image_b64 = base64.b64encode(f.read()).decode("ascii")

# Plaintext body shown for readability - encrypt and sign it as described in /docs/authentication before sending.
body = {
    "image": {"data": image_b64},
    "identifier": {"type": "rdcpass_id", "value": "COD-2103-0214-4937"},
    "liveness": "passive",
    "threshold": 0.85,
    "reason": "Current account opening at Gombe branch, Kinshasa - applicant present at counter 3, ticket KIN-GOM-2026-004812",
    "purpose": "customer_onboarding",
    "reference": "cust-0001",
}

response = requests.post(
    "https://api.rdcpass.cd/v1/face/recognitions",
    headers={
        "X-RDCPASS-Key-Id": "key_live_8f2a1c0e9b",
        "X-RDCPASS-Timestamp": "1735689600",
        "X-RDCPASS-Nonce": "2d7e4b1a-9c3f-4a58-b6e2-7f0c1d9a3e55",
        "X-RDCPASS-IV": "q3Jx8mT2vLp9Wc1R",
        "X-RDCPASS-Signature": "8b4e1f...c93a",
        "Content-Type": "application/json",
    },
    json=body,
)

result = response.json()
if result["result"] == "match":
    print(result["similarity"], result["kyc"]["basic"]["full_name"])

Go

package main

import (
	"bytes"
	"encoding/base64"
	"encoding/json"
	"fmt"
	"net/http"
	"os"
)

func main() {
	image, err := os.ReadFile("selfie.jpg")
	if err != nil {
		panic(err)
	}

	// Plaintext body shown for readability - encrypt and sign it as described in /docs/authentication before sending.
	body, _ := json.Marshal(map[string]any{
		"image":      map[string]string{"data": base64.StdEncoding.EncodeToString(image)},
		"identifier": map[string]string{"type": "rdcpass_id", "value": "COD-2103-0214-4937"},
		"liveness":   "passive",
		"threshold":  0.85,
		"reason":     "Current account opening at Gombe branch, Kinshasa - applicant present at counter 3, ticket KIN-GOM-2026-004812",
		"purpose":    "customer_onboarding",
		"reference":  "cust-0001",
	})

	req, _ := http.NewRequest("POST", "https://api.rdcpass.cd/v1/face/recognitions", bytes.NewBuffer(body))
	req.Header.Set("X-RDCPASS-Key-Id", "key_live_8f2a1c0e9b")
	req.Header.Set("X-RDCPASS-Timestamp", "1735689600")
	req.Header.Set("X-RDCPASS-Nonce", "2d7e4b1a-9c3f-4a58-b6e2-7f0c1d9a3e55")
	req.Header.Set("X-RDCPASS-IV", "q3Jx8mT2vLp9Wc1R")
	req.Header.Set("X-RDCPASS-Signature", "8b4e1f...c93a")
	req.Header.Set("Content-Type", "application/json")

	resp, err := http.DefaultClient.Do(req)
	if err != nil {
		panic(err)
	}
	defer resp.Body.Close()

	var result struct {
		Result     string  `json:"result"`
		Similarity float64 `json:"similarity"`
	}
	if err := json.NewDecoder(resp.Body).Decode(&result); err != nil {
		panic(err)
	}
	fmt.Println(result.Result, result.Similarity) // match 0.96
}

Java

import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
import java.nio.file.Files;
import java.nio.file.Path;
import java.util.Base64;

public class VerifyFace {
    public static void main(String[] args) throws Exception {
        String imageB64 = Base64.getEncoder().encodeToString(Files.readAllBytes(Path.of("selfie.jpg")));

        // Plaintext body shown for readability - encrypt and sign it as described in /docs/authentication before sending.
        String body = """
            {
              "image": { "data": "%s" },
              "identifier": { "type": "rdcpass_id", "value": "COD-2103-0214-4937" },
              "liveness": "passive",
              "threshold": 0.85,
              "reason": "Current account opening at Gombe branch, Kinshasa - applicant present at counter 3, ticket KIN-GOM-2026-004812",
              "purpose": "customer_onboarding",
              "reference": "cust-0001"
            }""".formatted(imageB64);

        HttpRequest request = HttpRequest.newBuilder()
            .uri(URI.create("https://api.rdcpass.cd/v1/face/recognitions"))
            .header("X-RDCPASS-Key-Id", "key_live_8f2a1c0e9b")
            .header("X-RDCPASS-Timestamp", "1735689600")
            .header("X-RDCPASS-Nonce", "2d7e4b1a-9c3f-4a58-b6e2-7f0c1d9a3e55")
            .header("X-RDCPASS-IV", "q3Jx8mT2vLp9Wc1R")
            .header("X-RDCPASS-Signature", "8b4e1f...c93a")
            .header("Content-Type", "application/json")
            .POST(HttpRequest.BodyPublishers.ofString(body))
            .build();

        HttpResponse<String> response = HttpClient.newHttpClient()
            .send(request, HttpResponse.BodyHandlers.ofString());
        System.out.println(response.body());
    }
}

Rust

use base64::{engine::general_purpose::STANDARD, Engine as _};
use serde_json::json;

#[tokio::main]
async fn main() -> Result<(), Box<dyn std::error::Error>> {
    let image = std::fs::read("selfie.jpg")?;

    // Plaintext body shown for readability - encrypt and sign it as described in /docs/authentication before sending.
    let body = json!({
        "image": { "data": STANDARD.encode(&image) },
        "identifier": { "type": "rdcpass_id", "value": "COD-2103-0214-4937" },
        "liveness": "passive",
        "threshold": 0.85,
        "reason": "Current account opening at Gombe branch, Kinshasa - applicant present at counter 3, ticket KIN-GOM-2026-004812",
        "purpose": "customer_onboarding",
        "reference": "cust-0001"
    });

    let result: serde_json::Value = reqwest::Client::new()
        .post("https://api.rdcpass.cd/v1/face/recognitions")
        .header("X-RDCPASS-Key-Id", "key_live_8f2a1c0e9b")
        .header("X-RDCPASS-Timestamp", "1735689600")
        .header("X-RDCPASS-Nonce", "2d7e4b1a-9c3f-4a58-b6e2-7f0c1d9a3e55")
        .header("X-RDCPASS-IV", "q3Jx8mT2vLp9Wc1R")
        .header("X-RDCPASS-Signature", "8b4e1f...c93a")
        .json(&body)
        .send()
        .await?
        .json()
        .await?;

    println!("{} {}", result["result"], result["similarity"]);
    Ok(())
}

PHP

<?php

// Plaintext body shown for readability - encrypt and sign it as described in /docs/authentication before sending.
$body = json_encode([
    'image' => ['data' => base64_encode(file_get_contents('selfie.jpg'))],
    'identifier' => ['type' => 'rdcpass_id', 'value' => 'COD-2103-0214-4937'],
    'liveness' => 'passive',
    'threshold' => 0.85,
    'reason' => 'Current account opening at Gombe branch, Kinshasa - applicant present at counter 3, ticket KIN-GOM-2026-004812',
    'purpose' => 'customer_onboarding',
    'reference' => 'cust-0001',
]);

$ch = curl_init('https://api.rdcpass.cd/v1/face/recognitions');
curl_setopt_array($ch, [
    CURLOPT_POST => true,
    CURLOPT_POSTFIELDS => $body,
    CURLOPT_HTTPHEADER => [
        'X-RDCPASS-Key-Id: key_live_8f2a1c0e9b',
        'X-RDCPASS-Timestamp: 1735689600',
        'X-RDCPASS-Nonce: 2d7e4b1a-9c3f-4a58-b6e2-7f0c1d9a3e55',
        'X-RDCPASS-IV: q3Jx8mT2vLp9Wc1R',
        'X-RDCPASS-Signature: 8b4e1f...c93a',
        'Content-Type: application/json',
    ],
    CURLOPT_RETURNTRANSFER => true,
]);

$response = curl_exec($ch);
curl_close($ch);

$result = json_decode($response, true);
echo $result['result'] . ' ' . $result['similarity']; // match 0.96

C#

using System.Net.Http.Json;
using System.Text.Json;

var client = new HttpClient();
var imageB64 = Convert.ToBase64String(await File.ReadAllBytesAsync("selfie.jpg"));

// Plaintext body shown for readability - encrypt and sign it as described in /docs/authentication before sending.
var request = new HttpRequestMessage(HttpMethod.Post, "https://api.rdcpass.cd/v1/face/recognitions")
{
    Content = JsonContent.Create(new
    {
        image = new { data = imageB64 },
        identifier = new { type = "rdcpass_id", value = "COD-2103-0214-4937" },
        liveness = "passive",
        threshold = 0.85,
        reason = "Current account opening at Gombe branch, Kinshasa - applicant present at counter 3, ticket KIN-GOM-2026-004812",
        purpose = "customer_onboarding",
        reference = "cust-0001",
    }),
};
request.Headers.Add("X-RDCPASS-Key-Id", "key_live_8f2a1c0e9b");
request.Headers.Add("X-RDCPASS-Timestamp", "1735689600");
request.Headers.Add("X-RDCPASS-Nonce", "2d7e4b1a-9c3f-4a58-b6e2-7f0c1d9a3e55");
request.Headers.Add("X-RDCPASS-IV", "q3Jx8mT2vLp9Wc1R");
request.Headers.Add("X-RDCPASS-Signature", "8b4e1f...c93a");

var response = await client.SendAsync(request);
var result = await response.Content.ReadFromJsonAsync<JsonElement>();
var verdict = result.GetProperty("result").GetString();
var similarity = result.GetProperty("similarity").GetDouble();
Console.WriteLine($"{verdict} {similarity}"); // match 0.96

Contract to be confirmed by the API team.

FieldTypeRequiredDescription
imageobjectYesThe face to match: { "data": "<base64>" } or { "url": "https://…" }. JPEG/PNG, at least 480 × 640, one face.
identifierobjectFor 1:1The claimed identity, { "type", "value" } with type one of rdcpass_id, passport, ceni, driving_licence, national_id. Present ⇒ 1:1 verification; absent ⇒ 1:N identification.
livenessstring enumNopassive (default) or none. See Passive liveness.
thresholdnumberNoMinimum similarity for a match, from 0 to 1. Default 0.85.
reasonstringYesHuman-readable justification for this specific check. Stored and audited. Maximum 500 characters.
purposestring enumYesOne of the purposes declared for your application, e.g. customer_onboarding, transaction_authorization, fraud_prevention.
scopesstring[]NoSubset of your application’s granted scopes to return on a match. Defaults to all granted scopes.
document_deliverystring enumNosigned_url (default) or base64 for document images and biometric files. See Documents & biometrics.
referencestringNoYour own identifier for this check, echoed back in the response and webhooks.
Request body — 1:1 verification (plaintext, before encryption)
{
  "image": { "data": "/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAgGBgcGBQgHBwcJCQgKDBQNDAsLDBkSEw8U..." },
  "identifier": { "type": "rdcpass_id", "value": "COD-2103-0214-4937" },
  "liveness": "passive",
  "threshold": 0.85,
  "reason": "Current account opening at Gombe branch, Kinshasa - applicant present at counter 3, ticket KIN-GOM-2026-004812",
  "purpose": "customer_onboarding",
  "scopes": ["kyc.documents.primary", "kyc.addresses", "kyc.phone_numbers", "kyc.biometrics.selfie"],
  "document_delivery": "signed_url",
  "reference": "cust-0001"
}
Request body — 1:N identification (plaintext, before encryption)
{
  "image": { "url": "https://uploads.example.cd/kyc/selfies/7f3a1c9e.jpg" },
  "liveness": "passive",
  "threshold": 0.90,
  "reason": "Unconscious patient admitted to Hôpital du Cinquantenaire emergency ward without documents - identification requested by duty physician Dr. Mbuyi Ilunga Nsimba",
  "purpose": "regulatory_compliance",
  "reference": "adm-2026-09-26-0147"
}

Response body

A successful call returns 200 OK. A no_match or a not_found is a successful call, not an error.

FieldTypeDescription
idstringUnique identifier of the check, prefixed face_.
objectstringAlways face_recognition.
livemodebooleantrue in production, false in the test environment.
referencestring | nullThe reference you sent, or null.
statusstring enumAlways completed for synchronous calls. Async and batch items can be failed.
modestring enumverification (1:1) or identification (1:N).
resultstring enummatch, no_match or not_found.
similaritynumber | nullSimilarity score from 0 to 1. In 1:N identification, null on no_match so that no candidate is disclosed.
thresholdnumberThe threshold applied to this check.
livenessobject{ "checked", "passed", "score" } — the passive liveness outcome.
identifierobjectThe identifier you sent (1:1 only).
accountobjectMatch only. RDCPASS account: rdcpass_id, status, certified, created_at, level_of_assurance.
kycobjectMatch only. basic is always present; every other block depends on the scopes applied.
scopes_appliedstring[]Scopes whose data is included, always starting with kyc.basic on a match. Empty otherwise.
scopes_withheldstring[]Requested and granted scopes with no data on record for this person — omitted, not an error.
purposestringThe purpose you declared.
reasonstringThe reason you sent, exactly as recorded in the audit trail.
created_atstringWhen the check was performed (ISO 8601, UTC).
resultMeaningIdentity data returned
matchThe face matches a certified RDCPASS identity with similarity ≥ threshold (the claimed one in 1:1 mode).account, kyc.basic and every applied scope.
no_match1:1 — the face does not match the claimed identity. 1:N — no certified identity reaches the threshold.None.
not_found1:1 — the claimed identity has no certified RDCPASS account.None.

On a match, the KYC scope model applies unchanged

The kyc block is built exactly as for KYC Validation: basic KYC is always returned, and additional blocks (documents, addresses, phone numbers, biometrics…) only for scopes your organization subscribes to, your application has selected, and your request did not narrow away. Read KYC scopes & subscriptions for the full model.
200 OK — match (after decryption, every scope granted)
{
  "id": "face_3c9a7e1f52",
  "object": "face_recognition",
  "livemode": true,
  "reference": "cust-0001",
  "status": "completed",
  "mode": "verification",
  "result": "match",
  "similarity": 0.96,
  "threshold": 0.85,
  "liveness": { "checked": true, "passed": true, "score": 0.97 },
  "identifier": { "type": "rdcpass_id", "value": "COD-2103-0214-4937" },
  "account": {
    "rdcpass_id": "COD-2103-0214-4937",
    "status": "active",
    "certified": true,
    "created_at": "2025-03-14T09:22:41Z",
    "level_of_assurance": "LOA3"
  },
  "kyc": {
    "basic": {
      "full_name": "Kabeya Mwamba Tshisekedi",
      "first_name": "Kabeya",
      "last_name": "Tshisekedi",
      "date_of_birth": "1988-04-12",
      "age": 38,
      "gender": "male",
      "nationality": "COD"
    },
    "documents": {
      "primary": {
        "type": "passport",
        "number": "OB1234567",
        "issued_at": "2022-06-02",
        "expires_at": "2032-06-01",
        "issuing_authority": "Direction Générale de Migration",
        "status": "valid",
        "image": {
          "content_type": "image/jpeg",
          "url": "https://files.rdcpass.cd/d/9f2c41e7b0?sig=Kx82hQ",
          "expires_at": "2026-09-26T10:20:02Z"
        }
      },
      "others": [
        {
          "type": "ceni",
          "number": "1234567890123",
          "issued_at": "2023-02-17",
          "expires_at": null,
          "issuing_authority": "Commission Électorale Nationale Indépendante",
          "status": "valid",
          "image": {
            "content_type": "image/jpeg",
            "url": "https://files.rdcpass.cd/d/4b7d02a9c1?sig=Pm31tZ",
            "expires_at": "2026-09-26T10:20:02Z"
          }
        }
      ]
    },
    "addresses": [
      {
        "type": "residential",
        "province": "Kinshasa",
        "city": "Kinshasa",
        "commune": "Gombe",
        "quartier": "Golf",
        "avenue": "Avenue de la Justice",
        "number": "45",
        "is_primary": true,
        "verified_at": "2025-03-14T09:40:12Z"
      }
    ],
    "emails": [
      { "address": "kabeya.tshisekedi@example.cd", "is_primary": true, "verified": true }
    ],
    "phone_numbers": [
      { "number": "+243812345678", "operator": "Vodacom", "is_primary": true, "verified": true },
      { "number": "+243970112233", "operator": "Airtel", "is_primary": false, "verified": true }
    ],
    "professions": [
      { "title": "Ingénieur réseaux", "employer": "Société Nationale d'Électricité", "sector": "energy", "since": "2016-09-01" }
    ],
    "place_of_birth": { "country": "COD", "province": "Kasaï-Oriental", "city": "Mbuji-Mayi" },
    "marital_status": "married",
    "languages": ["fra", "lin", "lua"],
    "religion": "catholic",
    "ethnicity": "Luba",
    "parents": { "father_name": "Tshisekedi Kalonji Mbuyi", "mother_name": "Mujinga Ntumba Marie" },
    "biometrics": {
      "selfie": {
        "captured_at": "2025-03-14T09:31:55Z",
        "file": {
          "content_type": "image/jpeg",
          "url": "https://files.rdcpass.cd/d/c81e5f3a20?sig=Wq07vB",
          "expires_at": "2026-09-26T10:20:02Z"
        }
      },
      "fingerprints": [
        {
          "format": "ISO_19794_2",
          "finger": "right_index",
          "file": {
            "content_type": "application/octet-stream",
            "url": "https://files.rdcpass.cd/d/e2a9d7b614?sig=Hn55cR",
            "expires_at": "2026-09-26T10:20:02Z"
          }
        }
      ],
      "iris": [
        {
          "format": "ISO_19794_6",
          "eye": "left",
          "file": {
            "content_type": "application/octet-stream",
            "url": "https://files.rdcpass.cd/d/07f4b3c8e9?sig=Lt62xD",
            "expires_at": "2026-09-26T10:20:02Z"
          }
        }
      ]
    }
  },
  "scopes_applied": [
    "kyc.basic",
    "kyc.documents.primary",
    "kyc.documents.all",
    "kyc.addresses",
    "kyc.emails",
    "kyc.phone_numbers",
    "kyc.professions",
    "kyc.place_of_birth",
    "kyc.marital_status",
    "kyc.languages",
    "kyc.religion",
    "kyc.ethnicity",
    "kyc.parents",
    "kyc.biometrics.selfie",
    "kyc.biometrics.fingerprint",
    "kyc.biometrics.iris"
  ],
  "scopes_withheld": [],
  "purpose": "customer_onboarding",
  "reason": "Current account opening at Gombe branch, Kinshasa - applicant present at counter 3, ticket KIN-GOM-2026-004812",
  "created_at": "2026-09-26T10:15:02Z"
}
200 OK — no_match (after decryption)
{
  "id": "face_8e2b5d0a74",
  "object": "face_recognition",
  "livemode": true,
  "reference": "cust-0002",
  "status": "completed",
  "mode": "verification",
  "result": "no_match",
  "similarity": 0.41,
  "threshold": 0.85,
  "liveness": { "checked": true, "passed": true, "score": 0.95 },
  "identifier": { "type": "rdcpass_id", "value": "COD-1907-5521-0386" },
  "scopes_applied": [],
  "scopes_withheld": [],
  "purpose": "customer_onboarding",
  "reason": "Mobile money wallet upgrade to tier 2 - selfie captured in app, session KIN-APP-88213",
  "created_at": "2026-09-26T10:16:40Z"
}

Request modes

Face Recognition supports all four request modes. Add Prefer: respond-async to run asynchronously and Idempotency-Key to retry safely. Details in Single, batch & async.

Synchronous (default)Asynchronous (Prefer: respond-async)
Single — POST /v1/face/recognitions200 with the result.202 with a job; result via the face_recognition.completed webhook or GET /v1/jobs/{job_id}.
Batch — POST /v1/face/recognitions/batches200 with all results, up to 50 items.202 with a batch, up to 10,000 items; results via webhook or GET /v1/batches/{batch_id}/results.
  • Batch and background checks — Verify one person at the counter, or send up to 10,000 faces in one request and get notified when the batch is done.

Batch example

Each item carries its own image, optional identifier and required reference. Batch-level purpose, reason, liveness and scopes apply to every item unless an item overrides them — an item-level reason is recommended whenever the justification differs per person. Prefer image.url in batches to keep payloads small. A failed item (for example no face in the image) does not fail the batch.

Synchronous batch (up to 50 items)
curl https://api.rdcpass.cd/v1/face/recognitions/batches \
  -X POST \
  -H "X-RDCPASS-Key-Id: key_live_8f2a1c0e9b" \
  -H "X-RDCPASS-Timestamp: 1735689600" \
  -H "X-RDCPASS-Nonce: 2d7e4b1a-9c3f-4a58-b6e2-7f0c1d9a3e55" \
  -H "X-RDCPASS-IV: q3Jx8mT2vLp9Wc1R" \
  -H "X-RDCPASS-Signature: 8b4e1f...c93a" \
  -H "Idempotency-Key: 5b0e8c2a-71d4-4f93-a6b1-3e9d0c7f2a18" \
  -H "Content-Type: application/json" \
  --data-binary @batch.json   # Plaintext body shown for readability - encrypt and sign it as described in /docs/authentication before sending.
batch.json (plaintext, before encryption)
{
  "purpose": "fraud_prevention",
  "reason": "Quarterly re-verification of registered mobile money agents in Lubumbashi, compliance programme AGT-2026-Q3",
  "liveness": "passive",
  "items": [
    {
      "reference": "agent-LUB-0412",
      "image": { "url": "https://uploads.example.cd/agents/LUB-0412.jpg" },
      "identifier": { "type": "rdcpass_id", "value": "COD-2103-0214-4937" }
    },
    {
      "reference": "agent-LUB-0413",
      "image": { "url": "https://uploads.example.cd/agents/LUB-0413.jpg" },
      "identifier": { "type": "rdcpass_id", "value": "COD-1907-5521-0386" }
    },
    {
      "reference": "agent-LUB-0414",
      "image": { "url": "https://uploads.example.cd/agents/LUB-0414.jpg" },
      "identifier": { "type": "ceni", "value": "1234567890123" }
    }
  ]
}
200 OK (after decryption, abridged)
{
  "object": "list",
  "data": [
    {
      "reference": "agent-LUB-0412",
      "status": "succeeded",
      "result": {
        "id": "face_1a7c3e9b20",
        "object": "face_recognition",
        "mode": "verification",
        "result": "match",
        "similarity": 0.94,
        "liveness": { "checked": true, "passed": true, "score": 0.96 },
        "account": { "rdcpass_id": "COD-2103-0214-4937", "status": "active", "certified": true, "...": "..." },
        "kyc": { "basic": { "full_name": "Kabeya Mwamba Tshisekedi", "...": "..." } },
        "scopes_applied": ["kyc.basic"],
        "scopes_withheld": []
      }
    },
    {
      "reference": "agent-LUB-0413",
      "status": "succeeded",
      "result": {
        "id": "face_6d2f8a4c11",
        "object": "face_recognition",
        "mode": "verification",
        "result": "no_match",
        "similarity": 0.38,
        "liveness": { "checked": true, "passed": true, "score": 0.93 },
        "scopes_applied": [],
        "scopes_withheld": []
      }
    },
    {
      "reference": "agent-LUB-0414",
      "status": "failed",
      "error": {
        "code": "multiple_faces",
        "message": "The image contains 2 faces. Submit an image with exactly one face."
      }
    }
  ],
  "next_cursor": null
}

Asynchronous example

Send the same body with Prefer: respond-async. RDCPASS answers immediately with 202 Accepted and a job; when the check completes, the face_recognition.completed event is delivered to your application’s webhook URL with the full result embedded. You can also poll GET /v1/jobs/{job_id}. Asynchronous batches return a batch object and emit batch.completed or batch.completed_with_errors. See Webhooks for signature verification.

202 Accepted
HTTP/1.1 202 Accepted
Content-Type: application/json

{
  "id": "job_9e4c2a7b1d",
  "object": "job",
  "service": "face_recognition",
  "status": "pending",
  "created_at": "2026-09-26T10:15:00Z",
  "result_url": "/v1/jobs/job_9e4c2a7b1d"
}
Webhook event face_recognition.completed (abridged)
{
  "id": "evt_4d8b1e6f2a9c7035",
  "type": "face_recognition.completed",
  "created_at": "2026-09-26T10:15:04Z",
  "environment": "production",
  "application_id": "app_5d20e8a1c4",
  "data": {
    "object": {
      "id": "job_9e4c2a7b1d",
      "object": "job",
      "service": "face_recognition",
      "status": "completed",
      "created_at": "2026-09-26T10:15:00Z",
      "result_url": "/v1/jobs/job_9e4c2a7b1d",
      "result": {
        "id": "face_3c9a7e1f52",
        "object": "face_recognition",
        "reference": "cust-0001",
        "status": "completed",
        "mode": "verification",
        "result": "match",
        "similarity": 0.96,
        "liveness": {
          "checked": true,
          "passed": true,
          "score": 0.97
        },
        "account": {
          "rdcpass_id": "COD-2103-0214-4937",
          "...": "..."
        },
        "kyc": {
          "basic": {
            "...": "..."
          }
        },
        "scopes_applied": [
          "kyc.basic",
          "kyc.documents.primary"
        ],
        "scopes_withheld": []
      }
    }
  }
}

Production requirements

Face Recognition requires enhanced due diligence

Test access is immediate, but production keys for an application with Face Recognition enabled are issued only after RDCPASS approves an enhanced due-diligence dossier. Typical review time is 10 to 20 business days.

In addition to the standard business and application due diligence, your compliance officer must provide:

  • A documented reason policy — the exhaustive list of situations in which your staff or systems trigger a face check, who may trigger it, the reason format they use, and whether 1:N identification is needed at all. Production reason values are audited against this policy.
  • A data-protection impact assessment (DPIA) covering the capture, transmission, retention and deletion of face images and of any biometric data returned.
  • Biometric-tier controls — the same rules as the kyc.biometrics.* scopes: legal basis, a named data-protection officer, a penetration-test report, encryption at rest, and a retention policy under which submitted images are deleted once the check is complete.
  • An on-site or video audit of the capture process (kiosk, branch or app), including how the citizen is informed before their face is captured.
  • Liveness justification for any flow that sets liveness to none.

The full process, statuses and document checklist are described in Going to production.

Production access requires enhanced due diligence, including a documented reason policy and a data-protection impact assessment.

What does it take to go live?

You can use the test environment straight away. Production requires enhanced due diligence: a documented reason policy, a data-protection impact assessment and a review of how you capture faces.

Pricing

Billed per recognition.

Basic KYC is included with every match. On a match, each additional scope that returns data adds a small surcharge. Batch items are billed at a lower rate and background checks cost the same as instant ones. Requests rejected with an error are never billed, and the test environment is always free.

Where it’s used

Insurance

  • Remote subscription with a face match
  • Beneficiary check before each payout
  • Beneficiary verification before payout — Before a claim payment is released, confirm the beneficiary’s identity and match their face. The money goes to the person the policy names.
  • Face Recognition — Shows that the person subscribing or claiming is the identity holder.

How do we make sure a payout reaches the real beneficiary?

Before paying, ask the beneficiary to verify with their identifier and a selfie. Release the funds only once the identity is confirmed and the face matches.

Telecommunications

When someone asks for a SIM swap, a selfie is compared with the line holder’s identity before the new card is issued.

  • Face check before a SIM swap
  • SIM-swap and port-out protection — Before a SIM is replaced or ported, the agent takes a selfie and RDCPASS compares it with the identity on record. If the face does not match the line holder, the number stays where it is.
  • Face Recognition — Confirms that the person at the counter or in the app is the line holder.

How does RDCPASS help stop SIM-swap fraud?

Before a SIM is replaced or ported, Face Recognition compares a live selfie with the certified identity of the line holder. If they do not match, you refuse the swap. The attempt can then be reported through Fraud Reporting.

Face checks include liveness detection, and every comparison is logged with an audited reason.

Transportation & mobility

RDCPASS lets you check the driver’s identity against the national register and compare a selfie with their registered photo before the first trip.

  • Driver and courier onboarding with a face match
  • Right person behind the wheel — Ask for a short selfie when a driver or courier starts a shift and match it to the verified identity. A lent or resold account fails the check.
  • Face Recognition — Checks at onboarding and at every shift that the person working is the verified account holder.

How do we stop drivers lending their accounts?

Ask for a selfie at the start of each shift or before a trip. Face Recognition compares it with the verified identity, and only the account holder can go online.

Real estate

  • Face Recognition — Shows that the person signing is the identity holder, even when the deal is done remotely.

Employment & HR

  • Ghost employees removed from payroll
  • Payroll identity verification — Re-check your whole workforce in batches of up to 10,000 records. Asking employees for a selfie as well ties each salary to a real person who is actually there.
  • Face Recognition — Shows that the person you hire or pay is the holder of the identity.

How do we find ghost employees?

Submit your payroll in batches of up to 10,000 records. Any record that does not match a certified identity is flagged, and you can ask the employee concerned to confirm with a selfie.

A face check always carries a stated reason and is audited. None runs without a recorded purpose.

Health & medical

  • Face match at admission and when a claim is made
  • Insurance eligibility at the point of care — Before care is authorised or a claim goes in, a selfie confirms that the person at reception is the insured member.
  • Face Recognition — Shows that the person receiving care or making a claim holds the identity.

Every face check declares its purpose and is logged, so auditors can see why each patient was verified.

Education

A student is enrolled under one identity, and the candidate in the exam hall is the one who registered.

Grants go to the person they were awarded to.

  • Face match for exam candidates
  • Scholarships paid to the intended recipient
  • Exam candidate checks — At the exam hall, or before an online exam starts, a live face match confirms that the candidate is the registered student.
  • Face Recognition — Shows that the person sitting the exam or collecting a grant holds the identity.

Does the face check work for online exams?

Yes. The candidate takes a selfie in your exam platform and RDCPASS matches it to their certified identity. The liveness check rejects printed photos and images replayed on a screen.

Every face check declares its purpose and is logged, so exam bodies and funders have a full audit trail.

International institutions & NGOs

  • Verified cash transfers and distributions — At the distribution point, or inside the mobile-money flow, a live face match confirms that the person collecting is the registered beneficiary.
  • Face Recognition — Shows that the person collecting support is the registered beneficiary.
  • Face identification where no ID is presented — Where a beneficiary cannot present an identifier, 1:N face identification can find their certified identity. It is reserved for justified cases and requires enhanced due diligence.

What about beneficiaries who have no document with them?

In justified cases, 1:N face identification can find a person’s certified identity from a live photo. It requires enhanced due diligence, and every request must state a reason, which is audited.

Every face check declares its purpose and is logged, so donors and auditors can see a record of each verification.

1:N face identification requires enhanced due diligence and is reserved for cases where no identifier is available.

Government & public services

  • Benefits paid to verified recipients
  • Social benefit distribution — Check each recipient against the national identity so nobody is registered twice. At collection, a selfie confirms that the person in front of the agent is the recipient.
  • Face Recognition — Shows that the person receiving a benefit or service holds the identity.

Possible results

matchFace matchBilled in production
The face matches the identity on record.
no_matchNo face matchBilled in production
The face does not match the identity on record.
liveness_failedLiveness check failedNot billed
The image fails the liveness check. Ask for a new capture.
multiple_facesSeveral faces detectedNot billed
Send an image with a single face.
not_foundNot foundBase price
No identity matches. It is an answer, counted at the base price.
invalid_identifierMalformed identifierNot billed
The identifier must follow the COD-XXXX-XXXX-XXXX format.

Expected result, in test

COD-0000-0000-0001 + image matchmatch
Image no_matchno_match
Image two_facesmultiple_faces
Image liveness_failureliveness_failed
COD-0000-0000-0404not_found

All result codes

Next steps

Esc