Skip to content
RDCpassRDCpassMinistère de l’Économie NumériqueMinistère de l’Économie Numérique
RiskCredit Scoring

Score applicants who have no bank credit history

Credit Scoring builds a score from a citizen’s payment history in mobile money, telecom, banking and utilities, linked to their certified RDCPASS identity, and checks it against AML/CTF Screening and the national fraud network. The citizen approves every request.

Credit score scale, from 300 to 850, in five bands from E to A. The example response gives 712, band B, probability of default 0.034.

Why businesses choose Credit Scoring

  • Lend to people banks cannot score

    An applicant with no bank credit history can still be assessed on how they pay for mobile money, airtime and utilities.

  • Answer while the applicant is still there

    The score, risk band and probability of default come back while they are in your app or at your counter.

  • Explain every decision

    Each score lists the factors behind it. A loan officer can tell an applicant why they were turned down and what would help next time.

How it works

  1. The citizen approves your request

  2. You request a score

  3. We build the score

  4. You receive the result

Read the step-by-step flow

What you receive

For every request the citizen has consented to, RDCPASS returns:

credit_score
{  "score": 712,  "band": "B",  "probability_of_default": 0.034,  "factors": [    {      "code": "payment_history",      "impact": "positive",      "weight": 0.35,      "description": "Mobile credit and loan instalments repaid on time over the last 24 months."    },    {      "code": "credit_utilization",      "impact": "negative",      "weight": 0.15,      "description": "Outstanding balances use 68 % of available credit lines."    },    …  ],  "data_sources": [    "mobile_money",    "telecom",    "banking",    "utilities"  ],  "risk_signals": {    "aml": {      "risk_level": "low",      "sanctions_hit": false,      "pep": false    },    "fraud": {      "confirmed_cases_as_suspect": 0,      "identity_fraud_victim": false,      "last_confirmed_on": null    }  },  "valid_until": "2026-10-26T10:15:02Z",  "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"    }  },  …}

Contract to be confirmed by the API team.

Reference example
  1. A credit score and its risk band, from A to E
  2. The probability of default over the next 12 months
  3. The factors that most influenced the score, each marked positive or negative
  4. The data sources the score was built from
  5. AML and fraud-network risk signals: risk level, sanctions and PEP status, confirmed fraud cases and identity-fraud alerts
  6. How long you may rely on the score, and the citizen’s basic KYC

In the console

A test score in the console log.

Metadata panel of a Credit Scoring test request in the console: request ID, time, application, service, mode, purpose, result, masked test identity, applied and withheld scopes.Metadata panel of a Credit Scoring test request in the console: request ID, time, application, service, mode, purpose, result, masked test identity, applied and withheld scopes.Metadata panel of a Credit Scoring test request in the console: request ID, time, application, service, mode, purpose, result, masked test identity, applied and withheld scopes.

One integration for test and production

Read the request, response and errors

cURL

# Plaintext body shown — it is AES-256-GCM encrypted (IV in X-RDCPASS-IV) and signed per /docs/authentication before sending.
curl https://api.rdcpass.cd/v1/credit/scores \
  -X POST \
  -H "X-RDCPASS-Key-Id: key_live_8f2a1c0e9b" \
  -H "X-RDCPASS-Timestamp: 1735689600" \
  -H "X-RDCPASS-Nonce: 2d7b4e91-6c3a-4f08-b5e2-8a1f0c9d3e67" \
  -H "X-RDCPASS-Signature: 8c1d4f...b62e" \
  -H "X-RDCPASS-IV: mX4p9Qz2Lr8sT1vB" \
  -H "Idempotency-Key: e4a9c2f7-1b3d-4e6a-9f05-7c2b8d1e0a53" \
  -H "Content-Type: application/json" \
  -d '{
    "identifier": { "type": "rdcpass_id", "value": "COD-2103-0214-4937" },
    "consent": { "method": "rdcpass_app", "consent_id": "cns_5e8a2d71c4" },
    "purpose": "credit_assessment",
    "product": "microcredit",
    "amount_requested": { "value": 1500000, "currency": "CDF" },
    "reference": "loan-2026-0917"
  }'

Node.js

// Plaintext body shown — it is AES-256-GCM encrypted (IV in X-RDCPASS-IV) and signed per /docs/authentication before sending.
const res = await fetch('https://api.rdcpass.cd/v1/credit/scores', {
  method: 'POST',
  headers: {
    'X-RDCPASS-Key-Id': 'key_live_8f2a1c0e9b',
    'X-RDCPASS-Timestamp': '1735689600',
    'X-RDCPASS-Nonce': '2d7b4e91-6c3a-4f08-b5e2-8a1f0c9d3e67',
    'X-RDCPASS-Signature': '8c1d4f...b62e',
    'X-RDCPASS-IV': 'mX4p9Qz2Lr8sT1vB',
    'Idempotency-Key': 'e4a9c2f7-1b3d-4e6a-9f05-7c2b8d1e0a53',
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    identifier: { type: 'rdcpass_id', value: 'COD-2103-0214-4937' },
    consent: { method: 'rdcpass_app', consent_id: 'cns_5e8a2d71c4' },
    purpose: 'credit_assessment',
    product: 'microcredit',
    amount_requested: { value: 1500000, currency: 'CDF' },
    reference: 'loan-2026-0917',
  }),
})

const creditScore = await res.json()
if (res.status === 403 && creditScore.error === 'consent_missing') {
  // Ask the citizen to approve a new consent request in the RDCPASS app.
} else {
  console.log(creditScore.score, creditScore.band) // 712 "B"
}

Python

import requests

# Plaintext body shown — it is AES-256-GCM encrypted (IV in X-RDCPASS-IV) and signed per /docs/authentication before sending.
response = requests.post(
    "https://api.rdcpass.cd/v1/credit/scores",
    headers={
        "X-RDCPASS-Key-Id": "key_live_8f2a1c0e9b",
        "X-RDCPASS-Timestamp": "1735689600",
        "X-RDCPASS-Nonce": "2d7b4e91-6c3a-4f08-b5e2-8a1f0c9d3e67",
        "X-RDCPASS-Signature": "8c1d4f...b62e",
        "X-RDCPASS-IV": "mX4p9Qz2Lr8sT1vB",
        "Idempotency-Key": "e4a9c2f7-1b3d-4e6a-9f05-7c2b8d1e0a53",
        "Content-Type": "application/json",
    },
    json={
        "identifier": {"type": "rdcpass_id", "value": "COD-2103-0214-4937"},
        "consent": {"method": "rdcpass_app", "consent_id": "cns_5e8a2d71c4"},
        "purpose": "credit_assessment",
        "product": "microcredit",
        "amount_requested": {"value": 1500000, "currency": "CDF"},
        "reference": "loan-2026-0917",
    },
)

credit_score = response.json()
if response.status_code == 403 and credit_score.get("error") == "consent_missing":
    pass  # Ask the citizen to approve a new consent request in the RDCPASS app.
else:
    print(credit_score["score"], credit_score["band"])  # 712 B

Go

package main

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

func main() {
	// Plaintext body shown — it is AES-256-GCM encrypted (IV in X-RDCPASS-IV) and signed per /docs/authentication before sending.
	body, _ := json.Marshal(map[string]any{
		"identifier":       map[string]string{"type": "rdcpass_id", "value": "COD-2103-0214-4937"},
		"consent":          map[string]string{"method": "rdcpass_app", "consent_id": "cns_5e8a2d71c4"},
		"purpose":          "credit_assessment",
		"product":          "microcredit",
		"amount_requested": map[string]any{"value": 1500000, "currency": "CDF"},
		"reference":        "loan-2026-0917",
	})

	req, _ := http.NewRequest("POST", "https://api.rdcpass.cd/v1/credit/scores", 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", "2d7b4e91-6c3a-4f08-b5e2-8a1f0c9d3e67")
	req.Header.Set("X-RDCPASS-Signature", "8c1d4f...b62e")
	req.Header.Set("X-RDCPASS-IV", "mX4p9Qz2Lr8sT1vB")
	req.Header.Set("Idempotency-Key", "e4a9c2f7-1b3d-4e6a-9f05-7c2b8d1e0a53")
	req.Header.Set("Content-Type", "application/json")

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

	var creditScore struct {
		Score                int     `json:"score"`
		Band                 string  `json:"band"`
		ProbabilityOfDefault float64 `json:"probability_of_default"`
		Error                string  `json:"error"`
	}
	if err := json.NewDecoder(resp.Body).Decode(&creditScore); err != nil {
		panic(err)
	}
	if creditScore.Error == "consent_missing" {
		fmt.Println("ask the citizen for a new consent in the RDCPASS app")
		return
	}
	fmt.Println(creditScore.Score, creditScore.Band) // 712 B
}

Java

import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;

public class CreditScore {
    public static void main(String[] args) throws Exception {
        var client = HttpClient.newHttpClient();

        // Plaintext body shown — it is AES-256-GCM encrypted (IV in X-RDCPASS-IV) and signed per /docs/authentication before sending.
        var body = """
            {
              "identifier": { "type": "rdcpass_id", "value": "COD-2103-0214-4937" },
              "consent": { "method": "rdcpass_app", "consent_id": "cns_5e8a2d71c4" },
              "purpose": "credit_assessment",
              "product": "microcredit",
              "amount_requested": { "value": 1500000, "currency": "CDF" },
              "reference": "loan-2026-0917"
            }""";

        var request = HttpRequest.newBuilder()
            .uri(URI.create("https://api.rdcpass.cd/v1/credit/scores"))
            .header("X-RDCPASS-Key-Id", "key_live_8f2a1c0e9b")
            .header("X-RDCPASS-Timestamp", "1735689600")
            .header("X-RDCPASS-Nonce", "2d7b4e91-6c3a-4f08-b5e2-8a1f0c9d3e67")
            .header("X-RDCPASS-Signature", "8c1d4f...b62e")
            .header("X-RDCPASS-IV", "mX4p9Qz2Lr8sT1vB")
            .header("Idempotency-Key", "e4a9c2f7-1b3d-4e6a-9f05-7c2b8d1e0a53")
            .header("Content-Type", "application/json")
            .POST(HttpRequest.BodyPublishers.ofString(body))
            .build();

        var response = client.send(request, HttpResponse.BodyHandlers.ofString());
        if (response.statusCode() == 403) {
            // consent_missing: ask the citizen to approve a new consent in the RDCPASS app.
            System.err.println(response.body());
            return;
        }
        System.out.println(response.body());
    }
}

Rust

use serde_json::json;

#[tokio::main]
async fn main() -> Result<(), reqwest::Error> {
    let client = reqwest::Client::new();

    // Plaintext body shown — it is AES-256-GCM encrypted (IV in X-RDCPASS-IV) and signed per /docs/authentication before sending.
    let response = client
        .post("https://api.rdcpass.cd/v1/credit/scores")
        .header("X-RDCPASS-Key-Id", "key_live_8f2a1c0e9b")
        .header("X-RDCPASS-Timestamp", "1735689600")
        .header("X-RDCPASS-Nonce", "2d7b4e91-6c3a-4f08-b5e2-8a1f0c9d3e67")
        .header("X-RDCPASS-Signature", "8c1d4f...b62e")
        .header("X-RDCPASS-IV", "mX4p9Qz2Lr8sT1vB")
        .header("Idempotency-Key", "e4a9c2f7-1b3d-4e6a-9f05-7c2b8d1e0a53")
        .json(&json!({
            "identifier": { "type": "rdcpass_id", "value": "COD-2103-0214-4937" },
            "consent": { "method": "rdcpass_app", "consent_id": "cns_5e8a2d71c4" },
            "purpose": "credit_assessment",
            "product": "microcredit",
            "amount_requested": { "value": 1500000, "currency": "CDF" },
            "reference": "loan-2026-0917"
        }))
        .send()
        .await?;

    let status = response.status();
    let credit_score: serde_json::Value = response.json().await?;
    if status == reqwest::StatusCode::FORBIDDEN && credit_score["error"] == "consent_missing" {
        eprintln!("ask the citizen for a new consent in the RDCPASS app");
    } else {
        println!("{} {}", credit_score["score"], credit_score["band"]);
    }

    Ok(())
}

PHP

<?php

// Plaintext body shown — it is AES-256-GCM encrypted (IV in X-RDCPASS-IV) and signed per /docs/authentication before sending.
$body = json_encode([
    'identifier' => ['type' => 'rdcpass_id', 'value' => 'COD-2103-0214-4937'],
    'consent' => ['method' => 'rdcpass_app', 'consent_id' => 'cns_5e8a2d71c4'],
    'purpose' => 'credit_assessment',
    'product' => 'microcredit',
    'amount_requested' => ['value' => 1500000, 'currency' => 'CDF'],
    'reference' => 'loan-2026-0917',
]);

$ch = curl_init('https://api.rdcpass.cd/v1/credit/scores');
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: 2d7b4e91-6c3a-4f08-b5e2-8a1f0c9d3e67',
        'X-RDCPASS-Signature: 8c1d4f...b62e',
        'X-RDCPASS-IV: mX4p9Qz2Lr8sT1vB',
        'Idempotency-Key: e4a9c2f7-1b3d-4e6a-9f05-7c2b8d1e0a53',
        'Content-Type: application/json',
    ],
    CURLOPT_RETURNTRANSFER => true,
]);

$response = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
curl_close($ch);

$creditScore = json_decode($response, true);
if ($status === 403 && ($creditScore['error'] ?? null) === 'consent_missing') {
    // Ask the citizen to approve a new consent request in the RDCPASS app.
} else {
    echo $creditScore['score'] . ' ' . $creditScore['band']; // 712 B
}

C#

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

var client = new HttpClient();

// Plaintext body shown — it is AES-256-GCM encrypted (IV in X-RDCPASS-IV) and signed per /docs/authentication before sending.
var request = new HttpRequestMessage(HttpMethod.Post, "https://api.rdcpass.cd/v1/credit/scores")
{
    Content = JsonContent.Create(new
    {
        identifier = new { type = "rdcpass_id", value = "COD-2103-0214-4937" },
        consent = new { method = "rdcpass_app", consent_id = "cns_5e8a2d71c4" },
        purpose = "credit_assessment",
        product = "microcredit",
        amount_requested = new { value = 1500000, currency = "CDF" },
        reference = "loan-2026-0917",
    }),
};
request.Headers.Add("X-RDCPASS-Key-Id", "key_live_8f2a1c0e9b");
request.Headers.Add("X-RDCPASS-Timestamp", "1735689600");
request.Headers.Add("X-RDCPASS-Nonce", "2d7b4e91-6c3a-4f08-b5e2-8a1f0c9d3e67");
request.Headers.Add("X-RDCPASS-Signature", "8c1d4f...b62e");
request.Headers.Add("X-RDCPASS-IV", "mX4p9Qz2Lr8sT1vB");
request.Headers.Add("Idempotency-Key", "e4a9c2f7-1b3d-4e6a-9f05-7c2b8d1e0a53");

var response = await client.SendAsync(request);
var creditScore = await response.Content.ReadFromJsonAsync<JsonElement>();
if (response.StatusCode == HttpStatusCode.Forbidden)
{
    // consent_missing: ask the citizen to approve a new consent in the RDCPASS app.
    Console.WriteLine(creditScore.GetProperty("error").GetString());
}
else
{
    var score = creditScore.GetProperty("score").GetInt32();
    var band = creditScore.GetProperty("band").GetString();
    Console.WriteLine(score + " " + band); // 712 B
}

Contract to be confirmed by the API team.

Trust & privacy

  1. No citizen is scored without their explicit approval, and they can revoke it at any time from the RDCPASS app.

  2. Only basic KYC is returned. No addresses, documents or other personal data.

  • mTLS
  • HMAC-SHA256
  • AES-256-GCM
  • Audit log
Read the consent rules

Where it’s used

Pricing

Billed per score.

See full pricing

Start using Credit Scoring