Webhook
Setting up your company wehbook can be achieved using the following steps.
- Navigate to Settings from the sidebar
- Click on the Merchant Profile tab
- Edit the Webhook URL input with your reachable webhook endpoint.
- Save your update
- You are good to go👍
Every webhook event sent to your URL contains two headers.
- x-identitypass-signature This is a base64 encoding of your public key
- token This is a unique verification reference generated by Identitpass
Note: these two headers can be used to verify that the data coming to the endpoint are from our system and we also recommend you verify the host of every request and make sure it is coming from our API BASE URL.
Please make sure to return a status code of 200 for every webhook event sent to your endpoint to prevent us from trying to process the event again.
PORTAL
CHECKOUT
{
"source":"PORTAL",
"data":{
"status":True, // True or False
"response_code":"00",
...
...
// other data structures (same as API responses)
}
}
{
"source":"CHECKOUT",
"user_info": {
"date": "",
"first_name": "",
"last_name": "",
"email": "",
"user_ref": ""
},
"data":{
"status":True, // True or False
"response_code":"00",
...
...
// other data structures (same as API responses)
}
}
Last modified 11mo ago