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

Dernière mise à jour