Skip to main content

Credentials

The Cloud Wallet API's Credential endpoints let your user's cloud wallet receive and keep credentials. The wallet can preview a credential offer to see what it contains, accept or decline it, and list or delete the credentials it holds.

Before you start​

Make sure you have:

  1. A cloud wallet and its wallet access token.
  2. A credential offer for the wallet:
    • EU Digital Identity: the credentialOfferUri from the issuer's offer.
    • cheqd and Indicio: a connection with the issuer. The offer arrives over that connection, and you use its credentialExchangeId.

Steps​

  1. Open the Hovi Cloud Wallet API Reference.
  2. Go to the Credential section.
  3. Open POST - Accept Credential Offer.
  4. Click Test Request, enter the wallet access token as a Bearer Token, and fill in the body parameters. Set protocol to openid (EU Digital Identity) or didcomm (cheqd and Indicio). If the offer has a transaction code, pass it in preAuthorizedFlowOptions.transactionCode.
  5. Click Send. If the request succeeds, the credential is stored in the wallet.

What happens next​

The wallet can now share the credential when someone asks to check it; see Proofs. The Credential endpoints also let you preview offers, list received offers (cheqd and Indicio), decline offers (cheqd and Indicio), and list and delete stored credentials; see the Credential endpoints.