Skip to main content
Version: v4

OpenId4VcCredentialExchangeRecordDto

credentialExchangeIdstringrequired

Identifier of the issuance session

Example: 3fa85f64-5717-4562-b3fc-2c963f66afa6
jsonSchemaCredentialIdstringrequired

Credential type of the offer

Example: employee
statestringrequired

State of the issuance session

Possible values: [OfferCreated, OfferUriRetrieved, AuthorizationInitiated, AuthorizationGranted, AccessTokenRequested, AccessTokenCreated, CredentialRequestReceived, CredentialsPartiallyIssued, Completed, Error]

createdAtstring<date-time>required

When the agent created the offer

updatedAtstring<date-time>required

When the session last changed

expiresAtstring<date-time>

When the offer stops being valid

errorMessagestring

Error message on the session. The agent sets it if the flow stops.

OpenId4VcCredentialExchangeRecordDto
{
"credentialExchangeId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"jsonSchemaCredentialId": "employee",
"state": "OfferCreated",
"createdAt": "2024-07-29T15:51:28.071Z",
"updatedAt": "2024-07-29T15:51:28.071Z",
"expiresAt": "2024-07-29T15:51:28.071Z",
"errorMessage": "string"
}