Issuance Event
The IssuanceEvent
tracks the status of credential offers that are initiated through the credentials/issue
endpoint
of the issuer service.
Example Issuance Event
{
"type": "id.walt.commons.events.IssuanceEvent",
"eventType": "IssuanceEvent",
"_id": "2a7b554a-37c7-4ae6-809f-2559bfa47913",
"originator": null,
"organization": "waltid",
"target": "waltid.mycustomer.issuer2",
"timestamp": 1741192586004,
"action": {
"type": "init_session"
},
"status": {
"type": "Open"
},
"callId": "436a8a95-3290-4b65-94b9-a0970012d91c",
"error": null,
"sessionId": "fb517c9d-5178-48a9-8d39-9fd89d857d53",
"credentialConfigurationId": "identity_credential_vc+sd-jwt",
"format": "vc+sd-jwt"
}
IssuanceEvent Attributes
- type: Specifies the Kotlin class name of the event.
- eventType: Indicates the type of event. In our case
"IssuanceEvent"
. - _id: A unique identifier for the event, represented as a UUID, e.g.
"2a7b554a-37c7-4ae6-809f-2559bfa47913"
. - originator: Attribute identifying the user or system that initiated the event.
- organization: The organization responsible for the event, e.g.
"waltid"
. - target: The service in which the event was triggered, e.g.
"waltid.mycustomer.issuer2"
. - timestamp: The time the event occurred, represented as a Unix timestamp in milliseconds, e.g.
1741192586004
. - action: This describes the specific action of the event, e.g.
"init_session"
. - status: The current state of the event. It is represented as an object with a
type
of"Open"
, indicating that the event is in progress. It can also beSuccess
orFailure
- callId: An optional identifier for tracking HTTP calls, represented as a UUID. Here, it is
"436a8a95-3290-4b65-94b9-a0970012d91c"
. - error: An optional attribute that contains an error message if the event encountered an issue.
- sessionId: A unique identifier for the OID4VC session associated with the event, represented as a UUID. In this example, it is
"fb517c9d-5178-48a9-8d39-9fd89d857d53"
. - credentialConfigurationId: The configuration ID of credential being issued. Here, it is
"identity_credential_vc+sd-jwt"
. - format: The format of the credential being issued. In this example, it is
"vc+sd-jwt"
.