Merchants

Create Merchant

POST
/v1/households/{household_id}/merchants

Creates a merchant in the household for transactions and recurring series.

The name must be unique among active household merchants. Include website if you have it to help identify the merchant.

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.

Request Body

application/json

name*string

Display name shown on the merchant's transactions. Must be unique among the household's active merchants, ignoring case and accents.

Length1 <= length <= 255
website?|

Merchant's website as an absolute http or https URL. Send null for no website. Omitting it means no website on create and keeps the current one on an update.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://api.penny.finance/v1/households/Hh4vK8pQ2sLm/merchants" \  -H "Authorization: Bearer $PENNY_API_TOKEN" \  -H "Content-Type: application/json" \  --data-raw '{  "name": "Trader Joe'\''s"}'
{  "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,  "recurring_transaction_count": 1}