record_revenue
Record financial transactions from 3D printing model marketplaces, including sales, royalties, tips, and refunds, along with amount and marketplace details.
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 |