Skip to main content

Read credential

GET 

/v2/config/digital-wallet/openid/sdjwt/credential/:credentialId

This endpoint is used to read credential.

Request

Path Parameters

    credentialId stringrequired

    Identifier for the credential

Responses

Response Headers
    Schema
      credential object
      credentialId stringrequired

      Identifier for the credential

      credentialToken stringrequired

      JSON web token for the verifiable credential received and stored.

      credential objectrequired

      Decoded payload for JWT of the verifiable credential received and stored.

      property name* any

      Decoded payload for JWT of the verifiable credential received and stored.

      credentialStatus stringrequired

      Possible values: [credential_pending, credential_acked]

      It support 2 credential statuses: 1. credential_pending: Indicates the credential requires further inputs such as a transaction code or is still not ready as the issuance mode is deferred. 2. credential_acked: Indicates the credential has been received and stored by the holder.

      acceptanceToken stringrequired

      To be used for receiving the credential using deferred credential endpoint.

      credentialIssuer stringrequired

      Identifier of the credential issuer

      userPin stringrequired

      Transaction code used for receiving credential using pre-authorized grant.

      createdAt numberrequired

      Timestamp when the record was created.

      updatedAt numberrequired

      Timestamp when the record was updated.

      userPinRequired booleanrequired

      Indicates that a transaction code is necessary for receiving credential using pre-authorized grant.

      credentialFormat stringrequired

      Format of the credential received. For e.g. jwt_vc or jwt_vc_json or dc+sd-jwt

      presentationId stringrequired

      Identifier for the presentation

      issuer objectrequired
      name string
      location string
      cover string
      logo string
      description string
      credentialConfigurations object
      transactionCode object
      inputMode string

      Possible values: [numeric, text]

      inputLength integer
      description string
      authorizationDetails object[]
    • Array [
    • type string
      credential_configuration_id string
      format string
    • ]
    • revocationStatus string

      Possible values: [Operational, Revoked, Suspended]

      Specifies the revocation status for verifiable credential.

      legalPidAttestation string

      Specifies the legal pid attestation verifiable credential of the issuer.

      legalPidAttestationPop string

      Specifies the legal pid attestation proof of pocession credential of the issuer.

      legalPidVerified boolean

      Specifies whether legal pid attestation credential of issuer is verified.

      autoPresent boolean

      Boolean value indicates whether the credential should be auto presented.

      version string

      Possible values: [draft_14, draft_18]

      Specifies the version of oid4vp draft specification

      kid string

      Specifies the key identifier of keys to be used for credential issuance

      trustAnchor string

      Possible values: [jwk, did:key, did:ebsi, did:web]

      Specifies the trust anchor used for credential issuance

      expiredCredentialTokens string[]

      Contains expired credential tokens

      expiredCredentials object[]

      Contains expired credentials decoded objects

    Loading...