Fired on every confirmed prediction trade. Payload is a tagged union of trade-type variants.
UUID of the webhook subscription that fired
UUID of this specific delivery attempt (matches envelope id field)
Event name string (e.g. trader_first_trade)
Delivery attempt number (1 = first attempt)
x >= 1HMAC-SHA256 of the raw request body: sha256=<hex>. Present only when the webhook has a secret configured. Verify with: HMAC-SHA256(secret, raw_body_bytes) == hex_part.
^sha256=[0-9a-f]{64}$Webhook delivery envelope. The data field contains the event-specific payload.
Outer envelope for every webhook HTTP POST delivery. The data field contains the event-specific payload. Delivery headers sent with every POST: X-Webhook-ID (subscription UUID), X-Delivery-ID (this attempt's UUID), X-Event-Type (event name string, e.g. trader_first_trade), X-Attempt (attempt number, 1-indexed). When the webhook has a secret configured, X-Webhook-Signature: sha256=<hmac-hex> is also included — compute HMAC-SHA256 over the raw request body using your secret to verify.
UUID of this specific delivery attempt (matches X-Delivery-ID header)
Event name (e.g. trader_first_trade). On test deliveries the suffix _test is appended.
Tagged union of trade-type variants delivered to trader_trade_event callbacks. Pending-only fields such as received_at are absent — callbacks fire only for confirmed trades.
Unix timestamp in milliseconds when this delivery was created
UUID of the webhook subscription that fired (matches X-Webhook-ID header)
Delivery attempt number. 1 = first attempt; increments on each retry.
x >= 1Webhook delivery acknowledged