Webhook event reference
This page lists every webhook event a casino integration receives, with a sample payload and its fields. For delivery, signatures, retries and idempotency, read Webhooks first.
| Event | Fires when | Produced |
|---|---|---|
deposit.received | The payment is seen on-chain (0 confirmations). | Once per deposit |
deposit.confirmed | The payment has at least one confirmation. | Once per deposit |
kyt_complete | The KYT screening result is set or changes. | Once per kyt_result |
ofac_complete | The OFAC screen of the funding addresses completes or misses its deadline. | Once per ofac_result |
double_spend_alert | A zero-confirmation payment disappeared before confirming. | Once per deposit |
deposit.accepted | POST /casino/deposit/{id}/accept succeeded. | Once per deposit |
deposit.returned | POST /casino/deposit/{id}/return succeeded. | Once per deposit |
deposit.frozen | POST /casino/deposit/{id}/freeze succeeded. | Once per deposit |
transaction.<status> | The underlying transaction's status changes. | Once per status |
"Produced once" does not mean "received once": the same delivery can arrive more than once, and events can arrive out of order. See Delivery guarantees.
Reading an event
- Casino events carry an
eventfield with the event name. A body without aneventfield is atransaction.<status>event. - Check
testfirst. It is present, andtrue, only on test events. Never credit a test event. timestampis the time the event was built, in Unix seconds. Retries keep the original value.decision_atanddouble_spent_atare ISO 8601 timestamps in UTC.market_rateandcrypto_rateare decimal strings, so no precision is lost. Other amounts are JSON numbers.- The sample payloads below are real output of the API's payload builders for a synthetic $100 BTC deposit. They are shown pretty-printed; on the wire the body is compact.