Transactions

Restore Transaction

POST
/v1/households/{household_id}/transactions/{transaction_id}/restore

Clears a transaction's deletion flag. A hidden transaction stays hidden. When a split parent is restored, its children return to the default list unless the parent is also hidden or a child is hidden or deleted itself.

Returns the affected row and its split children, even if it was already in that state. 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.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://api.penny.finance/v1/households/Hh4vK8pQ2sLm/transactions/Tx3fJ9mS6vBa/restore" \  -H "Authorization: Bearer $PENNY_API_TOKEN"
{  "transactions": [    {      "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    }  ]}