Skip to main content

Proofs

When a verifier asks to check a credential, your user's cloud wallet answers with a proof (a verifiable presentation). The Cloud Wallet API's Proof endpoints let the wallet preview the verification request, see which stored credentials match, and then submit a proof or decline the request.

Before you start​

Make sure you have:

  1. A cloud wallet with at least one credential, and its wallet access token.
  2. A verification request for the wallet:
    • EU Digital Identity: the request URI from the verifier (verificationUri), passed as proofRequestUri.
    • cheqd and Indicio: a connection with the verifier. The request arrives over that connection, and you use its proofExchangeId and connectionId.

Steps​

  1. Open the Hovi Cloud Wallet API Reference.

  2. Go to the Proof section.

  3. Open POST - Preview Proof Request.

  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).

  5. Click Send. The response shows what the verifier asks for and which of the wallet's credentials match.

  6. To answer, send POST - Submit Proof Presentation with the same request and the credential to share. To refuse a cheqd or Indicio request, use POST - Decline DIDComm Proof Request.

Compound proof requests for EU Digital Identity​

The Cloud Wallet API can answer an EU Digital Identity verification request that asks for several credentials. The preview shows the matching credentials for each query and whether all of them or one of several alternatives is required, and the wallet can choose exactly which credentials to submit.

Use the same endpoints:

Both requests use protocol: "openid" and the wallet access token. See Compound proof requests for the full verifier and holder flow, the matching response, selection rules, examples and limitations.

Transaction data for EU Digital Identity​

The Cloud Wallet API can preview transaction data in an EU Digital Identity verification request. This lets the holder review what they are asked to approve, such as a payee, amount and currency, before sharing a credential.

Use the same endpoints:

  • Preview the request with POST /proof/preview-request. The response includes the transaction details and the credential-query IDs that can authorize it.
  • Submit the presentation with POST /proof/submit-presentation. The wallet binds the holder's approval to the presentation, so don't send another copy of transactionData.

Both requests use protocol: "openid" and the wallet access token. See Transaction data for the verifier setup, preview response, validation rules, examples and limitations.

What happens next​

Once the wallet submits the proof, the verifier checks it and gets the result. The Proof endpoints also let you list cheqd and Indicio verification requests and get one by its ID; see the Proof endpoints.