delete_transaction

Deletes one transaction by transactionId for the authenticated user.

Description

Deletes one transaction by transactionId for the authenticated user.

If transactionId is unknown, pass transactionNameHint (e.g. "coffee" / "parking") or useLatestTransaction=true for the most recent entry (without a hint, this returns the resolved entry to confirm and does not delete yet).
If several match the hint, this asks which one — do not guess (even when useLatestTransaction is set).

Safety workflow:
  1) Prefer transactionId from create_transaction when undoing what was just logged.
  2) Otherwise resolve via transactionNameHint / useLatestTransaction, or list_transactions.
  3) Confirm what was removed in plain language.

Input parameters

NameTypeRequiredDescription
transactionIdstringNo
transactionNameHintstringNo
useLatestTransactionbooleanNo