Transaction Webhooks
If a partner is interested in getting realtime callbacks when any transaction happens on Hubble Checkout SDK, they can listen to our webhooks.
The partner can share a webhook url with us.
Below is the data, we will post to the url.
Authentication of webhooks on partner’s end
Hubble will share secret key with the partner.
Each webhook call will contain a signature header X-Verify
.
The partner needs to recreate the signature on their end with the secret key. If the partner created signature is equal to the incoming signature, that ascertains that the request is actually coming from Hubble.
Below is the logic for generating the signature.
Hubble can also provide their IP address to the partner for whitelisting.