Credential API

Get a specific offer data, if it is still cached

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

Request

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

Path parameters

credentialManagementIdstring uuid required
offerIdstring uuid required

Response

Credential offer found

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)
metadata_credential_supported_idstring[]
holder_jwksstring[]
key_attestationsstring[]
offer_expiration_timestampinteger
deferred_offer_expiration_secondsinteger
credential_valid_fromstring date-time
credential_valid_untilstring date-time
offer_deeplinkstring
vc_hashstring[]

Example response

{
  "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