Get the status of a verification session between Verification Service and external wallet.
GET /verification-session/status/{verificationSessionId}
Returns the status of a verification session between Verification Service and external wallet. The status can be one of the following:
IN_PROGRESS
— denoting that the verification protocol is still ongoing.VERIFICATION_FAILED
— denoting that the verification protocol has terminated, and Verification Service was unable to verify the credential. Additionally, adescription
field will be present with this variant containing some additional information.VERIFICATION_SUCCEEDED
— denoting that the verification protocol has terminated, and Verification Service was able to cryptographically verify the credential, and validate the issuer authenticity according to the trust policy valid for this session. Additionally, apresentedClaims
field will be present containing the claims that were disclosed during presentation. This allows the caller to perform any business-logic checks they wish.
The session will be removed from the external verifier after the
session timeout expires no matter its status. The session timeout is
controlled by the verification_session_timeout_secs
configuration
parameter. After the session is removed this call will return a 404 - Session not found
error.
Parameters
Path Parameters
A unique ID of the verification session
Responses
200
Verification session status retrieved successfully.
object
Status of the verification session, either
IN_PROGRESS
, VERIFICATION_FAILED
, or
VERIFICATION_SUCCEEDED
.
VERIFICATION_SUCCEEDED
JSON object containing claims that were disclosed during presentation.
object
{ "name": "John", "age": 27, "address": { "street": "Baker Street", "postalCode": "NW1" }, "nationalities": [ "UK" ]}
Additional information about the failure of the verification in the given session.
Invalid signature.
{ "verificationSessionStatus": "VERIFICATION_SUCCEEDED", "presentedClaims": { "name": "John", "age": 27, "address": { "street": "Baker Street", "postalCode": "NW1" }, "nationalities": [ "UK" ] }}
400
Bad request (e.g. invalid UUID).
object
Error message
Session ID is not a valid UUID.
404
Verification Session not found.
object
Error message
Verification Session not found
500
Internal Server Error
object
Error message
Internal Server Error