Setting Up Webhooks
- Log in to your Obiex dashboard
- Navigate to Settings > Developers > Webhook Url
- Add your webhook endpoint URL
- Copy your Signature Secret
Event Payload and Structure
Obiex webhook events contain a JSON payload with the details of the event. We send webhooks for both withdrawal and deposit events. Below are examples of webhook payloads you might receive.Withdrawals
When a withdrawal is initiated or completed, we send a webhook event.Deposits
We also send webhook event on deposit action.Business Collections
If you use Business Collections to collect fiat payments from your customers, we send aCOLLECTION webhook as each collection progresses.
Signature Verification
All webhook requests include the header:Verifying the Signature
- Read the raw request body as a string (do not parse first).
- Read the
x-obiex-signatureheader. - Compute HMAC SHA512 of the raw body using your Signature Secret.
- Hex-encode the result.
- Compare with the received signature.
Example: Node.js (Express)
Always verify the signature before processing any webhook event to ensure it was sent by Obiex.