Documentation Index
Fetch the complete documentation index at: https://docs-embeddedfinance.embedly.ng/llms.txt
Use this file to discover all available pages before exploring further.
Overview
Webhooks allow your system to receive real-time updates from our platform. Instead of constantly checking (polling) for updates, we notify your system as soon as something happens — like a payment being made or a user completing a form. It’s like getting a text message when a delivery arrives, instead of refreshing the tracking page every 5 minutes!How It Works
- You give us a webhook URL (an API endpoint on your server).
- We send a
POSTrequest to that URL when a payment is made. - You process the transaction data on your end — e.g., mark an order as paid.
Sample Notification Payload
Whenever a wallet account receives a credit, your webhook endpoint will receive a JSON payload as seen to the right ->Authenticating Webhook Notifications
All authentic webhook notifications will include the following HTTP headers:✅ Validation Steps
-
Extract the following values from the headers and request body:
svix-idsvix-timestampsvix-signature- Raw request body (unparsed string)
-
Construct the signed payload by concatenating:
=svix_id.svix_timestamp.body - Compute the HMAC-SHA256 hash of the constructed payload using your signing secret as the key.
- Base64-encode the resulting hash.
-
Compare the Base64-encoded hash with the signature in
svix-signature(excluding thev1,prefix).