light-mode-image
Learn

Decide what data you need to verify

mDoc verification supports selective disclosure, so you only request the specific data elements relevant to your use case. This page covers common scenarios and how presentation requests work.

Decide what data you need to verify

mDoc verification supports selective disclosure, meaning you only request the specific data elements relevant to your use case. Common verification scenarios include:

Use caseTypical data requested
Age verification (alcohol, tobacco)age_over_18 or age_over_21
Identity proofing (account opening)family_name, given_name, birth_date, portrait
Address verificationresident_address, resident_city, resident_state
Document validityexpiry_date, document_number, issue_date
Vehicle category check (mDL)driving_privileges

Only request the minimum data elements needed for your business process. Selective disclosure is a core privacy feature of the mDoc standards and helps your application comply with data minimization requirements.

When configuring your verifier, you define a presentation request that specifies which data elements to request from the credential. For mDLs, presentation requests map to the ISO/IEC 18013-5 namespace (org.iso.18013.5.1). Other mDoc credentials use the namespaces defined by their respective specifications (for example, ISO/IEC 23220-based credentials). Both MATTR VII and the MATTR Pi SDKs support flexible presentation requests across these namespaces.

Next steps

With your data requirements defined, embed the SDKs into your application.

How would you rate this page?

Last updated on

On this page