Send Presentation request
As a relying party (e.g Verifier), you want to validate user or company attestations. The verifier needs to initiate de communication by sending a presentation request.
From the Verifier wallet
In this example, you will request a presentation of the attestation you created previously
Create a new request with the Method POST and the value {{base_URL}}/presentations/send-request
Rename this request "Send presentation request"
Select the tab
Body, then selectrawand copy/paste this json request (replace the connectionId by the Id you received in the webhook):
{
"connectionId": "0f42f1da-ab2d-41da-91e1-167c31d966a9",
"attributes": {
"type": {
"schemaId": "1uYeHCcPjzRVGFQcFPMsg:2:Test Attestation publique XXX:1.0"
},
"size": {
"schemaId": "1uYeHCcPjzRVGFQcFPMsg:2:Test Attestation publique XXX:1.0"
},
"price": {
"schemaId": "1uYeHCcPjzRVGFQcFPMsg:2:Test Attestation publique XXX:1.0"
}
},
"predicates": {}
}Save the request and click
SENDyou will get a response "Status 204 No Content"
at the same time, you will receive a webhook
Mis à jour
Ce contenu vous a-t-il été utile ?