Skip to main content

Business

How to Verify a US Mobile Driver's License from Google Wallet (2026)

Google Wallet mDL verification: start it, send the wallet credential response back to Didit, then read the outcome. $0.10 per completed verification; the flow applies only when the start response asks for a digital credential.

How to Verify a US Mobile Driver's License from Google Wallet (2026)

Contents

In this guide

Jump to the part you need.

This guide is for teams that verify a US mobile driver's license from Google Wallet inside their own application, without a hosted flow or a workflow id. It is written for backend developers wiring the Digital Credentials API to a Didit application. Google Wallet ID costs $0.10 per completed verification. The caveat: the flow applies only when the start response carries next_action.type = request_digital_credential, and the result is asynchronous, so a successful start is not a verified person.

Last updated: November 26, 2026. Prices checked against the live Didit price feed on November 26, 2026.

Google Wallet mDL verification at a glance
ItemDetail
What you verifyA US mobile driver's license held in Google Wallet, shared by the person with consent
Didit pathStandalone digital ID wallet APIs, no workflow and no workflow_id
TriggerThe start response carries next_action.type = request_digital_credential
Protocol in the documented exampleopenid4vp-v1-signed
What you send backExactly {protocol, data} from navigator.credentials.get, unmodified
Wallet id in the resultgoogle_wallet
Price$0.10 per completed Google Wallet verification
Billed whenOnce, when the outcome is verified
Not billedSandbox runs, and a pending verification you cancel
Main caveatThe result is asynchronous, and a successful start is not a verified person

Start free in the sandbox at https://business.didit.me/ with no sales call. For developers, connect Didit to an AI assistant through the Didit MCP server.

What the Digital Credentials API flow does

Our digital ID wallet APIs verify a person from your own application. You do not create or publish a workflow, and you do not pass a workflow_id. Your backend starts the verification with an application API key, your interface guides the person through the wallet approval, and your backend reads the result.

Google Wallet is a Digital Credentials API wallet. You know you are in this flow when the start response carries next_action.type = request_digital_credential. The wallet does not hand you a redirect URL. Your page or app receives a request, the browser or the Android Credential Manager passes it to the wallet, and the wallet returns an encrypted response that you send back to Didit.

We then check three things: the issuer's signature against our trusted issuer roots, every returned value against its signed digest, and the device signature over your origin and the request. On that evidence we decide the verification. A verified result carries the assurance tier Didit calls cryptographic, because an identity provider authenticated the person and signed the attributes it returned.

The documented result verifies signed wallet attributes. Your application applies its own policy, including any manual review your process requires.

Prerequisites

  • A Didit application with an API key. Keep x-api-key on your backend. Never place it in a browser bundle or a mobile app.
  • Google Wallet in your environment's wallet catalog. The list price is $0.10 per completed verification. The published countries are the United States, the United Kingdom, Brazil, Singapore and Taiwan. Availability is specific to your environment, so read the catalog before you build.
  • A person with a US mobile driver's license in Google Wallet, on a device whose browser or Android Credential Manager supports the Digital Credentials API.
  • An HTTPS origin for the page that calls navigator.credentials.get. The device signature covers your origin, so the response has to come from the page or app that requested it.
  • If the same application also runs redirect wallets, register the exact hostname with PATCH /v3/webhook/ first. Use bare hostnames in allowed_return_hosts, without a scheme, path or wildcard.
  • A new Idempotency-Key for each verification attempt, reused when you retry the same start request. Changing the request while reusing a key is a conflict, not a new attempt.

Step by step

  1. Read the wallet catalog from your backend with your application API key. It returns the current Google Wallet start endpoint, the fields that endpoint requires, and whether the wallet is available in your environment.
  2. Start the verification by posting to that start endpoint with x-api-key, a fresh Idempotency-Key, and the fields the catalog lists plus your own vendor_data reference (up to 2,000 UTF-8 bytes). Save the returned request_id and read next_action.
  3. Confirm next_action.type. When it is request_digital_credential you are in the Digital Credentials flow described here. When it is redirect the wallet works differently: send the browser to next_action.url and read the result from your backend. A pending response can carry a next action. A terminal response has none.
  4. Run the wallet request in the browser with navigator.credentials.get, or in an Android app through Credential Manager, which returns credentialJson. The person approves sharing inside Google Wallet.
  5. Send exactly what the wallet returned, {protocol, data}, from your backend to the response endpoint. Do not edit, reformat or re-encrypt it.
  6. Read the outcome with GET /v3/id-verification/wallets/verifications/{request_id}/, or wait for the completion webhook.
  7. Only use the identity when wallet_verification.outcome is verified and simulated is false for a real identity check.

The two calls in full

Submit the wallet response. The body is the {protocol, data} object the wallet produced, wrapped under response.

curl --request POST --url https://verification.didit.me/v3/id-verification/wallets/verifications/REQUEST_ID/response/ --header 'x-api-key: YOUR_API_KEY' --header 'Idempotency-Key: your-unique-attempt-key' --header 'Content-Type: application/json' --data '{"response":{"protocol":"openid4vp-v1-signed","data":{"response":"COMPACT_JWE_FROM_WALLET"}}}'

Read the result from your backend.

curl --request GET --url https://verification.didit.me/v3/id-verification/wallets/verifications/REQUEST_ID/ --header 'x-api-key: YOUR_API_KEY'

The full sequence, including the browser and Android snippets, is in the Digital ID wallet API documentation. The submit operation has its own page: Submit a Digital Credentials wallet response.

Expected output

A verified response looks like the object below. It is illustrative and trimmed for length. The live payload carries the identity fields the issuer released and the person consented to share.

{
  "request_id": "00000000-0000-4000-8000-000000000001",
  "wallet_verification": {
    "wallet": {
      "id": "google_wallet",
      "name": "Google Wallet",
      "issuing_authority": "Google Wallet (ID pass) and US state issuers (mobile driving licence)"
    },
    "country": "USA",
    "status": "Approved",
    "outcome": "verified",
    "error": null,
    "interaction": "digital_credentials",
    "simulated": false,
    "expires_at": "2026-01-01T10:10:00Z",
    "next_action": null,
    "identity": {
      "full_name": "Alex Example",
      "first_name": "Alex",
      "date_of_birth": "1990-01-01",
      "document_number": "D1234567",
      "issuing_state": "CA",
      "document_expiry_date": "2030-01-01"
    }
  }
}
A verification processing screen
A verification can remain in progress after the wallet approval. Read the final outcome from your backend; a successful start is not a verified person.

What the result verifies and what it does not

The result verifies the signed attributes the issuer returned and the person consented to share. The issuer signature and signed digest prove what was returned. They do not guarantee that every attribute you asked for is present, current or sufficient for your compliance policy. A wallet without a portrait does not include a selfie comparison. If your policy needs a selfie comparison or a document image, a configured document fallback can run a separate document check. Your application applies its own policy, including any manual review your process requires.

A session overview with its warnings in the Didit Business Console
The Didit Business Console shows a session's decision and warnings. Use the result fields your application needs and apply your own review policy.

Inputs and outputs

Fields you send and fields you read
FieldDirectionWhat it is
x-api-keyIn, backend onlyApplication API key that started the verification
Idempotency-KeyInOne value per attempt, reused on a retry of the same start request
request_idIn, pathUUID the start endpoint returned
response.protocolInThe protocol the wallet used, openid4vp-v1-signed in the documented example
response.dataInThe data object the wallet returned, holding the compact JWE in data.response
wallet.idOutgoogle_wallet
countryOutUSA for a US mobile driver's license
outcomeOutpending, verified, cancelled, timeout or failed
simulatedOutfalse for a real identity check, true in the sandbox
identityOutThe wallet's returned claims, for example full_name, first_name, date_of_birth, document_number, issuing_state and document_expiry_date. Which attributes come back depends on what the issuer releases and what the person consents to share.

Failure cases and recovery

What goes wrong and what to do next
SymptomMeaningRecovery
next_action.type is redirectYou started a redirect wallet, not a Digital Credentials walletSend the browser to next_action.url and read the result from your backend
409 with error: not_a_digital_credentials_walletThat verification does not take a wallet responseStart a Google Wallet verification and submit the response against its own request_id
A second submit of the same responseThe response is single use; the call returns the verification already decidedRead the returned object. Do not count it as a new attempt
outcome: pendingAuthentication is still in progressDo not mark the person verified. Read again later or take the completion webhook
outcome: timeoutThe authentication window expiredStart a new verification with a new Idempotency-Key
outcome: failedAuthentication or identity validation failedRead error, then fall back to a document check if your policy allows it
outcome: cancelledThe person or your application cancelled the attemptA cancelled pending verification is not charged. Start again if needed
409 with error: verification_in_progress and a Retry-After headerA cancel arrived while a poll was checking the approvalRetry after the number of seconds in the header to read the completed result
The response was editedThe JWE is encrypted to Didit and every value is checked against its signed digestSend the wallet output exactly as it was returned
A requested attribute is missingThe signature proves what the issuer returned, not that every value is present or currentAsk only for attributes the issuer releases, and enforce your own policy on gaps

We bill Google Wallet ID at $0.10 per completed verification, once, when the outcome is verified. The price includes the wallet identity check. No separate national eID transaction fee is added to it, and an agreed organization-specific rate takes precedence over the list price. See the full Didit price list and the pricing documentation.

  • Sandbox runs cost nothing. Sandbox results carry simulated: true and are not real identity checks.
  • Cancelling a pending verification is not charged. Cancelling a completed verification returns it unchanged.
  • A verification the person is completing at that moment cannot be cancelled. You get 409 with verification_in_progress and a Retry-After header.
  • The documented result verifies signed wallet attributes. Your application applies its own policy, including any manual review your process requires. A wallet without a portrait does not include a selfie comparison. If your policy needs one, run a separate document check.

When the person has no mDL in Google Wallet

The wallet only works when the person holds a compatible credential, has consented, and the issuing state releases the attributes you request. A configured document fallback runs a separate document check and is billed separately. ID document verification is $0.15, and the full ID check, which adds passive liveness, face match 1:1 and device and IP analysis, is $0.33. See Didit identity verification for the document path and digital ID wallet coverage for which wallets are available in production.

Worked cost example

Prices are published unit prices from the live feed. The arithmetic below is shown so you can check it.

  • 1,000 completed Google Wallet verifications at list price: 1,000 x $0.10 = $100.00.
  • 50,000 completed verifications at list price: 50,000 x $0.10 = $5,000.00.
  • Add nothing for sandbox runs, and nothing for a pending verification you cancel.

The calculation uses only the $0.10 wallet unit price. Plan discounts and credits are on the Didit pricing page. If your flow also runs a document fallback, that is a separate check at its own published price.

Sources

The next step is a sandbox run: create an application at https://business.didit.me/, start a Google Wallet verification with your test key, and submit one real wallet response end to end before you ship. No sales call is involved.

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

Alberto Rosas

Co-founder and CEO

Alberto Rosas

Alberto Rosas

Co-founder and CEO

About Didit

Questions

Frequently asked questions

How do I verify a US mobile driver's license from Google Wallet with Didit?

Start a Google Wallet verification from your backend with an application API key. Read next_action. When its type is request_digital_credential, run navigator.credentials.get in the browser or Credential Manager on Android, then post the returned {protocol, data} to POST /v3/id-verification/wallets/verifications/{request_id}/response/. Read the outcome from the verification endpoint.

Does Google Wallet verification need a Didit workflow?

No. The digital ID wallet APIs are standalone. You do not create or publish a workflow and you do not pass a workflow_id. Your backend starts the verification with the application API key and reads the result, while your interface handles the wallet approval.

What does a request for a digital credential mean?

It means the wallet uses the Digital Credentials API, as Google Wallet does. The start response carries next_action.type = request_digital_credential. The person completes the request inside their wallet and your page or app receives an encrypted response, which you forward to Didit. A redirect wallet instead returns a URL you open in the browser.

Where does the protocol and data payload come from?

It is what the wallet returned. In a browser that is the object from navigator.credentials.get. In an Android app it is the parsed credentialJson from Credential Manager. You send it unchanged, wrapped under response, and Didit decrypts it.

What is openid4vp-v1-signed and why is the payload a compact JWE?

It is the protocol value in Didit's documented example of a Google Wallet response. The payload is a compact JWE encrypted to Didit. We decrypt it, check the issuer's signature against our trusted issuer roots, check every returned value against its signed digest, and check the device signature over your origin and the request.

How much does a Google Wallet mDL verification cost?

$0.10 per completed verification at list price. You are billed once, when the outcome is verified. Sandbox runs are free, and a pending verification you cancel is not charged.

Can I submit the same wallet response twice?

A response can be submitted once. A second submit returns the verification that was already decided rather than creating a new one. If you legitimately need a new attempt, start a new verification with a new Idempotency-Key.

What does a verified Google Wallet result contain?

It carries wallet.id: google_wallet, country: USA, the issuing authority string, outcome, and an identity object. For a mobile driver's license, the response includes identity fields such as full_name, date_of_birth and issuing_state, plus attributes such as document_number and document_expiry_date. The actual attributes returned depend on what the issuer releases and what the person consents to share.

Is a successful start a verified person?

No. Wallet authentication is asynchronous. A successful start means authentication has begun. Treat the person as verified only when outcome is verified and simulated is false for a real identity check.

What happens if the person has no mobile driver's license in Google Wallet?

The wallet path cannot run without a compatible credential, consent and the attributes your request asks for. Run a document check instead. A fallback document check is a separate check and is billed separately, at $0.15 for ID document verification or $0.33 for the full ID check.

Is Google Wallet ID verification available in production?

It is listed as available in the live price feed for the United States, the United Kingdom, Brazil, Singapore and Taiwan. Availability is specific to your environment, so confirm it in your application's wallet catalog before you build the flow.

Is the sandbox free for testing this flow?

Yes. Sandbox testing is free and unlimited, and results are marked simulated: true. You can build the whole start, submit and read sequence in the sandbox before you move to a live application.

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.