Skip to content

Receive webhooks

Webhooks tell your server when something happens on an account, so you do not have to poll. IDEALX sends an HTTPS POST with a JSON body to each endpoint subscribed to the event, signs it, and retries until your endpoint answers 2xx.

A webhook deliveryIDEALXYour endpointIDEALX APIEvent on an account (deposit credited)1POST signed JSON (IDEALX-Signature)Verify signature, store id, queue work2200 OK within 10 seconds3GET /v1/accounts/{id}/activity4Full details
A webhook delivery
  1. IDEALX: Event on an account (deposit credited)
  2. IDEALX to Your endpoint: POST signed JSON (IDEALX-Signature)
  3. Your endpoint: Verify signature, store id, queue work
  4. Your endpoint to IDEALX: 200 OK within 10 seconds
  5. Your endpoint to IDEALX API: GET /v1/accounts/{id}/activity
  6. IDEALX API to Your endpoint: Full details
  1. Open Profile → Developer → Webhooks in the IDEALX app (personal), or Team → API and webhooks in Console (firm admins).
  2. Enter your endpoint’s address. Production accepts only public https:// addresses; the sandbox also accepts http://localhost and private addresses for testing.
  3. Choose the events (Events and payloads).
  4. Copy the endpoint’s signing secret (whsec_…). It is shown once; keep it with your other secrets.
  5. Send a test event from the same page and check your endpoint answered 2xx in the delivery log.

Endpoints are managed only in the apps, never with an API key.

Every event names an account. It is delivered to:

  • personal endpoints of the people who have a role on that account, and
  • firm endpoints of the firms working on that account (an engagement with the firm).
POST /idealx/webhooks HTTP/1.1
Host: hooks.example.com
Content-Type: application/json
User-Agent: IDEALX-Webhooks/1
IDEALX-Event: deposit.credited
IDEALX-Delivery: whd_01937e5f6a7b8c9d0e1f2a3b4c5d6e7f
IDEALX-Signature: t=1763631000,v1=e5b62c98312f1df0b8e332e5d167a371abdb9284cfa91a02407f300e00bd5e58
{"id":"whd_01937e5f6a7b8c9d0e1f2a3b4c5d6e7f","type":"deposit.credited","createdAt":"2026-11-20T09:30:00.000Z","data":{"accountId":"acc_01937c4e8a2b7d1f9e0c3b5a6d7e8f90","units":"25000","currency":"AUD"}}
Field Meaning
id The delivery’s id (whd_…), also in IDEALX-Delivery. Retries of a delivery keep it.
type The event, also in IDEALX-Event
createdAt When IDEALX created the event (UTC)
data What happened; always includes accountId. Amounts are minor units.

Answer 2xx within ten seconds. Verify the signature, store the delivery id, put the work on a queue and answer; do the work afterwards. Anything other than 2xx, a timeout or a connection error counts as a failure.

A failed delivery is retried after 1, 2, 4, 8, 16, 32, 64, 128 and 256 minutes: ten attempts over about eight and a half hours. After the tenth failure the delivery is marked failed. Each endpoint’s log in the app shows the last 50 deliveries with their status and the answer your endpoint gave.

Send test in the app delivers a ping event at once, signed like any other, with an empty id and empty data:

{ "id": "", "type": "ping", "createdAt": "2026-11-25T03:00:00.000Z", "data": {} }

Answer it with 2xx; do not try to process it.

// Node 18+, Express. Verify against the raw body, before JSON parsing.
import express from "express";
import { verifyIdealxSignature } from "./verify"; // see Verify signatures
const app = express();
const seen = new Set<string>(); // use your database in production
app.post("/idealx/webhooks", express.raw({ type: "application/json" }), (req, res) => {
const raw = req.body.toString("utf8");
if (!verifyIdealxSignature(process.env.IDEALX_WEBHOOK_SECRET!, raw, req.header("IDEALX-Signature") ?? "")) {
return res.status(400).send("bad signature");
}
const event = JSON.parse(raw);
if (event.type === "ping" || seen.has(event.id)) return res.sendStatus(200);
seen.add(event.id);
queue.push(event); // handle after answering
res.sendStatus(200);
});