Webhook

Anytime an event happens on your account, your application can be notified by SeerBit. This is where webhooks come in. This is useful for events that are not triggered by direct API request, but the response from that request need to be known like when there is an update to transaction status. It is necessary only for behind-the-scenes transactions.

SeerBit Webhooks are HTTP calls that are triggered by specific events. To detect changes to data, calls at regular time interval would be required by APIs. SeerBit Webhooks replace regular API calls with instant, real-time notifications. It can be set up on your dashboard by specifying a URL we would send POST requests to you whenever an event that might be of interest happens.

NOTE: WEBHOOK ENGINE WILL BE EXPECTING RESPONSE WITH STATUS CODE 200 FOR ACKNOWLEDGEMENT.
REQUEST:
curl -X PUT
https://staging.seerbitapigateway.com/merchants/api/v1/business/0000000001/webhook
{
"webhook": {
"url": "www.webhook.com-updated",
"active": true
}
}
RESPONSE:
{
"message": "Webhook information updated",
"responseCode": "00",
"status": "success"
}