Transactions

merchants.get

Read one merchant by its key: the profile, monthly spend per currency, the five latest transactions, the web pages the profile was read from, and any category suggestion waiting for review. Finance access required.

GETPOST/api/v1/accounting/merchants.get

Permissions

accounting:read

Who can call it

admin, finance

Retries

Safe to retry: it only reads

MCP

accounting_merchants_get

Fields

  • keystringRequired

    1–120 characters

  • fromstring

    The first date to include, as YYYY-MM-DD.

    Date as YYYY-MM-DD

  • tostring

    The last date to include, as YYYY-MM-DD.

    Date as YYYY-MM-DD

Example

curl -G https://app.getoatmilk.com/api/v1/accounting/merchants.get \
  -H "Authorization: Bearer $OATMILK_API_KEY" \
  --data-urlencode 'key=example'
Response
{
  "data": { … }
}

Try it

Try it

Checks your input with this action’s real schema and answers like the API, with synthetic data. No key needed, and nothing changes.

GET/api/v1/accounting/merchants.get
curl -G https://app.getoatmilk.com/api/v1/accounting/merchants.get \
  -H "Authorization: Bearer $OATMILK_API_KEY" \
  --data-urlencode 'key=example'

More in Transactions.