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
  • URL: https://api.medianfi.com/api/v1/accountant/companies/{customerId}/transactions/{transactionId}/merchant-rule
  • Auth: one of:
    • HTTP bearer
    • API key in header X-API-Key

Response

The recorded rule and today's matching rules

successboolean

Changes

No recorded changes to this operation across all 1 revision of this API.