---
title: "Earn fee collect created"
method: POST
path: "wallet_action.earn_fee_collect.created"
---

# Earn fee collect created

`POST wallet_action.earn_fee_collect.created` (webhook)

Fired when a wallet action is created and execution has begun. The action is now pending.

## Payload

- WalletActionEarnFeeCollectCreatedWebhookPayload — Payload for the wallet_action.earn_fee_collect.created webhook event.
  - `action_type` 'swap' | 'transfer' | 'earn_deposit' | 'earn_withdraw' | 'earn_incentive_claim' | 'earn_fee_collect', required — Type of wallet action
  - `amount` string — Human-readable decimal amount of fees collected (e.g. "1.5"). Only present when the token is known in the asset registry.
  - `asset` string — Asset identifier (e.g. "usdc", "eth"). Only present when the token is known in the asset registry.
  - `asset_address` string, required — Underlying asset token address.
  - `caip2` string, required — CAIP-2 chain identifier.
  - `created_at` string, required — ISO 8601 timestamp of when the wallet action was created.
  - `decimals` integer — Number of decimals for the underlying asset (e.g. 6 for USDC, 18 for ETH). Only present when the token is known in the asset registry.
  - `raw_amount` string, required — Base-unit amount of fees collected (e.g. "1500000").
  - `status` 'pending', required — The status of the wallet action.
  - `type` 'wallet_action.earn_fee_collect.created', required — The type of webhook event.
  - `vault_address` string, required — ERC-4626 vault contract address.
  - `vault_id` string, required — The vault ID.
  - `wallet_action_id` string, required — The ID of the wallet action.
  - `wallet_id` string, required — The ID of the wallet involved in the action.

## Acknowledgement `200`

Return a 200 status to indicate that the webhook was received successfully.

---

[API](https://skmtc.net/privy-io/apis/privy-api.md) · [All operations](https://skmtc.net/privy-io/apis/privy-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/privy-io/privy-api/revisions/bb2eb34156cc/schema)
