Skip to main content
Privy sends webhooks for three kinds of TMMF events:
  • An onboarding review changes status.
  • A wallet registration changes.
  • A fund order changes status.

Setup

Subscribe to TMMF events from the Configuration > Webhooks page in the Privy Dashboard.
Webhooks can be tested at no cost in development environments. To enable webhooks in production, upgrade to the Enterprise plan in the Privy Dashboard.
For general webhook setup instructions, payload verification, and retry behavior, see the webhooks overview.

Onboarding events

These events report each change to an onboarding review’s status. The first one fires when WisdomTree receives the submission.
tmmf.kyb.updated
tmmf.kyc.updated has the same payload, with two changes:
  • It has user_id in place of organization_id.
  • Its data has kyc in place of kyb.
In both events, changes.status holds the previous and the new status. The previous status is null on the first event of a submission.

Event order

Webhooks can arrive out of order. The onboarding and wallet events carry the WisdomTree event behind each change:
  • sequence is higher for later changes to the same user, organization, or wallet. Ignore an event with a lower sequence than one your app already processed.
  • emitted_at is the Unix timestamp in milliseconds when WisdomTree emitted the change.
Both fields are absent when no WisdomTree event reported the change. Every delivery of the same event has the same event_id, so your app can drop duplicates.

Wallet events

This event tells your app that a wallet’s registration changed.
tmmf.wallet.updated

Order events

Privy sends one webhook when it creates an order. It sends a second one when the order reaches a final status. The payload is the order’s wallet action. The final event also has the order’s steps.

Common patterns

These patterns show how to combine the events with the API.
Listen for tmmf.kyb.updated or tmmf.kyc.updated. Each event has the new review status in data.status. Once it is approved, register the user’s wallets. While a business’s status is action_required, read the review status and show its resubmission reasons to the business.
Listen for wallet_action.tmmf_deposit.succeeded and wallet_action.tmmf_withdraw.succeeded. Then list the wallet’s positions to show the new balance.
A failed order means WisdomTree failed or refunded it after the transfer. Use the get wallet action endpoint with ?include=steps to read the failure_reason and the wisdomtree_settlement step.