Skip to main content

AuthorizationStatusResponse

statusAuthorizationStatus (string)required

Possible values: [authorization_request_created, authorization_request_retrieved, authorization_response_received, authorization_response_verified, error]

correlation_idstringrequired

Unique identifier for the authentication session

Example: 2cc29d1c-7d00-46f8-b0ae-b4779d2ff143
error object

Error details returned when an operation fails

statusintegerrequired

HTTP status code

Example: 500
messagestringrequired

Human-readable error message

Example: Could not verify auth status
error_detailsstring

Additional error details or stack trace when available

query_idstringrequired

Identifier for the presentation definition that specifies which credentials are required

Example: ExampleSdJwtId
last_updatedintegerrequired

Unix timestamp in milliseconds representing when the status was last updated

Example: 1706515200000
verified_data object

This object is only included in case the authorization status is 'authorization_response_verified'

authorization_response object
presentation_submissionobject

Object containing information about how the presented credentials fulfill the presentation definition requirements. Only if PE is used!

vp_token object
oneOf
object
credential_claims object[]
  • Array [
  • idstringrequired

    The id of the query. Can be a presentation exchange id, a DCQL query or query set Id. Used by the RP to match the credential against the query

    typestringrequired

    The digital credential type. Can be a vct value, or for instance a json-ld type

    claims object

    The claims returned and deserialized in the form of a map, where the keys represent the claim names

    property name*string
  • ]
  • AuthorizationStatusResponse
    {
    "status": "authorization_request_created",
    "correlation_id": "2cc29d1c-7d00-46f8-b0ae-b4779d2ff143",
    "error": {
    "status": 500,
    "message": "Could not verify auth status",
    "error_details": "string"
    },
    "query_id": "ExampleSdJwtId",
    "last_updated": 1706515200000,
    "verified_data": {
    "authorization_response": {
    "presentation_submission": {},
    "vp_token": {}
    },
    "credential_claims": [
    {
    "id": "string",
    "type": "string",
    "claims": {}
    }
    ]
    }
    }