Webhook
Webhook
Webhook is a HTTTP request used to deploy event responses.
bankHub will send webhook information about changes to bankHub grant
or financial transaction information.
For example, bankHub will send a webhook when a grant is failing or a transaction arises from an order created.
To receive the bankHub webhook, you need to set up an endpoint on your server method is POST. Then provide this endpoint URL to bankHub as described below.
Webhook Configuration
Webhook is configured through bankHub Console. When setting up a webhook, the URL must be http(s)://your-domain.com/webhook-endpoint.
bankHub will send data in POST and raw JSON format from one of the following IP addresses::
- 20.2.69.168 (sandbox)
Delivery Attempts and Retries(17 attempts)
In cases where the http status is 4XX, 5XX, or no response within 30 seconds, bankHub will send the webhook back to your system 17 times within 24 hours and the time interval after each call is based on fibbonanci.
Example:
Retry number | Interval |
---|---|
1 | 30s |
2 | 1m |
4 | 3m |
6 | 8m |
16 | 453m |
Request
Responses
- 200
Success