Merchants

Delete Merchant

DELETE
/v1/households/{household_id}/merchants/{merchant_id}

Deletes a merchant and clears it from all transactions, including those on deleted accounts. The transactions themselves are kept.

Also permanently removes the merchant's recurring series and dismissed recurring suggestions. Rules that reference the merchant keep it in deleted_merchants, match none of its transactions, and stop assigning it.

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.

merchant_id*string

ID of the merchant.

Response Body

application/json

application/json

application/json

application/json

curl -X DELETE "https://api.penny.finance/v1/households/Hh4vK8pQ2sLm/merchants/Mr9dL3xT6bQa" \  -H "Authorization: Bearer $PENNY_API_TOKEN"
Empty