📲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