Edit Transaction
edit_transactionModify existing financial transactions in Money Lover by updating wallet, category, amount, date, and other details using the required full payload format.
Instructions
Update an existing transaction. The API requires the full transaction payload on every edit, so you must supply walletId, categoryId, amount, and date (fetch the transaction with get_transactions first if you need the current values). categoryId should be the global category ID from get_all_categories or from an existing transaction response.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| transactionId | Yes | Transaction identifier | |
| walletId | Yes | Wallet identifier (required by API) | |
| categoryId | Yes | Category identifier — use global ID from get_all_categories or an existing transaction | |
| amount | Yes | Transaction amount as string | |
| date | Yes | Date in YYYY-MM-DD format | |
| note | No | Transaction note | |
| with | No | Related parties |