Skip to main content

Verifiable Credentials: How They Work and How to Verify One

Verifiable credentials are signed claims a verifier can check. We verify supported Google Wallet credential responses at $0.10 per completed Google Wallet verification at list price, and support national and bank eID sign-ins.

Verifiable Credentials: How They Work and How to Verify One

Contents

In this guide

Jump to the part you need.

Verifiable credentials let a person prove a claim, such as their name or their age, with a signed digital document instead of a passport photo. This guide is for the team that has to accept one. We verify supported Google Wallet credential responses at $0.10 per completed Google Wallet verification at list price, and we support national and bank eID sign-ins that return signed identity attributes. Two caveats: the person must already hold a supported wallet credential, and availability depends on your environment.

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

Digital ID wallet methods and list prices per completed verification
Wallet or credentialCountriesUSD per verificationProduction status
Google WalletUnited States, United Kingdom, Brazil, Singapore, Taiwan$0.10Available
MitID personalDenmark$0.25Available
BankID SwedenSweden$0.20Available
BankID Norway HighNorway$0.35Live feed lists Available. Coverage docs list Coming soon. Confirm in your environment's catalog.
iDIN full identificationNetherlands$0.95Available
Finnish Trust NetworkFinland$0.25Available
Smart-IDEstonia, Latvia, Lithuania, Belgium$0.21Available
Mobile-IDEstonia, Lithuania$0.21Available
Bank iDCzechia$0.20Available
Personalausweis Profile 2Germany$0.49Live feed lists Available. Coverage docs list Coming soon. Confirm in your environment's catalog.
EUDI WalletEU member states, Iceland, Liechtenstein and Norway$0.15Coming soon, rate published

Start free in the sandbox at business.didit.me, with no sales call. Developers can also connect Didit to an AI assistant through the Didit MCP server.

What a verifiable credential actually is

A verifiable credential is a set of claims an issuer makes tamper-evident using a cryptographic proof. A holder manages or presents it, and the holder may be a different party from the subject the claims describe. A wallet is one way to hold credentials, and a server-side store is another. The W3C Verifiable Credentials Data Model defines the shape of the document. W3C DID Core defines the syntax and data model for decentralized identifiers. Individual DID methods specify how those identifiers are created, resolved and managed. Verifiable credentials can use other identifiers. Interoperability depends on compatible formats and proof methods, not on the data model alone.

Four roles decide who does what:

  • Issuer. The party that signs the claims with a key it controls. A government can issue a mobile driving licence. Google Wallet is the issuer for its ID pass.
  • Holder. The party that holds or presents the credential. A service can act on a person’s behalf.
  • Subject. The person or entity the claims describe. The holder and the subject can be different parties.
  • Verifier. Your application. It asks for specific claims, checks the proof and decides whether the claims meet its policy.

A verifiable credential packages claims in a structured format so a compatible verifier can read and validate them. A securing mechanism lets the verifier detect changes to protected claims and check the proof against the issuer’s verification material. An issuer can be identified by a DID or another supported identifier. A wallet relationship or a known issuer key is not enough on its own: accept a credential only if you support its format, trust its issuer, validate its proof and any required status or validity checks, and receive the claims your policy requires.

When we receive a Digital Credentials API response, we check the issuer's signature, the signed digests and the device signature. The response is encrypted to us, so it arrives as the wallet produced it. A verification that does not take a wallet response answers 409 with not_a_digital_credentials_wallet.

A user walkthrough of a Didit verification flow, showing the screens a person moves through
The person-facing part of the flow: the wallet handles authentication, your interface handles everything before and after it.

Prerequisites before your first wallet check

  • A Didit application and its API key. Create it in the sandbox. Keep x-api-key on your backend, never in a browser bundle or a mobile app.
  • The wallet catalog for your environment. Read it with the List digital ID wallets operation, which returns current endpoints, required fields and availability. A wallet marked Coming soon cannot be enabled in that environment, even where its rate is published.
  • A registered return hostname, if you use a wallet that redirects the person back to you.
  • A person who holds an eligible identity with the named issuer and who consents to sharing the requested attributes. An API integration still requires that interaction: you cannot verify someone by submitting their personal identifier.
  • Your own attribute policy. A signature verifies the issuer and the claims it returned. It does not guarantee that every attribute you requested is present, current or sufficient for your compliance rule.

Choose the route before you write code

  • Digital Credentials API wallet, such as Google Wallet. Your interface runs the wallet call and sends the returned response to us. Use it when the person holds a Google Wallet credential in one of the five listed markets and you want the check inside your own screens.
  • Provider sign-in, such as Finnish Trust Network, MitID, BankID Sweden, Smart-ID, Mobile-ID, iDIN or Bank iD. The provider authenticates the person and returns signed attributes through a redirect or a phone approval. These providers do not all use the Digital Credentials submission flow. Use this route for national and bank eIDs. Your application opens the provider's authentication page or displays its phone approval instructions, depending on the wallet.

Use the hosted session on the Sessions API when you want our hosted wallet journey, workflow rules and a configured document fallback.

How to verify a verifiable credential, step by step

The outcome you are aiming for is a decided verification on your backend: the wallet, the country, the verified attributes and an outcome value you act on. Each wallet has a dedicated start endpoint. Both routes use the same result and cancellation endpoints. Use the poll endpoint only for wallets that request phone approval. Read the catalog first with the List digital ID wallets operation, which returns the start paths, required fields and availability for your application.

Route A: a Digital Credentials API wallet such as Google Wallet

  1. Start a Google Wallet verification. Use the Google Wallet start endpoint and required fields returned by the wallet catalog for your application. Save the returned request ID. Continue only if the next action requests a digital credential.
  2. Check what the wallet asks for. Proceed only when wallet_verification.next_action.type is request_digital_credential. If the verification does not take a wallet response, the submission call answers 409 with not_a_digital_credentials_wallet.
  3. Collect the response in the browser or the app. Call the browser credential API with navigator.credentials.get, or Android Credential Manager, and keep the result exactly as returned.
  4. Submit the response unchanged, on the same verification. Send the {protocol, data} object from the browser, or the parsed credentialJson from Android, inside response, using that same verification's request_id.
    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 returned by the wallet>" }
        }
      }'
    A response can be submitted once. A second submit returns the verification that was already decided.
  5. Read the decided result from your backend. Act only when wallet_verification.outcome is verified and simulated is false for a real check.
    curl --request GET \
      --url https://verification.didit.me/v3/id-verification/wallets/verifications/REQUEST_ID/ \
      --header 'x-api-key: YOUR_API_KEY'

Route B: a redirect provider sign-in such as the Finnish Trust Network

  1. Register the return destination. The exact hostname must be registered before you start. Use bare hostnames, without a scheme, path or wildcard, and register each subdomain separately, up to 20. This call replaces the whole list, 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"]}'
  2. Start the verification. Start a separate verification for this provider. Send the country, an HTTPS return URL and your own reference, with a distinct Idempotency-Key per attempt.
    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. That value identifies the standalone verification for every later call.
  3. Drive the interaction the wallet asks for. When wallet_verification.next_action.type is redirect, send the person's browser to wallet_verification.next_action.url and let them complete the provider's own authentication.
  4. Read the result from your backend. Wallet authentication is asynchronous. A successful start means authentication started, not that the person is verified. Read the verification until the outcome is terminal.
    curl --request GET \
      --url https://verification.didit.me/v3/id-verification/wallets/verifications/REQUEST_ID/ \
      --header 'x-api-key: YOUR_API_KEY'
  5. Act only on a verified outcome. Use the identity only when wallet_verification.outcome is verified and simulated is false. Retain the verification reference and only the evidence your policy requires.
A progress screen shown while an asynchronous verification is still running
Wallet approval is asynchronous, so the result screen lags the start call. Your backend reads the outcome, not the browser.

Expected output

A decided verification comes back as one object. Abridged from our documented example:

{
  "request_id": "00000000-0000-4000-8000-000000000001",
  "wallet_verification": {
    "wallet": {
      "id": "google_wallet",
      "name": "Google Wallet"
    },
    "country": "USA",
    "status": "Approved",
    "outcome": "verified",
    "interaction": "digital_credentials",
    "simulated": false,
    "next_action": null,
    "identity": {
      "full_name": "Alex Example",
      "first_name": "Al"
    }
  }
}

Terminal responses carry no next_action. A pending response can still carry one, which is why you read the outcome before you branch.

Inputs and outputs

What you send to the wallet API and what you read back
DirectionFieldWhat it does
You sendx-api-keyAuthenticates the application that started the verification. Backend only.
You sendIdempotency-KeyOne per new attempt. A changed body on a reused key is a conflict, not a new verification.
You sendcountrySelects the issuer market, for example FIN.
You sendreturn_urlHTTPS destination for redirect wallets. Its hostname must already be registered.
You sendvendor_data, metadataYour own reference, up to 2,000 UTF-8 bytes, plus an optional JSON object. Both returned with the result and the completion webhook.
You sendresponse.protocol, response.dataThe untouched wallet response for Digital Credentials wallets.
You readrequest_idIdentifies the standalone verification for result, poll, response and cancel calls.
You readwallet_verification.outcomepending, verified, cancelled, timeout or failed.
You readwallet_verification.simulatedTells a sandbox result from a real one. Never treat a simulated identity as a real check.
You readwallet_verification.identityThe verified attributes the issuer returned. A wallet may return identity attributes without a portrait.
You readwallet_verification.next_actionThe step the person still has to take while the verification is pending.

Failure cases and how to recover

  • pending. Authentication is still in progress. For phone approvals, the poll operation on verifications/{request_id}/poll/ reads the approval state.
  • cancelled. The person or your application cancelled. A cancel of a pending verification declines it without charging, and returns a completed one unchanged.
  • timeout. The authentication window expired. Start a new verification with a fresh idempotency key.
  • failed. Authentication or identity validation failed. Do not retry silently inside the same attempt. Show the fallback your own policy allows, and on the Sessions API route that is the document fallback you configured in the workflow.
  • 409 with error: verification_in_progress. The person is finishing the approval at that moment and the attempt cannot be cancelled. Read the Retry-After header, wait that many seconds, then read the completed result.
  • 409 with not_a_digital_credentials_wallet. You posted a wallet response to a verification that does not take one. Check next_action.type before submitting.
  • A second response submit. A response can be submitted once. The second call returns the verification that was already decided, so a retry does not double bill.
  • Redirect rejected or looped. An unregistered hostname is one possible cause. Check the current allowlist with GET /v3/webhook/ before you replace it, then retry with an HTTPS return_url on a registered hostname.
A session overview with its status and warnings in the Didit Business Console
A verification session overview in the Didit Business Console.

Billing is per completed wallet verification, at the wallet's list price. The listed price includes the wallet identity check, and no separate national eID transaction fee is added to it. An agreed organization-specific rate takes precedence. A cancelled pending verification is not charged. See Didit pricing for plans, credit and every published rate, and User Verification for how wallet sign-in sits beside the other ID Verification methods, documented in the verification methods docs.

With the standalone wallet API, your backend reads the outcome and applies your policy. With the Sessions API, you can use the hosted wallet journey, workflow rules and a configured document fallback.

Worked cost example

Assume a lender verifies 12,000 people a month: 4,000 people complete wallet-based verification and 8,000 complete a full ID check. The wallet-based group is 2,400 Google Wallet, 1,200 Finnish Trust Network sign-ins and 400 MitID sign-ins. The calculation counts national eID sign-ins and assumes every listed check completes.

  • 2,400 x $0.10 = $240.00 for Google Wallet
  • 1,200 x $0.25 = $300.00 for Finnish Trust Network
  • 400 x $0.25 = $100.00 for MitID
  • 8,000 x $0.33 = $2,640.00 for the fallback full ID check

Total: $240.00 + $300.00 + $100.00 + $2,640.00 = $3,280.00 for 12,000 people, or $0.2733 each. With Scale's 10% discount, the same checks cost $0.09, $0.225 and $0.297 each, so $216.00 + $270.00 + $90.00 + $2,376.00 = $2,952.00. The $350 monthly Scale credit covers $350.00 of that, so $2,602.00 in additional prepaid credit is required after the monthly credit, assuming no existing top-up balance. Including the $299 monthly fee, the total is $2,901.00. We charge no separate fee to reuse an eligible finished Didit session.

Reusing a verification instead of repeating it

Many teams do not need to read a credential at all. They need the same person not to verify twice. Reusable KYC hands a finished session from one Didit application to another in two calls, and it is free. The source application mints a share token against a finished session (Approved, Declined or In Review):

curl --request POST \
  --url https://verification.didit.me/v3/session/11111111-2222-3333-4444-555555555555/share/ \
  --header 'x-api-key: YOUR_API_KEY' \
  --header 'Content-Type: application/json' \
  --data '{
    "for_application_id": "a5f3bca2-46e2-411e-90ef-a580900a57ee",
    "ttl_in_seconds": 7200
  }'

The receiving application redeems the share_token with its own key. It sends trust_review and a workflow_id that already exists on the receiving application, plus optional vendor_data:

curl --request POST \
  --url https://verification.didit.me/v3/session/import-shared/ \
  --header 'x-api-key: RECEIVING_APP_API_KEY' \
  --header 'Content-Type: application/json' \
  --data '{
    "share_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...",
    "trust_review": false,
    "workflow_id": "9f9b1234-aaaa-bbbb-cccc-1234567890ab",
    "vendor_data": "user-1"
  }'

Set trust_review to true to keep the source status, or to false to force the cloned session into In Review so your reviewers decide again. The response is the decision payload for the session kind, and the cloned session carries a fresh session_id plus shared_from_session for audit. A token is redeemed once per receiving application, cannot be revoked, and expires: expired, wrong-application and already-redeemed tokens answer 400 or 403, and you mint a new one.

Where this fits in practice

Age assurance is the clearest case. For age assurance, check whether the wallet returns an age claim your policy accepts. If it supplies a sufficient age assertion, your application can make the decision without storing a date of birth.

KYC refresh is the second. A person who verified elsewhere arrives with a credential instead of a folder of documents, and you can also hand a finished session across your own applications with Reusable KYC.

Regulated identity work in the EU is the third. Regulation (EU) 2024/1183 amends Regulation (EU) No 910/2014 as regards establishing the European Digital Identity Framework. The EUDI Wallet rate is published at $0.15, and production availability is still coming soon.

We run wallet checks on the same API, credits and console as the rest of our product, and 4,000+ companies use Didit. If you need claims inside your own tokens rather than a wallet credential, verified identity in Didit Authentication puts claims such as over_18 into the person's tokens, and the tokens page documents how to verify them against the JWKS.

Buyer checklist before you commit

  • Country. Is the wallet issued in the market where your users actually are?
  • Wallet eligibility. Does the person hold an active identity with the named issuer, and is the wallet available in your environment's catalog?
  • Available attributes. Which claims does the wallet return, and does it return the ones your policy needs?
  • Portrait availability. A wallet without a portrait provides no selfie comparison. If your policy requires a face match, use a trusted reference portrait from a separate identity check.
  • Fallback cost. What does a document check cost, and where does it run? On the standalone APIs you offer it yourself; on the Sessions API you configure it in the workflow.
  • Price and plan. The list price per completed verification, plus the 4% Growth or 10% Scale discount that applies.

Sources

Next step: open the sandbox at business.didit.me, create an application, and read the wallet catalog for your environment before you start your first verification. No sales call, and sandbox testing is free.

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 are verifiable credentials and how do they work?

A verifiable credential is a set of claims an issuer makes tamper-evident using a cryptographic proof. A holder manages or presents it, and the holder may differ from the subject the claims describe. We check that proof when a wallet presents the credential. DIDs are optional, and interoperability depends on compatible formats and proof methods.

Who are the issuer, holder and verifier?

The issuer signs the claims, for example a government that issues a mobile driving licence, or Google Wallet for its ID pass. The holder manages or presents the credential, and it is usually the person but can be a service acting for them. The verifier is your application, which checks the proof and decides whether the claims meet its policy.

How much does it cost to verify a wallet credential?

Published rates vary by wallet and are charged per completed verification. At list price we charge $0.10 for Google Wallet, $0.25 for MitID and the Finnish Trust Network, $0.20 for BankID Sweden and Bank iD, $0.21 for Smart-ID and Mobile-ID, $0.35 for BankID Norway High, $0.49 for Personalausweis Profile 2, $0.95 for iDIN full identification and $0.15 for the EUDI Wallet. Growth takes 4% off Didit prices and Scale 10%. Check the catalog for availability, and note that some wallets have no published retail rate.

Can Didit issue verifiable credentials for me?

The documented Didit wallet API verifies supported credentials issued by a wallet’s issuing authority. Our documented route reads a credential from a wallet, checks the issuer's signature against our trusted issuer roots, and returns the verified claims to your backend. For reuse across Didit applications, Reusable KYC hands a finished session to another application instead of running the check again, and it is free.

How do I check a credential issued by an organization connected to the wallet?

Start the verification, submit the wallet's response unaltered, and we check the issuer's signature against our trusted issuer roots, then every returned value against its signed digest. A wallet relationship alone does not make a credential acceptable: accept a credential only if you support its format, trust its issuer, validate its proof and any required status or validity checks, and receive the claims your policy requires. Act on the person only when the outcome is verified and simulated is false.

Does a wallet verification include a selfie comparison?

Not always. The wallet authenticates the person with the provider, and the result carries the cryptographic assurance tier. A wallet without a portrait provides no selfie comparison. If your policy requires a face match, use a trusted reference portrait from a separate identity check.

What happens if the person's wallet is not supported?

If you use the standalone wallet APIs, offer a separate document verification route where your application supports one. In the hosted flow, configure document fallback in your workflow. The catalog operation tells you which wallets are available in your environment, and a wallet marked Coming soon cannot be enabled there even where its rate is published.

What is the difference between the standalone wallet APIs and the Sessions API?

The standalone wallet APIs give each wallet its own start endpoint, and you do not create or publish a workflow. Your backend reads the outcome and your application applies the policy. The Sessions API runs our hosted wallet journey with your workflow rules and any document fallback you configured.

Is an identity wallet the same as a crypto wallet on Didit?

No. Identity wallets authenticate a person and return signed attributes. Crypto wallet screening is a separate feature inside Transaction Monitoring that checks blockchain addresses for financial risk, priced at $0.15 per screening, or bring your own screening provider and run it inside Didit.

Am I charged if the person abandons the wallet flow?

A pending verification can be cancelled without charge. Billing is per completed verification, and a cancel declines a pending verification and returns a completed one unchanged. Check the outcome before deciding whether to try again. If you choose to retry after a cancelled, timeout or failed outcome, start a new verification with a fresh idempotency key. A cancellation request sent while the person is completing verification can return 409 with verification_in_progress.

How do DIDs and verifiable credentials compare?

A DID is an identifier. W3C DID Core defines the syntax and data model for decentralized identifiers. Individual DID methods specify how those identifiers are created, resolved and managed. A verifiable credential packages claims so a compatible verifier can read and validate them, as defined by the W3C Verifiable Credentials Data Model, and it can use identifiers other than DIDs.

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.