View the full API reference for the collect fees
endpoint.
Usage
- REST API
Make a The
POST request to:wallet_id in the path must be the vault’s admin wallet — find it in the Privy Dashboard or as admin_wallet_id in the get vault details response. A single call collects all available fees for the vault; partial collection is not supported.Parameters
The ID of the vault to collect fees from. Must be an Aave vault.
This endpoint accepts your app secret or a wallet signer. If the admin wallet was created
automatically when the vault was deployed and has not been modified, your app secret alone
authorizes the request. Admin wallets with an
owner_id must provide an authorization
signature as a request header.Returns
The wallet action ID. Use this to poll status with get wallet action.
The ID of the admin wallet collecting the fees.
The action type. Always
"earn_fee_collect" for this endpoint.The current status of the fee collection action.
Chain identifier in CAIP-2 format.
The ID of the vault fees were collected from.
The onchain address of the vault contract.
The underlying asset’s token address.
The collected amount in the underlying asset, as a human-readable decimal.
null while the action is pending; populated after onchain confirmation. This is your app’s share after the revenue split.The collected amount in the smallest unit of the underlying asset. Populated after onchain confirmation.
ISO 8601 timestamp of when the action was created.
Example
Example response
Next steps
Aave integration guide
Deposit, withdraw, read positions, and collect fees for Aave vaults.

