Webhooks

Event notifications architecture.

Register HTTPS endpoints and choose events. Each endpoint receives a signing secret (whsec_…) used for HMAC-SHA256 signatures.

  • payment_link.paid
  • payment_link.expired
  • recurring.executed
  • conditional.executed
  • batch.completed
typescript
import crypto from "crypto";

export function verify(body: string, signature: string, secret: string) {
  const expected = crypto.createHmac("sha256", secret).update(body).digest("hex");
  return crypto.timingSafeEqual(Buffer.from(expected), Buffer.from(signature));
}

Status: endpoint registration is live; the delivery worker is not yet running, so no deliveries are sent.