Skip to main content

Technical

OpenID4VP verifier guide: accepting the EUDI Wallet in 2026

OpenID4VP is how a verifier asks a wallet for credentials and gets a signed presentation back. Didit runs the verifier for you: the EUDI Wallet route is coming soon at $0.15 per check, and the Digital Credentials route is live.

OpenID4VP verifier guide: accepting the EUDI Wallet in 2026

Contents

In this guide

Jump to the part you need.

OpenID4VP is the protocol a verifier uses to ask a digital wallet for credentials and get a signed presentation back. This guide is for teams that must accept the EUDI Wallet: what to register, what to build, the runnable Didit API path, and the costs. Didit prices an EUDI Wallet check at $0.15 per completed verification, and that method is coming soon, not live in production yet.

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

OpenID4VP verifier decisions at a glance
QuestionShort answerSource
What you are buildingA relying party that requests a verifiable presentation and validates itOpenID4VP 1.0
The documented route todayDidit wallet API: Didit acts as the verifier, your backend posts the wallet responseDidit docs
EUDI Wallet at Didit$0.15 per completed verification, coming soon, EU member states plus Iceland, Liechtenstein and NorwayDidit price feed
OpenID4VP route that is liveDigital Credentials wallet (Google Wallet) at $0.10 per completed verificationDidit price feed
What you still ownThe attributes you ask for, your registration scope, and the policy decision on the resultThis guide

Start free in the sandbox at business.didit.me, no sales call. Developers who want an assistant to wire it up can connect Didit through the MCP server. Read Digital ID wallet verification and every price on didit.me/pricing.

What an OpenID4VP verifier has to do

OpenID4VP reuses the shape of an OAuth 2.0 authorization request. The verifier asks for the response type vp_token, and a successful response carries the presentations in that parameter. There is no code and no access token to exchange: the data arrives in the response itself.

The wallet authenticates the relying party, checks that the request stays inside what the relying party registered, collects the person's approval and signs the presentation. The relying party then validates the issuer signature, every disclosed value against its signed digest, and the holder binding. If you build your own verifier, add the revocation check your credential format and issuer require.

For an EUDI Wallet deployment, confirm the current EU registration and certificate requirements with official sources and counsel before you build. This guide covers the technical sequence.

Outcome and the method we recommend

The outcome is a request object the wallet accepts, a VP Token your backend can validate, and a decision you can defend to an auditor. There are two ways to get there.

Method A, Didit runs the verifier: the fit for teams that want Didit to perform the documented wallet-response checks. You start a wallet verification through the Digital ID wallet APIs, hand the wallet action to the person, and post what the wallet returned to Didit. Didit decrypts the response, checks the issuer signature against its trusted issuer roots, checks every returned value against its signed digest, checks the device signature over your origin and the request, and returns a decision. You keep the workflow, the attributes you ask for and the policy call.

Method B, you build the verifier. Choose this only if you must issue your own request objects and hold your own certificates. The spec details are further down, and the registration work is the long part, not the code.

Prerequisites

  • A Didit application and API key. Keep the key on your backend, never in a browser bundle or a mobile app.
  • A wallet that is available in your environment. Read the wallet catalog before you write the start call; a method marked coming soon cannot be enabled.
  • A registered return hostname if the wallet redirects the person back to you. Bare hostnames only, up to 20, no scheme or path.
  • User consent. The person has to authenticate in the wallet and approve sharing. No API can skip that interaction.
  • For your own verifier: confirm the current EU registration and certificate requirements with official sources and counsel before you start.
  • A fallback plan. A wallet sign-in verifies the issuer and the returned claims. It does not guarantee that every attribute you asked for is present, current or enough for your compliance policy, and a wallet without a portrait carries no selfie comparison.

The steps, numbered

1. Confirm the wallet is available to your application

Call the catalog endpoint from your backend with your x-api-key. It returns the start URL, required fields and availability for each wallet in your application. Endpoints are wallet specific, for example /v3/id-verification/wallets/ftn/ for Finnish Trust Network.

2. Register the return destination

Redirect wallets send the person back to your app. Register the exact hostname first. Updating this list replaces it, so include every hostname you want to keep.

curl --request PATCH \
  --url https://verification.didit.me/v3/webhook/ \
  --header 'x-api-key: YOUR_API_KEY' \
  --header 'Content-Type: application/json' \
  --data '{"allowed_return_hosts": ["app.example.com"]}'

3. Start the verification

Send a distinct Idempotency-Key per attempt and reuse it only when you retry the same request. The documented request shape is the same for every wallet; this is the Finnish Trust Network example.

curl --request POST \
  --url https://verification.didit.me/v3/id-verification/wallets/ftn/ \
  --header 'x-api-key: YOUR_API_KEY' \
  --header 'Idempotency-Key: your-unique-attempt-key' \
  --header 'Content-Type: application/json' \
  --data '{
    "country": "FIN",
    "return_url": "https://app.example.com/identity/complete",
    "vendor_data": "your-customer-reference"
  }'

Save the returned request_id. A successful start means authentication has started, not that the person is verified.

A verification session showing that the wallet check is in progress
A start call returns a pending verification. The decision only exists once the wallet response is submitted.

4. Hand the next action to the person

Read wallet_verification.next_action. When its type is redirect, send the person's browser to next_action.url. When the type is request_digital_credential, a Digital Credentials API wallet such as Google Wallet is in play: call navigator.credentials.get in the browser, or Credential Manager on Android, and keep exactly what the wallet returns.

5. Submit the wallet response

Post the {protocol, data} pair the wallet returned. The response is encrypted to Didit, so do not alter it. A response can be submitted once; a second submit returns the verification that was already decided.

curl --request POST \
  --url https://verification.didit.me/v3/id-verification/wallets/verifications/REQUEST_ID/response/ \
  --header 'x-api-key: YOUR_API_KEY' \
  --header 'Content-Type: application/json' \
  --data '{
    "response": {
      "protocol": "openid4vp-v1-signed",
      "data": { "response": "<compact JWE returned by the wallet>" }
    }
  }'

6. Read the result

A successful start is asynchronous. Poll the verification, or wait for the completion webhook, and fetch the final result before you onboard anyone. Treat the person as verified only when wallet_verification.outcome is verified and simulated is false.

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

7. Handle the completion event

If you subscribe to webhooks, verify X-Signature-V2 with your destination secret over the raw body before parsing anything, and reject a timestamp that is more than 300 seconds from now. Return a 2xx quickly and update state idempotently. See webhooks.

Expected output

A decided Digital Credentials verification looks like this, abridged from the documented example:

{
  "request_id": "00000000-0000-4000-8000-000000000001",
  "wallet_verification": {
    "wallet": { "id": "google_wallet", "name": "Google Wallet" },
    "outcome": "verified",
    "interaction": "digital_credentials",
    "simulated": false,
    "error": null,
    "identity": { "full_name": "Alex Example", "first_name": "Al" }
  }
}
A session overview in the Didit Business Console with its status and warnings
The same result in the Didit Business Console: status, warnings and the data the wallet returned.

Treat the person as verified only when wallet_verification.outcome is verified and simulated is false. The five outcome values are pending, verified, cancelled, timeout and failed. A pending response can carry a next action; terminal responses have none.

Inputs and outputs

Fields you send and fields you read
FieldDirectionWhat it does
countryInISO alpha-3 country of the wallet, such as FIN.
return_urlInHTTPS page the person returns to. Must match a registered hostname.
vendor_dataInYour own reference, up to 2,000 UTF-8 bytes, returned with the result.
metadataInOptional JSON object, echoed back in responses and webhooks.
Idempotency-KeyIn (header)One key per attempt. Reusing a key with a changed body is a conflict.
response.protocolInProtocol label of the returned credential, for example openid4vp-v1-signed.
request_idOutIdentifies the standalone verification for polling, cancel and response.
next_action.type and next_action.urlOutWhat the person must do next: redirect or request_digital_credential.
wallet_verification.outcomeOutThe decision. Only verified counts, with simulated false.
wallet_verification.identityOutThe attributes the issuer signed, for example full_name.

Failure cases and recovery

What goes wrong and what to do
SymptomCauseRecovery
outcome: pendingAuthentication still runningPoll the status endpoint or poll/ for phone approval; do not onboard yet.
outcome: cancelledThe person or your app cancelledNot charged. Start a new attempt with a new Idempotency-Key.
outcome: timeoutThe authentication window expiredRestart the verification and, if you have one, offer the document fallback.
outcome: failedAuthentication or identity validation failedDo not retry blindly. Offer another route and log the error code.
409 verification_in_progressCancel arrived while a poll was in flightWait the number of seconds in Retry-After, then read the result.
409 not_a_digital_credentials_walletResponse submitted for a verification that does not take oneCheck the start response: the next action was a redirect, not a credential request.
400 on return_urlHostname not in allowed_return_hostsRegister the bare hostname, then restart the attempt.
A second submitResponse already decidedNo error to fix: it returns the verification that was already decided.
  • A wallet verification is billed once, when the outcome is verified and simulated is false.
  • A pending verification cancelled by the person or your application is not charged. Check your billing records and current pricing terms for other terminal outcomes.
  • Sandbox testing is free and unlimited. Nothing is charged in sandbox.
  • The boundary is the decision, not the policy. Didit returns which issuer signed what and whether the cryptography held. Whether that is enough for your risk appetite, your sector rules or your regulator is your call.

Worked cost example

Assume 10,000 completed EUDI Wallet verifications in a month.

  • Wallet checks at list price: 10,000 x $0.15 = $1,500.00
  • Wallet checks on Scale, 10% off Didit prices: 10,000 x $0.135 = $1,350.00

That is the published EUDI Wallet cost before any other checks. A configured document fallback runs a separate document check, and its price depends on the document-check workflow you configure and the current price feed, so we do not fold it into this figure.

The same volume on the Digital Credentials route at $0.10 per check would be 10,000 x $0.10 = $1,000.00 before any plan discount. These figures do not include AML screening at $0.20 per check or NFC chip reading at $0.15 per check if your workflow runs them.

If you build the verifier yourself

Start with the client identifier. The client_id prefix tells the wallet how to authenticate you. The OpenID4VP 1.0 prefixes are below. If you build for the EUDI Wallet, confirm the current EU registration and certificate requirements with official sources and counsel before you choose a prefix.

Client identifier prefixes in OpenID4VP 1.0
PrefixHow the wallet authenticates the verifierSigning
redirect_uriThe identifier is the redirect or response URICannot be signed
x509_san_dnsDNS name in the leaf certificate SANRequired
x509_hashSHA-256 hash of the leaf certificateRequired
decentralized_identifierKey from the DID documentRequired
verifier_attestationAttestation JWT from an issuer the wallet trustsRequired

Then the request. Large requests travel by reference: the wallet fetches a signed request object from a request_uri, and for QR codes the specification recommends direct_post with a request URI because the request might not fit in a QR code. The query itself is DCQL, the Digital Credentials Query Language:

{
  "credentials": [
    {
      "id": "my_credential",
      "format": "dc+sd-jwt",
      "meta": {
        "vct_values": ["https://credentials.example.com/identity_credential"]
      },
      "claims": [
        {"path": ["last_name"]},
        {"path": ["first_name"]},
        {"path": ["address", "street_address"]}
      ]
    }
  ]
}

For an mdoc the format is mso_mdoc and meta carries a doctype. Keep require_cryptographic_holder_binding at its default of true so the wallet returns a key binding proof. Build the query from your registration: relying parties must not ask for data beyond what they registered, and the wallet enforces it.

On the response side, the response mode decides how the token travels. direct_post posts it to your response_uri, direct_post.jwt posts it encrypted, and dc_api returns it through the Digital Credentials API. With direct_post, response_uri is required and redirect_uri must be absent, or the wallet answers invalid_request.

Then the checks. For an SD-JWT VC, your verifier checks that the issuer signature chains to a trusted provider, every disclosure hashes to a digest in the signed payload, and the Key Binding JWT carries your nonce and your client identifier as aud. Add the revocation check your credential format and issuer require. For an mdoc, the VP Token holds a base64url DeviceResponse from ISO/IEC 18013-5 whose SessionTranscript includes an OpenID4VP handover binding it to your request. Check which edition of ISO/IEC 18013-7 your library implements before you depend on it.

The EUDI Wallet profiles continue to change. Confirm the current profile and any registration or certificate requirement with official sources and counsel before you build. This guide does not give legal advice.

Where BankID and other wallets fit

BankID Sweden and the EUDI Wallet are different wallets, and a person may hold either or both. Didit already runs BankID Sweden at $0.20 per completed verification, alongside MitID at $0.25, Finnish Trust Network at $0.25, Smart-ID and Mobile-ID at $0.21 and iDIN at $0.95. The EUDI Wallet route sits next to those in the same workflow, at $0.15, once it is enabled in production.

The ID document panel of a Didit session, showing the document data captured in a verification
When a person has no wallet, the same session falls back to a document check with the data shown here.

Keep a second route for people who do not hold a wallet. Didit's configured document fallback runs a separate document check, so you can offer the wallet without making it the only way in.

Testing resources

  • Run the conformance tests at conformance.eudi.dev before you test against national wallets.
  • Read the reference implementation documentation at docs.eudi.dev. It is documentation, not a test suite.
  • Check the W3C Digital Credentials API draft before you depend on the browser route, and read ARF 3.0.0 on cross-device flows: custom URI schemes are not recommended there.
  • Use the Didit sandbox for the API path. It is free and every scenario is repeatable.

Sources

The next step is the sandbox: create an application at business.didit.me, call the wallet catalog, and run one start, submit and read cycle with your own key. No sales call, no workflow required.

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

What is OpenID4VP in simple terms?

OpenID4VP is the protocol a verifier uses to ask a digital wallet for credentials and receive a signed presentation. The verifier sends a request that names the credentials and claims it wants, the person approves in the wallet, and the wallet returns a VP Token. The verifier then checks the signatures. OpenID4VP 1.0 became an OpenID Final Specification on 10 July 2025.

Do I need to build an OpenID4VP verifier myself to accept the EUDI Wallet?

No. Didit can act as the verifier: you start a wallet verification, hand the wallet action to the person, post the returned credential to the response endpoint, and read the decision. The Didit docs describe the issuer-signature, signed-digest and device-signature checks for the Digital Credentials response endpoint. You build request objects and hold your own certificates only if you decide to run the verifier yourself, and then you confirm current EU registration requirements with counsel.

Is the EUDI Wallet live at Didit, and what does it cost?

Not yet. The EUDI Wallet is listed at $0.15 per completed verification for EU member states plus Iceland, Liechtenstein and Norway, and marked coming soon. The OpenID4VP route that is live today is the Digital Credentials wallet such as Google Wallet, at $0.10 per completed verification in the United States, United Kingdom, Brazil, Singapore and Taiwan.

What does a verifier check before it trusts an OpenID4VP presentation?

A verifier checks the issuer signature, every disclosed value against its signed digest, the holder binding proof, and any revocation rule your credential format requires. The Didit Digital Credentials response endpoint documents three of those checks: issuer signature against trusted issuer roots, returned values against the signed digest, and the device signature over your origin and the request. Didit returns one outcome. If you build your own verifier, add the revocation check your issuer and format require.

What is a DCQL query, and can I ask for any attribute?

DCQL, the Digital Credentials Query Language, is the JSON query that names the credentials, formats and claims you want. You cannot ask for anything you like: relying parties must not request data beyond what they registered, and the wallet checks that before the person sees the consent screen. Build your query from your registered scope.

What is the difference between direct_post and direct_post.jwt?

Both post the VP Token to your response URI instead of sending it through the browser. Plain direct_post posts the response as a form parameter, while direct_post.jwt posts it as an encrypted JWT. With either mode the response URI is required and the redirect URI must be omitted.

Does BankID work alongside the EUDI Wallet in Didit?

BankID Sweden and the EUDI Wallet are separate wallets with separate issuers, and Didit lists both: BankID Sweden at $0.20 per completed verification, available today, and the EUDI Wallet at $0.15, coming soon. Each wallet has its own start endpoint, with shared result, polling and cancellation endpoints. Whether a given national eID counts as a notified eIDAS means is a legal question for your own counsel.

What should my verifier do about EU registration and certificates?

Registration and certificate requirements for EUDI Wallet relying parties are a legal question. Confirm the current rules with official sources and counsel before you build or go live. This guide covers the OpenID4VP technical sequence and does not give legal advice.

What happens if the wallet returns an error or times out?

The verification can end with an outcome of cancelled, timeout or failed. A pending verification cancelled by the person or your application is not charged; check your billing records and current pricing terms for other terminal outcomes. Start a new attempt with a fresh Idempotency-Key and, where your workflow allows, offer the document fallback. A 409 verification_in_progress is different: wait the seconds in Retry-After and read the result.

Can I test OpenID4VP acceptance without real wallets?

Yes. The Didit sandbox is free and unlimited, so you can build and re-run the start, submit and read sequence before you touch a production wallet. For the protocol side, run the conformance tests at conformance.eudi.dev and read the reference implementation documentation at docs.eudi.dev.

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.