Skip to main content

Custom verifications

How can I customise verifications?​

MyNextID Verification Engine enables users to define it's own set of verifications through scopes in the verify API. Scopes are defined in an array of strings inside the body of the request, e.g.:

"scopes": [ "validate:timestamp#validFrom", "signature" ]

Check the list of available scopes:

ScopeFunctionality
didChecks the credential for did documents and validates them
schemaValidates the credentialSchema field. As a bonus, an end user can add their own schema to validate the parsed credential payload
signatureTests the signature of the entire credential
statusTests the credentialStatus field
status:revocationTests the credentialStatus field for revocation entries only
status:suspensionTests the credentialStatus field for suspension entries only
validateValidates the timestamps in the credential, if they are all still valid
validate:expirationDateValidates if the field expirationDate is valid compared to the current time
validate:issuanceDateValidates if the field issuanceDate is valid compared to the current time
validate:validFromValidates if the field validFrom is valid compared to the current time

You can also list available scopes by using this API.

Try our test application​

You can try our test application that implements all available APIs and scopes here.