Skip to main content
PID Verification

Read PID verification extension

GET/v4/config/platform/extension/pid-verification

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

  • Authorizationstringheaderrequired

    Your API key with the prefix ApiKey: ApiKey <your-api-key>. Get an API key.

    Scope:extensions:read

Response

application/json

The configuration of the extension.

  • extensionStatusboolean

    Always true in this answer. An extension that is not enabled gives 404.

  • presentationDefinitionobject

    The presentation definition of the extension.

  • formatsenum<string>[]

    The formats that the definition accepts: dc+sd-jwt (SD-JWT VC) and mso_mdoc (ISO/IEC 18013-5). With both, the wallet presents the PID in the format that it holds.

    Available options:dc+sd-jwt,mso_mdoc

  • attributesobject[]

    Each attribute of the PID (PID Rulebook v1.7). The definition asks for an attribute when selected is true, also for a mandatory one. Each chosen attribute is a required claim: a wallet only presents a PID that has each of them.

  • rulebookobject

    The rulebook that the attributes follow.