record_revenue
Record a sale, royalty, tip, or refund transaction for a 3D model on a marketplace, specifying amount in USD.
Instructions
Record a revenue event (sale, royalty, tip, or refund).
Args:
model_id: File hash or listing ID of the model.
marketplace: Marketplace name (e.g. ``"thingiverse"``).
amount_usd: Amount in USD.
transaction_type: Type — ``"sale"``, ``"royalty"``,
``"tip"``, or ``"refund"``.
currency: Currency code (default ``"USD"``).
description: Optional description of the transaction.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| currency | No | USD | |
| model_id | Yes | ||
| amount_usd | Yes | ||
| description | No | ||
| marketplace | Yes | ||
| transaction_type | No | sale |