Merchants

Upload Merchant Image

PUT
/v1/households/{household_id}/merchants/{merchant_id}/image

Uploads or replaces a merchant's custom image, overriding any default logo.

Upload as the file field in a multipart/form-data request. Must be JPEG, PNG, or WebP, at most 5 MiB (5,242,880 bytes) and 25 million decoded pixels across all animation frames.

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.

Request Body

multipart/form-data

file*file
Formatbinary

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X PUT "https://api.penny.finance/v1/households/Hh4vK8pQ2sLm/merchants/Mr9dL3xT6bQa/image" \  -H "Authorization: Bearer $PENNY_API_TOKEN" \  -F file="string"
{  "image_url": "https://cdn.penny.finance/merchants/trader-joes.png"}