Transactions

Update Transaction

PATCH
/v1/households/{household_id}/transactions/{transaction_id}

Updates a transaction's display name, date, notes, category, merchant, or tags. Send only the fields you want to change; omitted fields keep their latest values, including edits made by another client. null clears nullable fields (date and tag_ids cannot be null), and tag_ids replaces the full tag set. Amount and account can't be edited here; hiding uses the hide/unhide endpoints.

Edits to date, merchant, and category are locked against later automatic overrides. When rule inputs change, household rules rerun for other unlocked actions (rule hide actions are skipped during edits).

Hidden transactions can be edited. Deleted transactions, split parents, and transactions on deleted accounts return transaction_not_found.

Authorization

PersonalApiToken
AuthorizationBearer <token>

Personal API token (penny_pat_…). Paste only the token; the Bearer prefix is added automatically. Read-only tokens only allow read requests, and read/write tokens follow your current household membership and role. See https://penny.finance/docs/api#authentication.

In: header

Path Parameters

household_id*string

ID of the household that owns the resource. GET /v1/households lists the households you can access.

transaction_id*string

ID of the transaction.

Request Body

application/json

custom_name?|

Custom name to display instead of the bank description; stored as the transaction's custom_name. Send null to remove the custom name, so that name falls back to original_name.

category_id?|

Category to file the transaction under. Send null to leave the transaction uncategorized. Once the category is changed here, including to null, the household's rules no longer overwrite it.

merchant_id?|

Merchant to assign. Send null to remove the merchant. Once the merchant is changed here, including to null, rules and bank syncs no longer overwrite it.

notes?|

Free-text note. Send null to remove the existing note.

date?string

Calendar date of the transaction. Once changed here, bank syncs no longer overwrite it.

Formatdate
tag_ids?array<string>

IDs of every tag the transaction should have. This replaces the existing set, so send [] to remove all tags. Each ID must be an active tag in the household and appear only once.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X PATCH "https://api.penny.finance/v1/households/Hh4vK8pQ2sLm/transactions/Tx3fJ9mS6vBa" \  -H "Authorization: Bearer $PENNY_API_TOKEN" \  -H "Content-Type: application/json" \  --data-raw '{  "custom_name": "Weekly groceries",  "category_id": "Ct5nR8wY1jFu"}'
{  "id": "Tx3fJ9mS6vBa",  "original_name": "TRADER JOE'S #142",  "custom_name": "Weekly groceries",  "amount": {    "amount": "-54.20",    "currency": "USD"  },  "native_amount": {    "amount": "-54.20",    "currency": "USD"  },  "lat": 37.7764,  "lon": -122.4231,  "pending": false,  "classification": "FOOD_AND_DRINK_GROCERIES",  "account": {    "id": "Ac7kP2mN9qRs",    "mask": "4821",    "name": "Everyday Checking",    "type": "depository",    "current_balance": {      "amount": "2481.33",      "currency": "USD"    },    "currency": "USD",    "household_id": "Hh4vK8pQ2sLm",    "custom_name": null  },  "category": {    "id": "Ct5nR8wY1jFu",    "name": "Groceries",    "emoji": "🥬",    "category_type": "expense",    "group_id": "Cg2mV7pL4zXe"  },  "merchant": {    "id": "Mr9dL3xT6bQa",    "name": "Trader Joe's",    "website": "https://www.traderjoes.com/",    "image_url": "https://cdn.penny.finance/merchants/trader-joes.png",    "default_image_url": "https://cdn.penny.finance/logos/trader-joes.png",    "transaction_count": 18  },  "image_url": "https://cdn.penny.finance/merchants/trader-joes.png",  "image_kind": "merchant",  "tags": [    {      "id": "Tg8qN1cK5rWd",      "name": "Shared",      "color": "#6D5BD0"    }  ],  "hidden_at": null,  "deleted_at": null,  "listing": "visible",  "pending_transaction_id": null,  "date": "2026-08-14",  "transacted_at": "2026-08-14T15:38:00Z",  "needs_review": false,  "is_editable": true,  "notes": "Groceries and paper towels",  "created_at": "2026-08-14T15:41:27Z",  "updated_at": "2026-08-14T16:02:11Z",  "name": "Weekly groceries",  "split_parent_id": null,  "split_child_ids": [],  "is_recurring": false}