South Africa Driving License Verification API (2026 Guide)
Didit's Database Validation API checks South African identity data against the authoritative source named for that service. The current Database Validation service catalog names the available South African services, their.

Contents
In this guide
Jump to the part you need.
Didit's Database Validation API is the documented route for checking South African identity data against an authoritative source without a document. It fits mobility, delivery, lending and iGaming onboarding that need a source check rather than a photographed form. Database Validation is priced per service, so the South Africa rate comes from the current per-service pricing table; a full ID check is $0.33. A data match says nothing about a physical card; add ID Verification for document authenticity.
Last updated: November 26, 2026. Prices checked against the live Didit price feed on November 26, 2026.
| Item | Detail |
|---|---|
| Endpoint | POST https://verification.didit.me/v3/database-validation/ |
| Issuing state | ZAF (ISO 3166-1 alpha-3) |
| Service selection | Named in the current Database Validation service catalog. Confirm the South Africa service before enabling it. |
| Authentication | x-api-key header |
| Price | Variable per service; check the current per-service pricing table. |
| Latency | Didit publishes sub-2-second p99 inference across the platform; no per-service latency is published. |
| Result | match_type plus per-field matches and warnings |
| Assurance tier | data_match, meaning the submitted details matched a record held by the source |
| Free testing | Sandbox is free on every plan |
Start free in the sandbox at business.didit.me (no sales call). For developers, connect Didit to an AI assistant through the MCP server. The technical reference is the Database Validation overview, and every published rate is on the pricing page.
What this check proves and what it does not
Database Validation verifies identity data against the authoritative source for that country. The source is not generic: the docs name it per service, because provenance changes what the match proves, which consent regime applies and what you can tell a regulator. For a South African service, read the Source queried entry in the catalog before you enable it. Do not assume a register from the product name.
The result carries data_match: the details the user gave matched a record the source holds. No document was inspected, so nothing about a physical card's authenticity is claimed. If your policy needs documentary assurance, run ID Verification at $0.15 per check alongside the lookup, or run both in one workflow.
The documented South African example in our docs is the non-document ID lookup. It checks a national ID against the Department of Home Affairs register and, because that register returns a portrait, runs a selfie plus passive liveness and face match inside the lookup price. A driving-licence service, if your catalog lists one, is a separate Database Validation service with its own source, fields and per-service price. The docs do not document a driving-licence service identifier or field list, so we do not print one here.

Prerequisites
- A Didit account and an API key from the Business Console. Sandbox keys and live keys are separate, and the sandbox is free on every plan.
- The South Africa service entry from the current Database Validation service catalog: its id, source, required fields, consent flag and rate. If no driving-licence service is listed for South Africa, use document capture at $0.15 or the non-document lookup where the catalog lists it.
- Consent to query the data, captured in your own flow. Services flagged
requires_consent=truein the service catalog reject a request withoutconsent=trueand return HTTP 400. - A server that can make an outbound HTTPS request. No SDK is required for the standalone call.
- Prepaid credit if you are calling the live endpoint. The Free plan includes $10 of monthly credit for eligible organizations, and paid plans discount every Didit price.
Step by step: call the Database Validation API for South Africa
- Create the API key. Sign in to business.didit.me, open the API keys section and copy a key. Start in the sandbox so a test loop costs nothing.
- Confirm the service in the catalog. Open the per-service pricing table and the service catalog entry. Note the service id, the source it queries, the fields it asks for, whether it requires consent and the rate. This is the step that prevents a wrong assumption about a driving-licence service.
- Collect only the fields the catalog names. The identifier is always required; the docs say the user usually types a name and sometimes a date of birth or an address. Do not add fields the service does not ask for.
- Send the request. One multipart POST to the database validation endpoint, with
issuing_state=ZAF. Omitservicesto run the country default, or addserviceswith the catalog id to pin the service you want. - Read
match_typefirst. It isfull_match,partial_matchorno_match, and it is the field your routing logic should branch on before anything else. - Read the per-field block and the warnings. Each entry in
validations[]names the service, its status, which fields matched and the record details the source returned. Thewarnings[]array carries risk codes such asDATABASE_VALIDATION_NO_MATCHandDATABASE_VALIDATION_PARTIAL_MATCH. - Apply your policy. Didit returns the result; the workflow actions are configurable. A common example policy is to approve
full_match, sendpartial_matchto review and treatno_matchas a synthetic-identity signal. Recordrequest_idandvendor_dataso the lookup is auditable later.
curl -X POST 'https://verification.didit.me/v3/database-validation/' -H "x-api-key: $DIDIT_API_KEY" -F "issuing_state=ZAF" -F "identification_number=YOUR_ID_NUMBER" -F "first_name=Jane" -F "last_name=Doe" -F "date_of_birth=1990-01-15" -F "vendor_data=user-1234"
That call uses the documented request fields. Every value is a placeholder: the identifier is not a real number. The values above are illustrative, not a test result. identification_number is the universal identity field, and Didit maps it to the country's identifier from issuing_state. If the catalog service requires extra fields, add them with the exact names the catalog shows. A missing required field returns HTTP 400 naming it.
Inputs and outputs
| Field | Type | Required | Notes |
|---|---|---|---|
issuing_state | string | Yes | ISO 3166-1 alpha-3 country code. Use ZAF. |
identification_number | string | Yes | The national identifier. This is the universal field name the docs specify. |
services | string or array | No | Omit to run the country default. Pass the catalog id, or several ids, to pin services. Several services can produce several usage events. |
first_name | string | Per service | The docs show it in the request example. The catalog names whether the service requires it. |
last_name | string | Per service | The docs show it in the request example. The catalog names whether the service requires it. |
date_of_birth | string | Per service | Format YYYY-MM-DD when the catalog asks for it. |
consent | boolean | Conditional | Required with true when the service is flagged requires_consent. |
vendor_data | string | No | Your stable identifier, echoed back for reconciliation. |
| Field | What it carries | Action |
|---|---|---|
request_id | Identifier for this lookup | Record it with the decision for audit |
match_type | full_match, partial_match or no_match | Branch here first |
services_used | Which services ran | Confirms the service you selected actually ran |
match_score | Aggregated score for the lookup | Use as a secondary signal, not the primary verdict |
validations[] | One entry per service: service, status, matched_fields, record_details | Field-level routing and reviewer context |
warnings[] | Risk codes such as DATABASE_VALIDATION_NO_MATCH | Map to your approve, review, reject logic |
Expected output
A conclusive lookup returns the documented envelope. Field names and the record details returned depend on the service, so read the canonical schema at /reference/data-models before you parse.
{
"request_id": "3f0a1c2e-8b41-4f1d-9d2a-6c4b6f3b8a11",
"database_validation": {
"match_type": "full_match",
"services_used": [""],
"match_score": 1.0,
"validations": [
{
"service": "",
"status": "Approved",
"matched_fields": ["identification_number", "first_name", "last_name", "date_of_birth"],
"record_details": {}
}
],
"warnings": []
}
}
The values above are illustrative, not a test result. What matters is the shape: one match_type for the lookup, one entry per service inside validations[], and an empty warnings[] on a clean match. When a workflow is configured for database validation and the check produced no result, the session decision carries database_validation_not_performed_reason, which tells you why.
Failure cases and recovery
| Case | What you get | Recovery |
|---|---|---|
| Wrong or ineligible service id for the country | HTTP 400 | Check the service id against the catalog for ZAF, then resend |
| Missing required field | HTTP 400 naming the field | Ask the user for it and resend, or fall back to document capture |
| Consent missing on a service that requires it | HTTP 400 | Collect consent in your flow, then resend with consent=true |
| Every selected upstream service failed | HTTP 502 with validation_errors[] | The request is not billed and a COULD_NOT_PERFORM_DATABASE_VALIDATION log is written. Retry later or fall back to OCR only |
| Record not found | match_type: no_match | Treat as a synthetic identity signal under your policy, then decide on rejection or manual review |
| Some fields match, others do not | match_type: partial_match | Route to review with the matched and unmatched fields shown to the reviewer |
| Insufficient balance on a live key | HTTP 403 | Top up credit, then resend. Nothing was checked, so nothing was billed |
Two of these deserve a policy decision before you ship. A no_match on a real identifier is meaningful: the record may exist but the submitted details do not line up, or the number is fabricated, which is the strength of a register lookup against synthetic identity. A partial_match is often a typo in a name or a date, so a common example policy is one correction attempt rather than an outright decline. Didit returns the match type; the action you take is your configured workflow policy.
Run it inside a workflow instead of a standalone call
The same check runs as a step in a Didit workflow, in which case you never build the request body yourself. Add the DATABASE_VALIDATION feature to the workflow in the Business Console or through POST /v3/workflows/, and optionally pin the South Africa service id from the catalog. Create a session with POST /v3/session/ using workflow_id, vendor_data and callback, open the returned session.url for the user, then fetch GET /v3/session/{sessionId}/decision/ or subscribe to session.status.updated. The results appear as the database_validations[] array on the decision payload.
Session mode is the better fit when the applicant has not typed their details yet, when you also want ID Verification, liveness or proof of address in the same journey, or when a reviewer needs one screen showing the whole case. Standalone mode is the better fit when your own application already collected the data and you only want a verdict.
Paid steps and review boundaries
- Paid: each successful database validation service hit, at the per-service rate in the current pricing table. Multi-service requests can produce multiple usage events.
- Not billed: a request where every selected upstream service failed and Didit returned HTTP 502 with
validation_errors[]. The docs state this request is not billed. - Billable per the pricing page: some no-match lookups and retries. The pricing docs list which ones, so read them before you build a retry loop that assumes retries are free.
- Paid separately if you add them: ID Verification at $0.15, passive liveness at $0.10, face match at $0.05, device and IP analysis at $0.03. A full ID check with document, biometrics, device and IP is $0.33.
- Review boundary: Didit returns
match_type; your workflow actions decide the status. Anything you route to review lands in the Business Console with the warnings attached, where a reviewer can override the automatic status and the change is recorded indecision_trace.

Worked cost example
Take a delivery platform onboarding 5,000 South African riders a month. Suppose it runs a full ID check on each applicant. The database validation charge is variable and is added separately at the rate for the service in the current table.
- Full ID check: 5,000 x $0.33 = $1,650.00. Breakdown: ID Verification $0.15 + passive liveness $0.10 + face match $0.05 + device and IP $0.03 = $0.33.
- ID Verification only: 5,000 x $0.15 = $750.00.
- Passive liveness: 5,000 x $0.10 = $500.00.
- Face match: 5,000 x $0.05 = $250.00.
- Device and IP: 5,000 x $0.03 = $150.00.
- Sum: $750.00 + $500.00 + $250.00 + $150.00 = $1,650.00, the same as 5,000 x $0.33.
- Database validation: 5,000 x the per-service rate from the current pricing table. We do not print a total because the rate is variable and no single published South Africa rate applies.
- Growth: $1,650.00 x 0.96 = $1,584.00, plus $99.00 monthly fee = $1,683.00, which is $33.00 more than list at this volume.
- Scale: $1,650.00 x 0.90 = $1,485.00, plus $299.00 = $1,784.00, which is $134.00 more than list at this volume.
- Break-even: Growth pays off above $99.00 / 0.04 = $2,475.00 of monthly list spend, or 7,500 full ID checks at $0.33. Scale pays off above $299.00 / 0.10 = $2,990.00, or about 9,061 full ID checks.
- Free plan: $10.00 / $0.33 = 30.3, so 30 full ID checks. Credit does not roll over.
At 5,000 checks a month, the published arithmetic says list price is cheaper than either paid plan. Add the database validation charge at its per-service rate on top of whichever total you use.

Use it from an AI assistant
Didit provides an MCP server, documented at didit.me/developers/mcp. It is free on every plan. The page lists the current tools and setup for each client; check it for the current surface.
MCP server setup for every client
If you would rather have a coding agent do the integration, the one-prompt playbook is at didit.me/developers/integration-prompt. Didit is used by 4,000+ companies, and the technical surface is one public API rather than a per-product set of endpoints.
Sources
- Didit docs: Database Validation API overview, request example, response shape, failure modes and warnings.
- Didit docs: database validation warnings catalogue.
- Didit docs: non-document ID verification and authoritative source lookup, for the distinction between the lookup method and this service.
- Didit docs: ID verification methods and assurance tiers.
- Didit docs: Create Session API.
- Didit docs: Retrieve Session Decision API.
- Didit docs: per-service database validation pricing table.
- Didit docs: pricing and billing rules, including which no-match lookups are billable.
- Didit docs: canonical data models.
- Didit pricing page and pricing as JSON, read November 26, 2026.
- Didit MCP server documentation.
- Didit integration prompt for coding agents.
Your next step is a sandbox call, not a sales call: create a free account at business.didit.me, copy a sandbox key, run the documented call with a test record, and wire the branches of match_type into your onboarding flow before you move to live keys. Start with the current Database Validation service catalog so the service id, fields and per-service rate you use are the ones in production today.
Try it
Try this in the sandbox
Run the check this guide describes, free.
The product this post is about, taken from its topic. Run it free in the sandbox.
Author
Alejandro Rosas
Co-founder and CTO

Questions
Frequently asked questions
What is a South Africa driving license verification API?
It is a server-to-server call that sends South African identity data to Didit's Database Validation API, which checks it against the authoritative source named for that service. The endpoint is POST https://verification.didit.me/v3/database-validation/. Didit names the available South African services, their fields and their per-service price in the current Database Validation service catalog, so confirm a driving-licence service there before you enable it.
Does Didit check a South African driving licence against a government register?
Didit names the source per service in the catalog and does not generalise it. For a South African driving-licence service, read the Source queried entry for the exact service you enable. The documented South African example is the non-document ID lookup against the Department of Home Affairs register, which is a different service with its own fields and price.
How much does a South Africa driving licence check cost?
Database Validation is priced per service and the rate is variable, so the price for the South Africa service is the one in the current per-service pricing table. There is no single country rate to quote. For comparison, the published prices for the surrounding identity steps are ID Verification at $0.15 per check and a full ID check at $0.33.
Is there a free South Africa driving license verification API?
Testing is free because the sandbox is free on every plan. The Free plan also includes $10.00 of monthly credit for eligible organizations, which covers about 30 full ID checks at $0.33. There is no free production database validation call: each successful service hit is billed at its per-service rate.
Which fields do I have to send?
Always issuing_state and identification_number; the rest depend on the service. Our docs say the lookup asks for the identifier and usually a name, sometimes a date of birth or an address, and the catalog entry names the exact fields for the South Africa service. If the service is flagged requires_consent, add consent=true or the request returns HTTP 400.
What is the difference between full_match, partial_match and no_match?
full_match means the submitted details matched the source across the checked fields. partial_match means some fields matched and others did not, so a common example policy is to route it to review. no_match means no record was found for the submitted data, which most policies treat as a synthetic-identity signal. Didit returns the match type; the approval, review and decline actions are configurable in your workflow.
What happens when the register is unavailable, and am I charged?
If every selected upstream service fails, the API returns HTTP 502 with a validation_errors[] array. Didit does not bill that request and writes a COULD_NOT_PERFORM_DATABASE_VALIDATION log. Retry later or fall back to document capture. Some no-match lookups and retries are billable, so read the pricing docs before you assume every retry is free.
Do I need an SDK to call it?
No. The standalone check is a single HTTPS multipart POST with an x-api-key header, so curl, fetch or any HTTP client works. SDKs exist for the session-based flows where a user goes through a hosted or embedded journey, and session.status.updated webhooks are the documented way to react to a session result.
Can I run the check as a step in a workflow?
Yes. Add the DATABASE_VALIDATION feature to a workflow and optionally pin the South Africa service id from the catalog, create a session with POST /v3/session/, then read database_validations[] from the decision payload. This is the right choice when the same journey also collects an ID document, liveness or proof of address. Standalone mode is better when you already hold the data.
Does a match prove the person applying is the licence holder?
No. A full_match proves the details the applicant supplied correspond to a record the source holds, which is what defeats fabricated numbers and reused identity data. It does not tie those details to a live human in front of the camera. For that, add face match at $0.05 or a full ID check at $0.33 alongside the lookup.
Compliance built in
Audited, certified and attested.
We hold the certifications and build each country's rules into your flows, so you can launch anywhere without worrying. Security and Compliance center
- Regulation encoded into your flows
Tell us what you do and where. Didit lists the rules that apply to you, with sources, and builds the checks each country needs into one workflow.
- Ready for AMLR
Every requirement of the new EU anti-money laundering rules, from checking customers to human review, is already covered by a Didit check.
- Tested in Spain's Treasury sandbox
Spain's Treasury published its supervised sandbox report on Didit's NFC plus active liveness onboarding; SEPBLAC took part and valued the added measures positively.
- Audited, not self-declared
iBeta Level 1 and Level 2. Liveness tested under ISO/IEC 30107-3.
Your obligations · 3 regions
SOC 2 Type 2
ISO 27001
iBeta Level 1 and Level 2
EU regulator attestation
FSM youth protection
GDPR
EBA remote onboarding
MiCA compatible
FIDO Alliance member
- AMLREU AML Regulation ready
Integration · Didit MCP
Run Didit from your own AI agent
Connect Didit to Claude, Cursor, VS Code or ChatGPT and just ask in plain words. Your agent can do anything you can do in the console, with the same permissions you have.
- Build workflowsDescribe the checks you need. The agent creates and publishes the flow.
- Run investigationsAsk why a session was declined, review cases, search people and companies.
- Change rulesCreate payment rules, test them on past data and switch them on.
- Pull reportsAsk for numbers, exports or the audit log.
Didit Academy


