π²Receive the Verifier data with a webhook in your backend
If you want to receive the data in your backend, create a webhook and copy the URL of the webhook in the page (βWebhook URL of your applicationβ).
POST request with header Content-Type : application/json and in option an API KEY authentication βkeyβ : <your_key>)β
Event types : βVERIFICATIONβ or βVERIFICATION _DATAβ
Example :
event : string βVERIFICATIONβ or βVERIFICATION_DATAβ
id : string : The id passed through the call or the user blockchain address
presented : string : date of the user connexion
vc_type : ov13, over18, loyalty cards, etc
verification : Signature check
Event βVERIFICATION_DATAβ : in that case the webhook receives the full verifiable presentations signed by the wallet with the verifiable credentials signed by the issuer.
Below an example of a webhook code in python :
Last updated