Accountant Portal

The rows an unsaved rule pattern would have matched in the last 90 days (p12,

Changed on

"Type a payee to see the rows it would have matched". The pattern is matched as a saved merchant rule matches history: the same search term, then the same matcher on the merchant name (default) or the description; the broad "uber" pattern leaves Uber Eats out. Rows from the last 90 days, newest first, at most 25; count covers every match. At most 1,000 searched rows are read; past that capped is true and count is a floor. Nothing is written. A signed-in person only: every API key is refused, the service token included (404).

get/accountant/companies/{customerId}/merchant-rules/preview

Request

  • Base URL
    https://api.medianfi.com/api/v1
  • Auth
    HTTP bearer

Path parameters

customerId, string uuid required

Query parameters

pattern, string required
matchField, 'merchant_name' | 'description'

Response

The matching rows

object required
success, true required
data, object required

Changes