Read age verification extension
Reads the configuration of the Age Verification extension: the presentation definition that it uses, the credentials that a wallet can present, and the age limits that the request asks for.
Send verification requests with presentationDefinitionId (OpenID4VC API, verifier). The extension keeps this system-managed presentation definition up to date when you change the credentials or the age limits.
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/ageVerification 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 Id string<uuid>The system-managed presentation definition of the extension. Send verification requests with it.
labelstringThe label of the presentation definition.
identityCredentials object[]The credentials that a wallet can present to prove the age. One of the enabled credentials is enough.
ageLimits object[]The age limits that the request asks for. They apply to the Photo ID (
isOver18only) and to the age verification credential. With no limit set, the request asks the age verification credential forage_over_18only (the one age-over claim that each such credential has), and the Photo ID for the birth date.