Skip to main content
Webhooks allow you to listen to real-time events on your Obiex account. When an event occurs (e.g., a withdrawal is successful or pending), Obiex sends a POST request with a JSON payload to your server. It also includes a security header so you can verify the request came from Obiex.

Setting Up Webhooks

  1. Log in to your Obiex dashboard
  2. Navigate to Settings > Developers > Webhook Url
  3. Add your webhook endpoint URL
  4. 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.

Signature Verification

All webhook requests include the header:
This signature is generated using your Signature Secret as a HMAC SHA512 of the raw request body.

Verifying the Signature

  1. Read the raw request body as a string (do not parse first).
  2. Read the x-obiex-signature header.
  3. Compute HMAC SHA512 of the raw body using your Signature Secret.
  4. Hex-encode the result.
  5. 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.