Accountant Portal

Which merchant rule categorized this transaction

#3039. recordedRuleId is the rule the latest merchant-rule categorization of this transaction named when it ran; it is null for a transaction no rule categorized and for one categorized before #3039 shipped. recordedRule is that rule as it is now, or null when it has been deleted. recordedRuleId is also null when a person recategorized the transaction after the rule ran. matchingRules are the company and global rules whose pattern matches the transaction's merchant and description today, in rule order; other categorization steps (vendor patterns, transfers, Stripe rows) can take a row before any of them, so the first entry is not proof of what categorized this transaction or what will categorize the next one. A non-UUID path id is 422.

get/accountant/companies/{customerId}/transactions/{transactionId}/merchant-rule

Request

  • Base URL
    https://api.medianfi.com/api/v1
  • Auth
    • HTTP bearer
    • or API key in header X-API-Key

Path parameters

customerId, string uuid required
transactionId, string uuid required

Response

The recorded rule and today's matching rules

object required
success, boolean
data, object

Changes

No recorded changes to this operation across all 110 revisions of this API.