Archipels Documentation
  • 🫂Welcome!
    • 🏢Who are we?
    • 🆔What is SSI?
    • 👨‍🏫Glossary of terms
  • 👩‍🔧Product Overview
    • Wallet
    • Electronic Attestations
    • DIDs
    • Trust Registry
  • ⚒️Set up
    • Create an individual wallet and request an attestation
    • Configure an access token
    • Create a Webhook
    • Create your test environment
    • Get your DID wallet
  • 🏗️Create attestation request
    • 🧩Get and Accept Attestation
      • API call : get attestations in my wallet
      • Accept attestation
    • 🏗️Create an Onboarding attestation request against Archipels
      • Attestation request
      • Accept attestation
    • 🏗️Create an email attestation request against Archipels
      • Attestation request
      • Accept attestation
  • 📃Issue attestation
    • Create a second wallet and configure this new environment
    • Create a schema attestation
    • Create a connection: Create an invitation
    • Create a connection: Accept an invitation
    • Attestation send offer
    • Accept attestation
  • 🔀Send presentation request
    • 🪪Send a Presentation
      • Create a third wallet and configure this new environment
      • Create a connection
      • Send Presentation request
      • Get the list of presentation requests (not available currently)
      • Get the presentation requests
      • Get the list of valid attestations
      • Send/Show presentation
      • Get the presentation
    • 📑Send several Presentations
      • Send Presentations request
      • Get the presentation requests
  • ➕Other features
    • 📩Messages
      • Send a message
    • 📃Delete an attestation
      • Delete attestation
  • 🏁API: COLLECTIONS
  • List of schemes
  • 🔗Links
    • Website
    • Recruitement
    • Doc for Archipels Certify
    • Trust Registry
Propulsé par GitBook
Sur cette page

Cet article vous a-t-il été utile ?

  1. Send presentation request
  2. Send a Presentation

Get the presentation

Now that the Holder sent the attestation attributes, the Verifier need to get its

From the Verifier wallet

  • At the same time, the presentation show was sent, and should have received a webhook for the Verifier:

{
  "event": "PRESENTATION_RECEIVED",
  "connectionId": "bcef7121-016c-4945-ba86-f3a8afeeee52",
  "presentationId": "9484bea0-d715-45c3-bc27-b527457237c2"
}
  • Copy the presentationId (in our example: 9484bea0-d715-45c3-bc27-b527457237c2)

  • Create a new request with the Method GET and the value {{base_URL}}/presentations/{id}

  • Rename this request "get presentation"

  • Replace {id} with the presentationId you have copied above

  • Save the request and click SEND

the response is

{
    "id": "9484bea0-d715-45c3-bc27-b527457237c2",
    "connectionId": "bcef7121-016c-4945-ba86-f3a8afeeee52",
    "deliveryState": "shown",
    "attributes": {
        "type": {
            "schemaId": "1uYeHCcPjzRVGFQcFPMsg:2:Test Attestation publique XXX:1.0",
            "value": "T-shirt"
        },
        "size": {
            "schemaId": "1uYeHCcPjzRVGFQcFPMsg:2:Test Attestation publique XXX:1.0",
            "value": "M"
        },
        "price": {
            "schemaId": "1uYeHCcPjzRVGFQcFPMsg:2:Test Attestation publique XXX:1.0",
            "value": "10€"
        }
    },
    "predicates": {}
}

To summarize this use case, at the beginning of the flow, you asked the Holder to send the value of the attributes "type", "size" and "price". You finally received the value of each attribute

PrécédentSend/Show presentationSuivantSend several Presentations

Dernière mise à jour il y a 1 an

Cet article vous a-t-il été utile ?

🔀
🪪