Skip to main content

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.

South Africa Driving License Verification API (2026 Guide)

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.

South Africa database validation at a glance
ItemDetail
EndpointPOST https://verification.didit.me/v3/database-validation/
Issuing stateZAF (ISO 3166-1 alpha-3)
Service selectionNamed in the current Database Validation service catalog. Confirm the South Africa service before enabling it.
Authenticationx-api-key header
PriceVariable per service; check the current per-service pricing table.
LatencyDidit publishes sub-2-second p99 inference across the platform; no per-service latency is published.
Resultmatch_type plus per-field matches and warnings
Assurance tierdata_match, meaning the submitted details matched a record held by the source
Free testingSandbox 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.

A lookup form where the user types their identity number and personal details instead of photographing a document
The lookup form is the user-facing view of a register check: typed details, no document upload.

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=true in the service catalog reject a request without consent=true and 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

  1. 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.
  2. 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.
  3. 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.
  4. Send the request. One multipart POST to the database validation endpoint, with issuing_state=ZAF. Omit services to run the country default, or add services with the catalog id to pin the service you want.
  5. Read match_type first. It is full_match, partial_match or no_match, and it is the field your routing logic should branch on before anything else.
  6. 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. The warnings[] array carries risk codes such as DATABASE_VALIDATION_NO_MATCH and DATABASE_VALIDATION_PARTIAL_MATCH.
  7. Apply your policy. Didit returns the result; the workflow actions are configurable. A common example policy is to approve full_match, send partial_match to review and treat no_match as a synthetic-identity signal. Record request_id and vendor_data so 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

Request fields
FieldTypeRequiredNotes
issuing_statestringYesISO 3166-1 alpha-3 country code. Use ZAF.
identification_numberstringYesThe national identifier. This is the universal field name the docs specify.
servicesstring or arrayNoOmit to run the country default. Pass the catalog id, or several ids, to pin services. Several services can produce several usage events.
first_namestringPer serviceThe docs show it in the request example. The catalog names whether the service requires it.
last_namestringPer serviceThe docs show it in the request example. The catalog names whether the service requires it.
date_of_birthstringPer serviceFormat YYYY-MM-DD when the catalog asks for it.
consentbooleanConditionalRequired with true when the service is flagged requires_consent.
vendor_datastringNoYour stable identifier, echoed back for reconciliation.
Response fields and how to act on them
FieldWhat it carriesAction
request_idIdentifier for this lookupRecord it with the decision for audit
match_typefull_match, partial_match or no_matchBranch here first
services_usedWhich services ranConfirms the service you selected actually ran
match_scoreAggregated score for the lookupUse as a secondary signal, not the primary verdict
validations[]One entry per service: service, status, matched_fields, record_detailsField-level routing and reviewer context
warnings[]Risk codes such as DATABASE_VALIDATION_NO_MATCHMap 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

What can go wrong and what to do
CaseWhat you getRecovery
Wrong or ineligible service id for the countryHTTP 400Check the service id against the catalog for ZAF, then resend
Missing required fieldHTTP 400 naming the fieldAsk the user for it and resend, or fall back to document capture
Consent missing on a service that requires itHTTP 400Collect consent in your flow, then resend with consent=true
Every selected upstream service failedHTTP 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 foundmatch_type: no_matchTreat as a synthetic identity signal under your policy, then decide on rejection or manual review
Some fields match, others do notmatch_type: partial_matchRoute to review with the matched and unmatched fields shown to the reviewer
Insufficient balance on a live keyHTTP 403Top 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: 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 in decision_trace.
A session overview in the Didit Business Console showing the session status and its warnings
A session overview in the Business Console, where a partial match and its warnings reach a reviewer.

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.

Didit Academy lesson card explaining how billing works with credits, auto-recharge and volume discounts
How credits, auto-recharge and volume discounts work, from the Didit Academy.

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

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.

ID Verification

The product this post is about, taken from its topic. Run it free in the sandbox.

$0.15 per checkStart free

Author

Alejandro Rosas

Co-founder and CTO

Alejandro Rosas

Alejandro Rosas

Co-founder and CTO

About Didit

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.

Compliance assistant

Your obligations · 3 regions

EU · AMLRCustomer due diligence, human reviewCovered
Illinois, Texas, ColoradoExplicit biometric consentCovered
Germany · Youth protectionVerified adults only (JMStV)Covered
Workflow checked. Every obligation is met
  • 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.

Add to ClaudeChatGPT
Didit Academy · Lesson 04 · Use Didit with MCP
  • 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.

Verify your first user today.

Start free

Free sandbox. Credit applies to work-email sign-ups.