Read verification
GET/v3/config/digital-wallet/openid/sdjwt/verification/:presentationId
Retrieves a presentation record (V3) from the wallet of the holder. Give the presentationId that the receive operation returned. The record holds the DCQL query, the transaction data, the trust list result and the response encryption parameters.
Request
Path Parameters
Unique identifier of the presentation record in the wallet of the holder: the presentationId of the record, which the receive verification operation returns. The id of the record holds the same value.
Responses
- 200
- 400
- 401
- 500
The wallet returns the presentation record.
Response Headers
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
presentation_pending: The holder must select the matching credentials and send the Verifiable Presentation to the verifier.presentation_acked: The wallet sent the Verifiable Presentation and the verifier accepted it.- Array [
- ]
presentation object
Presentation record in the wallet of the holder. The record tracks one OpenID for Verifiable Presentation (OpenID4VP) Authorization Request that the holder got, and the presentation that the holder sent back.
This V3 shape keeps vpToken as an array, so the wallet can send more than one Verifiable Presentation in a single Authorization Response.
The wallet returns every property of this schema on every V3 holder operation. A property that has no value yet holds the empty value for its type: "" for a string, 0 for a number, false for a boolean and null for an object or an array.
Identifier of the presentation record. It holds the same value as presentationId.
Unique identifier of this presentation in the wallet of the holder. Use this identifier to read the record, to send the presentation, or to delete the record.
Identifier of the verification exchange at the verifier, when the wallet knows it, for example for a presentation that an issuer of this platform asks for during issuance. Empty for a record that the receive verification operation made.
Identifier of the digital wallet deployment that holds this presentation record.
Identifier of the organisation that owns the wallet of the holder.
presentationSubmission object
Presentation Submission object of the DIF Presentation Exchange specification. It maps the credentials of the holder to the requirements of the verifier.
DCQL is the only query form that an iGrant.io verifier sends, and a DCQL Authorization Response carries no Presentation Submission, so the wallet returns null here for such a request. A value is present only when an outside verifier still sends a DIF Presentation Exchange definition.
Identifier of the presentation definition that this submission fulfils.
descriptor_map object[]required
Descriptor Map entries. Each entry gives the position of one requested credential in the Verifiable Presentation.
Credential format of the matched credential, for example jwt_vc_json, dc+sd-jwt or mso_mdoc.
Identifier of the Input Descriptor that this entry satisfies.
JSONPath expression that points to the credential in the Verifiable Presentation token.
path_nested object
Nested path descriptor for credentials in an envelope format, for example a JWT in a VP JWT.
Credential format of the nested credential, for example jwt_vc_json, dc+sd-jwt or mso_mdoc.
Identifier of the Input Descriptor that this nested entry satisfies.
JSONPath expression that points to the credential in the envelope.
Unique identifier of this Presentation Submission.
Verifiable Presentation tokens that the wallet sent to the verifier. The array holds one entry for each credential that the Authorization Request asked for. The value is null until the holder sends the presentation.
Possible values: [presentation_pending, presentation_acked]
Lifecycle status of the presentation in the wallet of the holder:
The holder wallet does not store the result of the checks of the verifier, so this value is always false. The verifier reads the result in its own verification record.
The holder wallet does not store the validation result of the verifier, so this value is always null. The verifier reads the result in its own verification record.
State value of the Authorization Request of the verifier. The wallet returns this value with the Authorization Response so that the verifier can match the two.
Client identifier of the verifier as the Authorization Request gives it, with its prefix, for example x509_hash:... or decentralized_identifier:did:....
Redirect URI from the Authorization Request. The wallet posts the Authorization Response to this URI.
Request URI of the Authorization Request. The wallet gets the full Authorization Request from this URI when the verifier passes the request by reference.
Redirect URI that the verifier returned in the Authorization Response. The wallet sends the holder to this URI after the verifier processed the presentation.
DIF Presentation Exchange definition of the verifier, as a serialised JSON string. Empty when the verifier sent a DCQL query, which is the only query form that an iGrant.io verifier sends. Read dcqlQuery for the credential and claim requirements.
Cryptographic nonce from the Authorization Request. The wallet puts this value in the Key Binding JWT to keep the presentation fresh and to stop replay.
Possible values: [vp_token]
OAuth 2.0 response type of the Authorization Request. The wallet accepts only vp_token.
Identifier of the credential in the wallet that the holder chose for this presentation.
clientMetadata objectrequired
Metadata of the verifier from the Authorization Request. The wallet shows this information to the holder before the holder approves the presentation.
Display name of the verifier.
URL of the logo of the verifier.
Location or address of the verifier.
URL of the cover image of the verifier.
Description of the verifier.
presentation object[]
Credentials that the Verifiable Presentation holds. The value is null until the holder sends the presentation.
Identifier of the DCQL credential query that this credential satisfies. For a request from an outside verifier that still uses Presentation Exchange, this is the Input Descriptor identifier.
Identifier of the credential in the wallet of the holder.
Credential types of the presented W3C Verifiable Credential. The wallet leaves this property out for other credential formats.
credentialSubject object
Disclosed claims of a presented W3C VC JWT credential. The wallet leaves this property out for other credential formats.
Disclosed claims of a presented W3C VC JWT credential. The wallet leaves this property out for other credential formats.
Verifiable Credential Type of a presented IETF SD-JWT VC credential. The wallet leaves this property out for other credential formats.
Document type of a presented ISO 18013-5 mDoc credential. The wallet leaves this property out for other credential formats.
claims object
Disclosed claims of a presented SD-JWT VC or mDoc credential. The wallet leaves this property out for other credential formats.
Disclosed claims of a presented SD-JWT VC or mDoc credential. The wallet leaves this property out for other credential formats.
Transaction data from the Authorization Request, as the verifier sent it. The value is normally an array of base64url strings. The holder must approve this data before the wallet sends the presentation. Read transactionDataDecoded to show the data to the holder.
Decoded transaction data. The wallet shows these objects to the holder for approval.
dataAgreement object
Data agreement from the Authorization Request. It gives the terms that govern this verification exchange.
Data agreement from the Authorization Request. It gives the terms that govern this verification exchange.
Legal Person Identification Data attestation of the verifier. The wallet uses it to check the legal identity of the verifier.
Proof of possession for the Legal Person Identification Data attestation of the verifier.
true when the wallet checked the Legal Person Identification Data attestation of the verifier and the check passed.
true when the wallet found the verifier in a configured trust list.
trustServiceProvider object
Trust Service Provider entry that the wallet used to check the identity of the verifier.
Trust Service Provider entry that the wallet used to check the identity of the verifier.
Possible values: [``, did:key, x509]
Holds the same value as cryptographicKeyFormat.
Holds the same value as cryptographicKeyIdentifier.
Possible values: [``, x509_hash, x509_san_dns, decentralized_identifier, did, verifier_attestation, redirect_uri]
Client identifier prefix of the Authorization Request. It sets how the verifier identifies itself and how the wallet checks the request. Empty when the client identifier has no prefix.
Verifier Attestation JWT from the verifier. It proves that the verifier may ask for the requested credentials.
dcqlQuery object
Digital Credentials Query Language (DCQL) query from the Authorization Request. Read credentials[].id from this query to build the credentials array of the send operation. null when the verifier sent a DIF Presentation Exchange definition instead.
Digital Credentials Query Language (DCQL) query from the Authorization Request. Read credentials[].id from this query to build the credentials array of the send operation. null when the verifier sent a DIF Presentation Exchange definition instead.
encryptionJwk object
Public key of the verifier as a JWK. The wallet uses it to encrypt the Authorization Response when the response mode asks for encryption.
Public key of the verifier as a JWK. The wallet uses it to encrypt the Authorization Response when the response mode asks for encryption.
Possible values: [A128CBC-HS256, A128GCM, A256GCM]
JWE content encryption algorithms that the verifier accepts for the encrypted Authorization Response, limited to the values that the wallet supports. Give one of them as encryptionAlgorithm of the send operation.
Possible values: [``, A128GCM, A256GCM, A128CBC-HS256]
JWE content encryption algorithm (enc) that the wallet used to encrypt the Authorization Response: one value of encryptedResponseEncValuesSupported. Empty until the send operation, and empty when the response mode does not ask for encryption.
Key identifier of the holder key that the wallet uses for this presentation.
Possible values: [``, did:key, x509]
Format of the holder key that the wallet uses for this presentation.
Result of the check of the Legal Person Identification Data attestation of the verifier. Each entry holds validatedAt, attestation (isExpired, isRevoked, isVerified, errors) and proofOfPossession (isExpired, isVerified, errors). The list is empty, or null, when the verifier sent no attestation.
Unix timestamp in seconds when the wallet made this record.
Unix timestamp in seconds when the wallet last changed this record.
{
"presentation": {
"id": "3f2a7c18-9b4e-4d0a-8c6f-1e5b2a9d4c73",
"presentationId": "3f2a7c18-9b4e-4d0a-8c6f-1e5b2a9d4c73",
"presentationExchangeId": "8e9c0a94-3b7d-4f2c-9d11-2f5a0b1c8d3e",
"openIdOrganisationId": "string",
"organisationId": "string",
"presentationSubmission": {
"definition_id": "string",
"descriptor_map": [
{
"format": "string",
"id": "string",
"path": "string",
"path_nested": {
"format": "string",
"id": "string",
"path": "string"
}
}
],
"id": "string"
},
"vpToken": [
"string"
],
"status": "presentation_pending",
"verified": true,
"presentationValidity": [
{}
],
"vpRequestState": "5d8f2c9b-c2a4-4f0c-9a7d-1c2b3a4d5e6f",
"clientId": "string",
"redirectUri": "string",
"requestUri": "string",
"responseRedirectUri": "string",
"presentationDefinition": "string",
"nonce": "z4cVLRsq9pKx0NgQ7E3hJg",
"responseType": "vp_token",
"credentialId": "string",
"clientMetadata": {
"clientName": "string",
"logoUri": "string",
"location": "string",
"coverUri": "string",
"description": "string"
},
"presentation": [
{
"id": "string",
"credentialId": "string",
"type": [
"string"
],
"credentialSubject": {},
"vct": "string",
"doctype": "string",
"claims": {}
}
],
"transactionDataDecoded": [
{}
],
"dataAgreement": {},
"legalPidAttestation": "string",
"legalPidAttestationPop": "string",
"legalPidVerified": true,
"isVerifiedWithTrustList": true,
"trustServiceProvider": {},
"trustAnchor": "",
"kid": "string",
"clientIdScheme": "",
"verifierAttestation": "string",
"dcqlQuery": {},
"encryptionJwk": {},
"encryptedResponseEncValuesSupported": [
"A128CBC-HS256"
],
"encryptionAlgorithm": "",
"cryptographicKeyIdentifier": "string",
"cryptographicKeyFormat": "",
"legalPidAttestationValidity": [
{}
],
"createdAt": 1747011600,
"updatedAt": 1747011600
}
}
The presentation ID is unknown.
Response Headers
- application/json
- Schema
- Example (from schema)
Schema
{
"errorCode": 400,
"errorDescription": "Bad input parameter"
}
Unauthorized
Response Headers
- application/json
- Schema
- Example (from schema)
Schema
{
"errorCode": 400,
"errorDescription": "Bad input parameter"
}
Internal server error
Response Headers
- application/json
- Schema
- Example (from schema)
Schema
{
"errorCode": 400,
"errorDescription": "Bad input parameter"
}