Skip to main content

Update credential revocation status

PUT 

/v2/config/digital-wallet/openid/sdjwt/credential/history/:credentialExchangeId/revocation-status

This endpoint is used to update the revocation status of the credential.

Request

Path Parameters

    credentialExchangeId stringrequired

    Identifier for the credential exchange record.

Body

    revocationStatus stringrequired

    Possible values: [Operational, Revoked, Suspended]

    Specifies the revocation status for verifiable credential.

Responses

Response Headers
    Schema
      credentialHistory object
      CredentialExchangeId string

      Identifier for the credential exchange record

      issuanceMode string

      Issuance mode: InTime for immediate availability, Deferred for issuance after backend processing.

      isPreAuthorised boolean

      Indicates if the grant type is pre-authorised or authorized code flow.

      credentialOffer string

      Credential offer defined as per OID4VCI draft 12 specification.

      credentialStatus string

      Possible values: [pending, ready]

      Credential status: pending for issuance, ready for issuance.

      status string

      Possible values: [offer_sent, offer_received, credential_issued, credential_acked, credential_accepted, credential_deleted, issuance_denied]

      It support 6 credential offer statuses: 1. offer_sent: Indicates the credential offer has been sent to the holder. 2. offer_received: Indicates the credential offer has been received/scanned by the holder. 3. credential_issued: Indicates the credential has been issued to the holder. 4. credential_acked: Indicates the credential has been seen by the holder. 5. credential_accepted: Indicates the credential has been accepted by the holder. 6. credential_deleted: Indicates the credential has been deleted by the holder. 7. issuance_denied: Indicates that credential issunace has been denied by the issuer.

      clientId string

      Identifier for the client. For e.g. DID or URL e.t.c

      userPin string

      Indicates if a userPin is needed with the Token Request. If not needed, this object is absent by default.

      createdAt number

      Timestamp when the record was created.

      updatedAt number

      Timestamp when the record was updated.

      credential object

      The credential being issued, containing various attributes. It contains type and credentialSubject fields. The type indicates the credential type for e.g. PortableDocumentA1 and credentialSubject defines the data attributes for a verifiable credential.

      property name* any

      The credential being issued, containing various attributes. It contains type and credentialSubject fields. The type indicates the credential type for e.g. PortableDocumentA1 and credentialSubject defines the data attributes for a verifiable credential.

      disclosureMapping object

      Mapping of credential subject attributes to limited disclosure for SD-JWT credentials.

      property name* any

      Mapping of credential subject attributes to limited disclosure for SD-JWT credentials.

      presentationDefinitionId string

      Identifier for the presentation definition

      presentationExchangeId string

      Identifier for the presentation exchange record.

      holder object

      Contains the metadata describing a holder. For e.g. Name, location, logo e.t.c

      name stringrequired

      Identifier of the holder. For .e.g. DID or Name obtained from client metadata if available.

      credentialFormat string

      Possible values: [jwt_vc_json, dc+sd-jwt, mso_mdoc]

      Specifies the credential format for verifiable credential.

      supportRevocation boolean

      Specifies the verifiable credential supports revocation.

      revocationStatus string

      Possible values: [Operational, Revoked, Suspended]

      Specifies the revocation status for verifiable credential.

      clientAssertion string

      Client assertion token of the holder

      clientAssertionTokenType string

      Client assertion token type

      isClientAssertionVerified boolean

      Specifies client assertion token is verified or not

      walletUnitAttestation string

      Specifies the wallet unit attestation credential.

      walletUnitAttestationPoP string

      Specifies the wallet unit attestation pop credential.

      walletUnitAttestationVerified boolean

      Specifies the wallet unit attestation credential is verified.

      credentialToken string

      Specifies the credential being issued to the holder.

      cnf object

      Specifies the public key jwk of the holder.

      property name* any

      Specifies the public key jwk of the holder.

      jti string

      Unique jwt token identifier for credential token

      proof string

      Credential request proof jwt

      proofType string

      Credential request proof type

      decodedWalletUnitAttestation object

      The decoded wallet unit attestation credential presented by the holder.

      property name* any

      The decoded wallet unit attestation credential presented by the holder.

      idToken string

      Specifies the id token that has shared by the holder

      idTokenDecoded object

      Specifies the decoded id token jwk that shared by the holder

      idTokenVerified boolean

      Specifies the id token is verified.

      issuanceDeniedReason string

      Specifies the issuance denied reason.

      expiredCredentialTokens string[]

      Contains expired credential tokens

      expiredCredentials object[]

      Contains expired credentials decoded objects

    Loading...