Skip to main content
Subscribe to webhooks to receive real-time notifications about wallet workflow, deposit, rebalance, withdrawal, payout, and strategy lifecycle changes. Registrations created through v3 receive v3 payloads and are managed through v3. Existing v2 registrations retain v2 payloads and are managed through v2.

Register a webhook

The create response includes id, url, events, createdAt, and secret. Store secret on the server only (env var / secret manager). The secret field is only returned on create — it is not included when listing endpoints.
Only portfolio_wallet.* event types are accepted. Requests that include event types outside the portfolio_wallet.* namespace will be rejected with a validation error.

List webhooks

The list is returned under data. Pass a non-null nextCursor as cursor to fetch the next page. Note that secret is not included in list responses. See API Conventions for the list envelope.

Delete a webhook

A successful response confirms the deleted registration ID with deleted: true.

Portfolio Wallet events

Handle an event

  1. Verify the signature against the raw request body before parsing it.
  2. Use Ground-Event-Id to recognize duplicate deliveries.
  3. Queue processing and respond with 200 promptly.
  4. Read the latest wallet or operation state before updating your application. Reconcile periodically to recover missed updates.

Event payloads

See Webhook payload examples for complete bodies for each event, including risk actions and settled stock trades.

Error responses

Webhook registration and management endpoints return errors in a consistent {error, code} structure:

Stock conversion details

For a completed stock conversion, a rebalance or withdrawal leg can include assetTrades. Each entry identifies the stock, buy or sell side, exact stock and USDC native quantities, chain, and transaction hash. It appears after finalized settlement; an indicative quote is not a completed trade. See webhook payload examples.