๐๏ธ Introduction
The issuer service exposes API for creating Relationships, issuing and revoking Verifiable Credentials from the Bhutan NDI Wallet. Any response from the Bhutan NDI Wallet such as accepting the connections or credentials that can be consumed by Client Application needs to consume the response by subscribing to webhook or NATS using threadId as a pattern.
๐๏ธ Issue Credential
The Client Application can use the Issuer Service to issue Verifiable Credential to Bhutan NDI Wallet. A generic flow for issuing Verifiable Credential can be found here.
๐๏ธ Issue Credential using Relationship
Example: Sending Credential offer directly to user using Relationship DID
๐๏ธ Credential Revocation Flow
- To make a Credential Definition revocable, the client has to request Bhutan NDI team
๐๏ธ Relationship / Connection
The Client Application can use this API to create Relationships with the userโs Bhutan NDI Wallet which creates the Relationship DID that can be used for sending the proof request or credential offer directly to the user's Bhutan NDI Wallet. The Relationship DID can be stored in the Client Application for future interactions, however the Relationship DID will be invalid if the user deletes this Relationship from the Bhutan NDI Wallet. The Client Application can get the new Relationship DID if the user forms a new Relationship via Connection or Proof Request or Credential Offer.