Technical
MitID integration: how businesses accept Denmark's eID
MitID integration adds a Danish national eID wallet to your sign-up. Didit runs the wallet method for Denmark at $0.25 per completed verification and returns signed identity attributes at the cryptographic assurance tier.

Contents
In this guide
Jump to the part you need.
MitID integration lets a Danish customer sign in to your product with Denmark's national eID, and Didit records the result as signed identity attributes at the cryptographic assurance tier. It fits banks, insurers, fintechs and any business that onboards Danish residents. On Didit, MitID personal costs $0.25 per completed verification. The main caveat is eligibility: not every user can complete a wallet sign-in, so keep a document route configured.
Prices checked against the live Didit price feed on November 26, 2026.
| Item | Detail |
|---|---|
| Outcome | A Danish user completes a wallet sign-in and the session records signed identity attributes at the cryptographic tier. |
| Recommended method | Didit hosted flow with the Denmark wallet method enabled for mitid, plus a document fallback. |
| Who it fits | Banks, insurers, fintechs and any business that onboards Danish residents. |
| Price on Didit | MitID personal at $0.25 per completed verification. A document fallback is a separate check: $0.15 for document verification, or $0.33 when the fallback workflow also runs passive liveness, face match and device and IP analysis. |
| Main caveat | Availability is specific to your environment, and not every user can complete a wallet sign-in, so keep a document fallback configured. |
| Data returned | Signed identity attributes from the wallet. The exact set depends on the wallet and on what the user consents to share. |
| Assurance tier | cryptographic: an identity provider authenticated the person and signed the attributes it returned. |
Start free in the sandbox at business.didit.me with no sales call. The wallet method is documented on the Digital ID wallet verification page, prices and plan discounts are on Didit pricing, and developers can connect Didit to an AI assistant through the MCP server.
What MitID integration gives you
MitID is a Danish national eID wallet. On Didit it is one of three ID Verification methods: the user signs in with a digital identity they already hold, and that provider shares a signed set of attributes with Didit. No document photograph is needed for the wallet check, and depending on the wallet the user may enter a personal identification code or a phone number.
The result carries the cryptographic assurance tier. An identity provider authenticated the person and signed the attributes it returned. That is all the tier claims. It is not a ranking against document capture or a data match, because the tiers describe different evidence rather than more or less of the same thing. How long a sign-in takes is the wallet's own flow, which Didit neither controls nor promises.
A signature verifies the issuer and the returned claims. It does not guarantee that every attribute you request is present, current or sufficient for your compliance policy. Each business has to assess its own policy and the law that applies to it. Didit runs the checks and records the result; the risk assessment, the level you require and the onboarding decision stay with you.
Didit serves 4,000+ companies, and MitID is available in production at $0.25 per completed verification.
Prerequisites
- A Didit organization and an API key. The sandbox is free on every plan.
- A workflow with ID Verification enabled.
- Denmark in the workflow country list, with the wallet method enabled and
mitidas the provider. - A callback URL on your allowed domains if you use the hosted flow redirect.
- A document fallback if your policy needs one, or if you want to serve users who cannot complete a wallet sign-in.
- A user who holds an identity with the issuer, is eligible for the attributes you request, and consents to sharing them.
- Your own risk assessment and the assurance level you require for each product.
How to integrate MitID with Didit, step by step
Confirm MitID is enabled in your environment. Availability is specific to your environment: the console checks its environment's live capability catalog when you save a workflow. MitID is available in production at $0.25 per completed verification. A wallet marked Coming soon cannot be enabled, and the save is rejected, including the rest of the configuration in it.
Add Denmark to the ID Verification step and enable the wallet method with
mitidas the provider. The documented Denmark block looks like this:{ "feature": "OCR", "config": { "methods": { "DNK": { "document": { "enabled": true }, "wallet": { "enabled": true, "providers": ["mitid"], "on_failure": "fallback_to_document" } } } } }If you omit the country or the method, that country is document capture only. The wallet block turns MitID on and sends a failed wallet attempt to the document route.
Copy the workflow UUID. You send it as
workflow_idwhen you create a session. The same workflow can hold the wallet method, the document route and any AML step you add.Create a session with the Sessions API at
POST https://verification.didit.me/v3/session/, with your API key in thex-api-keyheader:curl -X POST https://verification.didit.me/v3/session/ \ -H "x-api-key: YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "workflow_id": "YOUR_WORKFLOW_ID", "vendor_data": "user_12345", "callback": "https://app.example.com/kyc/return", "language": "da" }'vendor_datais your stable identifier for the person, recommended because it binds the session to the user and helps with duplicate detection.callbackmust be on one of your allowed domains, or creation fails with a 400.Send the user to the
session_urlreturned by the create call. The sign-in experience depends on the wallet: an app handoff, a QR code, or a comparison code confirmed on the user's phone. Didit receives the signed result after the user approves.
The session detail shows the status and any warnings after the wallet sign-in. Read the result. Wait for the
status.updatedwebhook or fetch the decision fromGET https://verification.didit.me/v3/session/SESSION_ID/decision/:curl https://verification.didit.me/v3/session/SESSION_ID/decision/ \ -H "x-api-key: YOUR_API_KEY"The response has a
session_kindfield, and you branch on it. For this flow it isuser. The status is one of the documented values: Approved, Declined, In Review, In Progress, Not Started, Expired, Abandoned, Resubmitted, Awaiting User, Kyc Expired.Check the tier and the attribute data. A wallet result carries the
cryptographictier. Which attributes come back depends on the wallet and on the consent the user gave, so read the attribute data per session rather than assuming a fixed field list. The tier appears on the session payload, in the console and in your exports.Apply your policy and record the reason for any fallback in your own case notes. Approve, decline or send the session to review. If the user could not complete a wallet sign-in and ran the document route, note why.

The document fallback is recorded as its own result in the same session.
Verify the webhook signature
Didit signs every webhook. Read the raw request body before you parse JSON, recompute the HMAC-SHA256 with your destination secret, and reject a stale timestamp. The minimum glue for a Node endpoint looks like this:
app.post("/api/webhooks/didit", express.raw({ type: "application/json" }), (req, res) => {
const raw = req.body; // raw bytes, do not parse JSON first
const timestamp = Number(req.header("X-Timestamp"));
const signature = req.header("X-Signature"); // HMAC-SHA256 over the exact raw bytes
const fresh = Math.abs(Date.now() / 1000 - timestamp) <= 300;
const expected = crypto.createHmac("sha256", process.env.DIDIT_WEBHOOK_SECRET)
.update(raw).digest("hex");
const valid = fresh && crypto.timingSafeEqual(Buffer.from(expected), Buffer.from(signature));
if (!valid) return res.status(401).end();
res.status(200).end();
const event = JSON.parse(raw.toString());
// event.webhook_type is "status.updated"; event.status is Approved, Declined, In Review and so on
});
X-Signature-V2 is the recommended header: HMAC-SHA256 over the sorted, Unicode-preserved canonical JSON. X-Signature covers the exact raw bytes and works only if your stack does not re-encode the body. During the 24 hours after a destination's secret is rotated, accept a match on the -Previous header as well. If you fall back to the deprecated X-Signature-Simple, re-fetch the decision from GET /v3/session/{session_id}/decision/ instead of trusting the payload, because it authenticates the envelope only. Subscribe explicitly to the events you want, since there is no wildcard in destination.subscribed_events.
Inputs and outputs
The input rows below are the documented create-session fields. The output rows are documented session fields, so the names are stable. The wallet attribute values themselves come from the identity provider and vary by wallet and by consent, so inspect them per session.
| Direction | Field or result | What it means |
|---|---|---|
| Input | workflow_id | The workflow UUID that contains the Denmark wallet method and any fallback. |
| Input | vendor_data | Your stable user identifier. Recommended for duplicate detection. |
| Input | callback | Where the hosted flow redirects the user. Must be on an allowed domain. |
| Input | language | ISO 639-1 code for the verification UI. Use da for Danish. |
| Output | session_id | The session identifier. Use it to fetch the decision. |
| Output | session_kind | Always branch on it. KYC sessions return user. |
| Output | status | The session status, for example Approved, Declined, In Review or Abandoned. |
| Output | id_verifications | The ID Verification result for the method that produced it. A wallet sign-in carries the cryptographic tier. |
| Output | Wallet attributes | Signed attributes returned by the wallet. The set and the values are provider data that may vary session by session. |
| Output | decision_trace | How the status was reached: automatic, manual or investigator. |
Expected output is a session object with session_id, session_kind set to user, a status, and only the feature arrays that actually ran. Feature arrays are always plural, and a feature that did not run is absent or null, never a placeholder.
Failure cases and recovery
| Case | What you see | Recovery |
|---|---|---|
| User cannot start the wallet step or exits it | The wallet step does not complete | With on_failure set to fallback_to_document, the same session continues through document capture. Whether it does, and which steps run after the wallet attempt, depends on the fallback you configured and the steps in your workflow. |
| User abandons the flow | Status Abandoned | Create a new session if your policy allows it. Do not reuse an abandoned or expired session. |
| Wallet provider error | The wallet step fails | The configured fallback runs. If you did not configure one, the session cannot complete through the wallet. |
| Wallet returns fewer attributes than your policy needs | The signed result lacks an item you require | Do not approve on the wallet alone. Collect the missing item as a separate step or route to document verification. |
| Session expired | Status Expired | Create a new session. The workflow setting or session_expiration_time controls link lifetime, between 3600 and 2419200 seconds. |
| Fallback path needs biometrics | The document route adds capture steps | The fallback is a separate document check and is billed as one. |

Paid steps and review boundaries
| Step | Price or owner | Notes |
|---|---|---|
| MitID wallet verification | $0.25 per completed verification | Billed only when the check finishes with a result. The price includes the wallet identity check, with no separate national eID transaction fee added. |
| Document fallback, document verification | $0.15 per completed check | Document capture only, which is what the Denmark block above enables. Add passive liveness $0.10, face match 1:1 $0.05 and device and IP analysis $0.03 as workflow steps, and the fallback becomes the $0.33 full KYC price. |
| NFC chip reading | $0.15 add-on | Add to a document check when you need chip evidence. |
| AML screening | $0.20 per check | Ongoing AML monitoring is $0.07 per person a year. |
| Risk assessment and EDD | Your team | Didit does not set your risk appetite or make the onboarding decision. |
Didit is SOC 2 Type 2 and ISO/IEC 27001:2022 certified. We run the checks and record the result. We do not decide whether a customer is acceptable: that decision, the enhanced due diligence and the reason for each fallback stay with you.
Worked cost example
Assume 10,000 Danish onboarding attempts in a month and that 7,000 complete a MitID sign-in while 3,000 use the document fallback. Every user gets AML screening. The split is a planning assumption, not a Didit benchmark, and fallback billing depends on the checks that actually run.
- MitID: 7,000 x $0.25 = $1,750.00
- Document fallback, document verification only: 3,000 x $0.15 = $450.00
- AML screening: 10,000 x $0.20 = $2,000.00
- Total: $1,750.00 + $450.00 + $2,000.00 = $4,200.00
- Cost per attempt: $4,200.00 / 10,000 = $0.42
If the fallback workflow also runs passive liveness, face match and device and IP analysis, the fallback becomes the full KYC check at $0.33: 3,000 x $0.33 = $990.00, and the total becomes $1,750.00 + $990.00 + $2,000.00 = $4,740.00. If you add NFC chip reading to every fallback, add 3,000 x $0.15 = $450.00. Growth takes 4% off Didit prices and Scale takes 10%, before plan fees and credit. A wallet attempt that never produces a result is not a completed check, and a user who completes MitID pays nothing for a document check.
MitID, BankID Sweden and several wallets in one workflow
If you onboard across the Nordics, enable the Denmark wallet method for MitID and the Sweden wallet method for BankID Sweden in the same ID Verification feature. Didit lists MitID at $0.25 and BankID Sweden at $0.20 per completed verification. Both are wallet methods and both carry the cryptographic assurance tier, and the session records which method produced the result.
The tier describes the evidence, not one country's legal level. Evaluate the issuer signature and the attributes a wallet actually returns against your own policy, and do not treat one scheme's attributes as proof for another country. Wallet availability differs by country and by environment, so check the live capability catalog before you save.
Age checks with a wallet sign-in
If the wallet returns a signed date of birth, you can derive an age result without a document photo. If it does not, or if the user cannot complete the wallet step, run age estimation at $0.10 per check or a document check as the fallback. Your own policy sets the age limit for your product.
Sources
- Didit pricing page, read November 26, 2026.
- Didit pricing documentation, read November 26, 2026.
- Didit Digital ID Wallet Verification API and Coverage, read November 26, 2026.
- Didit ID Verification Methods, read November 26, 2026.
- Didit Create Session API, read November 26, 2026.
- Didit Retrieve Session API, read November 26, 2026.
- Didit webhooks documentation, read November 26, 2026.
- Didit verification statuses, read November 26, 2026.
- Didit MCP server, read November 26, 2026.
- MitID issuer site, mitid.dk, read November 26, 2026 (details not linked here).
Next step: open the sandbox at business.didit.me, enable the Denmark wallet method for MitID and run a test session. No sales call needed.
Try it
Try this in the sandbox
Run the check this guide describes, free.
The product this post is about, taken from its topic. Run it free in the sandbox.
Author
Alberto Rosas
Co-founder and CEO

Questions
Frequently asked questions
What is MitID integration?
MitID integration adds Denmark's national eID as a sign-in method inside your product. The user signs in with the digital identity they already hold, and Didit receives signed identity attributes at the cryptographic assurance tier. You enable it as the wallet method for Denmark in a Didit workflow.
How much does a MitID check cost on Didit?
MitID personal costs $0.25 per completed verification at list price. The price includes the wallet identity check, and no separate national eID transaction fee is added. A document fallback is a separate check at $0.15 for document verification, or $0.33 when the fallback workflow also runs passive liveness, face match and device and IP analysis. Growth and Scale discount Didit prices by 4% and 10%.
What data does a MitID sign-in return to my business?
Didit returns the signed identity attributes the wallet shares, at the cryptographic tier. The exact set depends on the wallet and on what the user consents to share, and a signature does not guarantee that a specific attribute is present or current. Read the session output for each user rather than assuming a fixed field list.
How do I enable MitID in a Didit workflow?
Add Denmark to the ID Verification feature config, enable the wallet method and set providers to mitid, with on_failure set to fallback_to_document if you want the document route. Confirm the wallet is available in your environment's live capability catalog before you save, because a wallet marked Coming soon is rejected.
What happens if a user cannot use MitID?
The session falls back to document verification when you set on_failure to fallback_to_document. The same session then continues through document capture, and the steps it runs are the ones your workflow configures, so liveness and face match only run if you added them. Without a configured fallback, the session cannot complete through the wallet.
Can we accept MitID and BankID Sweden in one workflow?
Yes. Wallet methods are configured per country, so you enable the Denmark wallet with mitid and the Sweden wallet in the same ID Verification feature. The session records which method produced the result, and each completed verification is billed at its own price: $0.25 for MitID and $0.20 for BankID Sweden.
How do we test MitID in the sandbox?
Create a sandbox application, enable the Denmark wallet method and create a test session with the Sessions API. Sandbox testing is free and unlimited. The sandbox scenario catalog lets you reproduce specific outcomes without live users.
How do we verify a Didit webhook signature?
Read the raw request body before parsing JSON, then recompute an HMAC-SHA256 with your destination secret. Use X-Signature-V2 for canonical JSON or X-Signature for the exact raw bytes, and reject a timestamp more than 300 seconds from now. Compare in constant time, and accept a match on the -Previous header while a rotated secret is being deployed.
Is MitID enough on its own for our onboarding policy?
That is your decision, not Didit's. The cryptographic tier says an identity provider authenticated the person and signed the attributes it returned, and it does not rank the method against a document check or a data match. Each business must assess its own policy and the law that applies to it.
How is billing affected when a user falls back to a document check?
You pay for the checks that complete. A wallet verification that finishes is billed at $0.25. A document check that finishes is billed at its own price: $0.15 for document verification, or $0.33 when the fallback also runs passive liveness, face match and device and IP analysis. A wallet attempt that never produces a result is not a completed check.
How do we handle a wallet failure or an unavailable wallet?
Set on_failure to fallback_to_document on the Denmark wallet block so the session continues through document capture. Record the reason in your own case notes if your policy requires it. A configured fallback handles wallet failure without a second integration.
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.
Your obligations · 3 regions
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.
- 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.
Didit Academy


