Credential API

Get the offer data, if any is still cached

Changed on
get/management/api/credentials/{credentialManagementId}

Request

  • Base URL
    http://localhost:8080
  • Auth
    none declared

Path parameters

credentialManagementIdstring uuid required

Response

Credential offer found

idstring uuid
status'INIT' | 'OFFERED' | 'CANCELLED' | 'IN_PROGRESS' | 'DEFERRED' | 'READY' | 'ISSUED' | 'SUSPENDED' | 'REVOKED' | 'REQUESTED' | 'EXPIRED'
Status for the full lifecycle of a verifiable credential.
OFFERED - an offer link has been created, and not yet redeemed by a holder.
CANCELLED - the VC was revoked before being claimed.
IN_PROGRESS - very short lived state, if the Holder has redeemed the one-time-code, but not yet gotten their credential. To allow a holder to retry fetching the vc set the state to offered.
DEFERRED - the offer has been used and all necessary data from the wallet has been received but the credential is not yet issued. To use this state the credential metadata entry has to have deferred set to true.
READY - Status set by the business issuer to continue the issuance of the credential for the deferred flow.
ISSUED - the VC has been collected by the holder and is valid.
SUSPENDED - the VC has been temporarily suspended. To unsuspend change state to issued.
REVOKED - the VC has been revoked. This state is final and can not be changed.
EXPIRED - the lifetime of the VC expired (not used yet)
renewal_request_countinteger
renewal_response_countinteger
dpop_keystring

Example response

{
  "status": "SUSPENDED",
  "credential_offers": [
    {
      "status": "SUSPENDED"
    }
  ]
}

Changes

    • breaking

      the response property /// became nullable for the status

    • breaking

      the response property /// became nullable for the status

    • breaking

      the response property /// became nullable for the status

    • warning

      removed the optional property /// from the response with the status