Mobile Driving Licence quickstart

Verifies a wallet-held mobile driving licence (mDL, ISO/IEC 18013-5) instead of a PID: given name, family name, birth date, document number, driving privileges, expiry date, and issuing country. Same Nexiel Verify service, same POST /v1/verify/sessions route as every other check type. Only checkType: "mobile-driving-licence" differs.

New to EUDI wallets? Read what an EU Digital Identity Wallet is, and how a session works before this page assumes you already know what OpenID4VP, DCQL, and mdoc mean.

What this is, and what this is not

This is not a new verification engine. It is the same OpenID4VP session flow every other Nexiel Verify check type uses, requesting a different credential format: mso_mdoc with doctype_value: "org.iso.18013.5.1.mDL", instead of the PID's dc+sd-jwt format. There is no fallback credential offered for this check. No other credential type in the EUDI wallet ecosystem carries driving-privilege data, so unlike age verification's AV-or-PID choice, there is nothing to offer as an alternative.

Trust for an mDL is resolved separately from a PID or an EU Age Verification (AV) attestation. An mDL is issued under each country's own road-transport authority IACA (Issuing Authority Certificate Authority) program, a different PKI governance chain from the eIDAS PID-Provider Trusted List or the EU AV Attestation Provider list, even though all three verify against the same ISO 18013-5 mdoc mechanics. See production status below for what that means for live sessions.

This check requests document_number and driving_privileges, more sensitive detail than the age and login check types. It does not request a portrait. No check type in Nexiel Verify requests a photo claim.

Before you start: requesting access

Live access is gated. A live request for mobile-driving-licence needs both an active Nexiel Verify account and an APPROVED entitlement grant for this check type. Having Verify enabled is not enough by itself.

A signed-in member of your organization requests access from the dashboard's CheckType access page: pick mobile-driving-licence and enter a declared use case (for example, "renter identity and licence check before handing over a vehicle"). That creates a request in a PENDING state, visible on the same page alongside every other request your organization has made. A Nexiel reviewer approves or denies it from a separate reviewer queue. There is no automatic approval path for a gated check type. A denied or still-pending request is not silently retried. You can see its current status on the same dashboard page at any time.

A live request for mobile-driving-licence made before approval, or after a denial, fails closed with a 403:

403 (no APPROVED entitlement for this organization)
{
  "error": "checktype_entitlement_denied",
  "message": "organization \"3f1e6c2a-9b7d-4e3f-8a2c-5d1f9e0b7c44\" has never requested checkType \"mobile-driving-licence\", which requires an approved entitlement grant before it can be used"
}

The same three-state message distinguishes a request that was never made from one still PENDING review, or one that was reviewed and DENIED. This gate runs after authentication and after the normal account-active check, and before rate limiting and anomaly tracking for the request.

Test mode has no entitlement gate. A test key creates and completes mobile-driving-licence sessions without a grant, using the test mobile driving licence the sandbox wallet issues. Every example below is a test-mode response.

The DCQL template

ISO/IEC 18013-5:2021 mDL data elements, all in the standard org.iso.18013.5.1 namespace:

mobile-driving-licence.v1.json
{
  "id": "mobile-driving-licence",
  "version": 1,
  "dcqlQuery": {
    "credentials": [
      {
        "id": "mdl_check",
        "format": "mso_mdoc",
        "meta": {
          "doctype_value": "org.iso.18013.5.1.mDL"
        },
        "claims": [
          {
            "path": [
              "org.iso.18013.5.1",
              "given_name"
            ]
          },
          {
            "path": [
              "org.iso.18013.5.1",
              "family_name"
            ]
          },
          {
            "path": [
              "org.iso.18013.5.1",
              "birth_date"
            ]
          },
          {
            "path": [
              "org.iso.18013.5.1",
              "document_number"
            ]
          },
          {
            "path": [
              "org.iso.18013.5.1",
              "driving_privileges"
            ]
          },
          {
            "path": [
              "org.iso.18013.5.1",
              "expiry_date"
            ]
          },
          {
            "path": [
              "org.iso.18013.5.1",
              "issuing_country"
            ]
          }
        ]
      }
    ]
  }
}

Create a session

Creating the session is a plain HTTP request. Completing it needs a wallet-signed mdoc presentation, which the sandbox wallet makes for you in test mode.

curl -s -X POST https://compliance.nexiel.io/v1/verify/sessions \
  -H "Authorization: Bearer $NEXIEL_ACCESS_TOKEN" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"clientId": "docs-example-client", "checkType": "mobile-driving-licence"}'
200
{
  "sessionId": "7c9e2a41-5f18-4b6d-9a2e-6b0d3f8c1a95",
  "templateVersion": "mobile-driving-licence@1",
  "livemode": false,
  "clientId": "x509_hash:Uvo3HtuIxuhC92rShpgqcT3YXwrqRxWEviRiA0OZszk",
  "requestUri": "https://compliance.nexiel.io/v1/verify/sessions/7c9e2a41-5f18-4b6d-9a2e-6b0d3f8c1a95/request-object",
  "flow": "cross_device",
  "profile": "haip",
  "sessionToken": "Yq3nW0vR8tLx...(truncated, 43 chars)",
  "authorizationRequest": {
    "client_id": "x509_hash:Uvo3HtuIxuhC92rShpgqcT3YXwrqRxWEviRiA0OZszk",
    "response_type": "vp_token",
    "response_mode": "direct_post.jwt",
    "response_uri": "https://compliance.nexiel.io/v1/verify/sessions/7c9e2a41-5f18-4b6d-9a2e-6b0d3f8c1a95/responses",
    "nonce": "HqK3v9Lp2ZmXcR7bYtF5nW8aQ1sD4jE6gU0iO2kM9pA",
    "state": "T6mB1z8v3J0qE9rL2wX5cH7nY4sD8fG1kU3oA6iP0zQ",
    "dcql_query": {
      "credentials": [
        {
          "id": "mdl_check",
          "format": "mso_mdoc",
          "meta": {
            "doctype_value": "org.iso.18013.5.1.mDL"
          },
          "claims": [
            {
              "path": [
                "org.iso.18013.5.1",
                "given_name"
              ]
            },
            {
              "path": [
                "org.iso.18013.5.1",
                "family_name"
              ]
            },
            {
              "path": [
                "org.iso.18013.5.1",
                "birth_date"
              ]
            },
            {
              "path": [
                "org.iso.18013.5.1",
                "document_number"
              ]
            },
            {
              "path": [
                "org.iso.18013.5.1",
                "driving_privileges"
              ]
            },
            {
              "path": [
                "org.iso.18013.5.1",
                "expiry_date"
              ]
            },
            {
              "path": [
                "org.iso.18013.5.1",
                "issuing_country"
              ]
            }
          ]
        }
      ]
    },
    "client_metadata": {
      "jwks": {
        "keys": [
          {
            "kty": "EC",
            "crv": "P-256",
            "x": "kqYdLbmVZ0n7...(truncated)",
            "y": "cU2k2Zp7z5oq...(truncated)",
            "kid": "6f1c2e0a-4b7d-4f8e-9a3c-2d1e0f9b8a7c",
            "use": "enc",
            "alg": "ECDH-ES"
          }
        ]
      },
      "encrypted_response_enc_values_supported": [
        "A128GCM",
        "A256GCM"
      ],
      "vp_formats_supported": "...(truncated)"
    },
    "verifier_info": [
      {
        "format": "registration_cert",
        "data": "eyJ0eXAiOiJyYy13cnArand0Ii...(truncated)"
      }
    ]
  },
  "authorizationRequestUri": "openid4vp://?client_id=x509_hash%3AUvo3HtuIxuhC92rShpgqcT3YXwrqRxWEviRiA0OZszk&request_uri=https%3A%2F%2Fcompliance.nexiel.io%2Fv1%2Fverify%2Fsessions%2F7c9e2a41-5f18-4b6d-9a2e-6b0d3f8c1a95%2Frequest-object&request_uri_method=post",
  "dcApi": null,
  "expiresAt": "2026-08-27T11:42:07.113Z",
  "hostedUrl": "https://compliance.nexiel.io/v1/verify/hosted/7c9e2a41-5f18-4b6d-9a2e-6b0d3f8c1a95#token=Yq3nW0vR8tLx...",
  "sandboxWalletUrl": "https://sandbox.nexiel.io/present?client_id=x509_hash%3AUvo3HtuIxuhC92rShpgqcT3YXwrqRxWEviRiA0OZszk&request_uri=https%3A%2F%2Fcompliance.nexiel.io%2Fv1%2Fverify%2Fsessions%2F7c9e2a41-5f18-4b6d-9a2e-6b0d3f8c1a95%2Frequest-object&request_uri_method=post",
  "metadata": {},
  "transactionData": []
}

The wallet discloses the licence, and you get back a boolean

The wallet resolves authorizationRequestUri and answers with the mdoc presentation, encrypted to the session's one-time key and POSTed back to response_uri. This check runs no AML or PEP screening at all: it is identity plus a driving licence's own data, nothing more. The wallet's own reply carries only where to send the user next, never the outcome:

POST /v1/verify/sessions/{sessionId}/responses (the wallet's own reply)
{
  "redirect_uri": "https://compliance.nexiel.io/v1/verify/wallet-return"
}

Your backend reads the decision with GET /v1/verify/sessions/{sessionId}. A wallet whose mDL verifies against a trusted issuer produces:

GET /v1/verify/sessions/{sessionId}
{
  "sessionId": "7c9e2a41-5f18-4b6d-9a2e-6b0d3f8c1a95",
  "clientId": "docs-example-client",
  "checkType": "mobile-driving-licence",
  "templateVersion": "mobile-driving-licence@1",
  "livemode": false,
  "status": "completed",
  "createdAt": "2026-08-27T11:32:07.113Z",
  "expiresAt": "2026-08-27T11:42:07.113Z",
  "metadata": {},
  "sandboxWalletUrl": null,
  "decision": {
    "method": "eudi_wallet",
    "booleanProofs": {
      "claimsVerified": true
    },
    "amlResult": null,
    "pepFlag": null,
    "sanctionedFlag": null,
    "listsChecked": [],
    "humanReviewRequired": false,
    "frozenDecisionArtifact": null,
    "screeningCandidates": null,
    "credentialMechanism": "mdl_mdoc",
    "evidencePackStatus": "not_applicable",
    "evidencePackDelivery": null,
    "issuerCertificateStatus": {
      "status": "good",
      "handling": "accepted"
    },
    "credentialStatus": {
      "status": "valid",
      "mechanism": "status_list",
      "handling": "accepted",
      "unavailableReason": null
    },
    "transactionDataBinding": null,
    "scaAuthentication": null,
    "trustPolicy": {
      "versionId": null,
      "sha256": "9b1f0d6c2a4e8f3b7c5d1e9a0f2b4c6d8e1f3a5b7c9d0e2f4a6b8c0d1e3f5a7b",
      "trustSource": "eu_pid_providers",
      "issuerJurisdiction": null,
      "trustAnchorSha256": null,
      "issuerRegistration": null
    },
    "decidedAt": "2026-08-27T11:32:10.305Z"
  }
}

amlResult, pepFlag, sanctionedFlag, listsChecked, and frozenDecisionArtifact are all null or empty for the same reason they are on an age-verification or login-authentication check: no matching engine ever runs here, so there is no screening decision to human-review or freeze. The wallet's reply never includes the disclosed licence claims or an evidence pack. See below for how those are delivered instead.

An mDL signed by an issuer Nexiel does not trust fails closed. The session is marked failed and the disclosed claims are discarded. No partial result is ever returned.

The evidence pack

The disclosed licence claims are never stored by Nexiel as plaintext. They are encrypted into an “evidence pack,” JWE compact serialized (ECDH-ES, A256GCM, P-256), to a public key your organization registers and controls, the same mechanism every other identity-adjacent check type in Nexiel Verify uses. See setting up evidence pack encryption for how to generate and register that key from the dashboard.

This check runs no AML or sanctions screening, so its payload is narrower than an aml-identity evidence pack: no screening decision, no frozen decision artifact, only the disclosed claims and the wallet's issuer signature validation result. Decrypted, it holds:

Decrypted evidence pack payload
{
  "method": "mobile-driving-licence",
  "timestamp": "2026-08-27T11:42:19.402Z",
  "disclosedClaims": {
    "givenName": "Aoife",
    "familyName": "Ní Bhriain",
    "birthDate": "1990-05-14",
    "documentNumber": "IE-DL-0099213",
    "drivingPrivileges": [
      {
        "vehicle_category_code": "B",
        "issue_date": "2010-06-01",
        "expiry_date": "2030-06-01"
      }
    ],
    "expiryDate": "2030-06-01",
    "issuingCountry": "IE"
  },
  "issuerSignatureValidation": {
    "valid": true,
    "credentialProofRef": "4a7f1e9c2b6d8305f1a9c7e2b4d6f8305a1c7e9b2d4f6a8305c1e7b9d2f4a6c8"
  }
}

credentialProofRef is a SHA-256 hash of the presented wallet token, never the raw token itself, the same convention every other evidence pack in Nexiel Verify uses. Every optional claim (birthDate, documentNumber, drivingPrivileges, expiryDate, issuingCountry) is included only when the wallet disclosed it.

Nexiel's own retention for this check stops at a minimal audit row: the session id, client id, timestamp, template version, and a SHA-256 hash of the delivered ciphertext, proof a pack was generated and handed off, never its contents. Whatever record-keeping obligation a car rental company, or any other relying party, has for a driver's licence and driving-privilege data is that organization's own responsibility on its own systems, the same way it is for every check type Nexiel Verify offers.

Collect it the same way as an aml-identity evidence pack: a follow-up GET /v1/verify/sessions/{sessionId} call.

What gets persisted

  • Session id, client id, timestamp, method, template version, and the boolean proof (claimsVerified: true). Nothing else.
  • With an evidence pack key registered, a SHA-256 hash of that pack's ciphertext. Without one, nothing: a missing key is never an error for the underlying licence check, only for the evidence pack attached to it.
  • No given name, family name, birth date, document number, driving privileges, or issuing country in plaintext, ever. Those exist only inside the encrypted evidence pack, decryptable solely by your own registered private key.
  • No raw wallet credential or presentation is ever written to storage.

Production status

Test mode works end to end today, as shown above, with the sandbox wallet's test mobile driving licence. A live session trusts an mDL issuer (its IACA root or an intermediate Document Signer CA) only through a source your trust policy accepts: the mDL anchors Nexiel has configured, the qualified (QEAA) and public-sector (Pub-EAA) attestation provider lists, your accepted issuers, or certificates you pin. Without one that vouches for the issuer, live verification of that mDL fails closed, the same rule every credential type in Nexiel Verify follows when it cannot establish trust.

This is independent of the entitlement gate above. An organization can be approved for mobile-driving-licence and still have a live request fail closed at the trust step until trust anchors for the issuing country are configured.

Reference

There is no separate mobile driving licence API reference. Every route, parameter, and response schema this page uses is documented on the Verify API reference. The routes this page walks through are POST /v1/verify/sessions and POST /v1/verify/sessions/{sessionId}/responses, with checkType: "mobile-driving-licence".