Read PID verification extension
Reads the PID Verification extension. It gives your organisation one presentation definition, labelled PID Verification, that asks for the Person Identification Data (PID) from EUDI Wallets in the chosen formats and with the chosen attributes.
Send a verification request with presentationDefinitionId (OpenID4VC API, verifier). attributes lists each attribute of the PID with its claim path in each format and tells which attributes the definition asks for. Change the formats and the attributes with PUT /v4/config/platform/extension/pid-verification.
The extension starts with a definition that asks for an SD-JWT VC PID with the mandatory attributes of the PID Rulebook.
The answer is 404 when the extension is not enabled, also while it waits for its signing key (awaitingKey). Turn it on first with PUT /v4/config/platform/extension/pidVerification and a signingKeyId.
Authorizations
AuthorizationstringheaderrequiredYour API key with the prefix
ApiKey:ApiKey <your-api-key>. Get an API key.Scope:
extensions:read
Response
The configuration of the extension.
extensionStatus booleanAlways
truein this answer. An extension that is notenabledgives404.presentationDefinition objectThe presentation definition of the extension.
formatsenum<string>[]The formats that the definition accepts:
dc+sd-jwt(SD-JWT VC) andmso_mdoc(ISO/IEC 18013-5). With both, the wallet presents the PID in the format that it holds.Available options:
dc+sd-jwt,mso_mdocattributesobject[]Each attribute of the PID (PID Rulebook v1.7). The definition asks for an attribute when
selectedistrue, also for a mandatory one. Each chosen attribute is a required claim: a wallet only presents a PID that has each of them.rulebookobjectThe rulebook that the attributes follow.