read
finance

What changed in one entity since a cursor: postings, reversals, period closes, bank imports and dismissals.

Changed on

The change feed. Items are the entity's public events in commit order, each with event_type, aggregate_type, aggregate_id, its ids-and-codes data and a resource_url that reads the current state. Reversals (fin.entry.reversed) and dismissals (fin.bank_transaction.dismissed, with kind not_a_transaction or duplicate_of) are events, so nothing disappears without a tombstone. Keep next_cursor and pass it back as after. Every event younger than the published retention (guarantees.finance_change_feed_retention_days in /api/v1/changelog.json) is readable whether or not any webhook delivered it; a cursor older than that answers 410 finance_cursor_gone with oldest_cursor — never a silent gap. No after starts at the oldest available event.

The GET form of finance_changes: the same arguments as query parameters.

get/api/v1/finance/changes

Request

  • Base URL
    https://app.magistry.io
  • Auth
    • HTTP bearer
    • or OAuth 2
      Authorization codehttps://app.magistry.io/api/oauth/authorize
      Token URLhttps://app.magistry.io/api/oauth/token
      Scopesfinance:read

Query parameters

entity_id, string uuid required

The entity, one of those this app was granted (GET /api/v1/finance/entities lists them). In a GET query string entity is accepted too.

after, string

The next_cursor (or oldest_cursor) a previous call returned.

limit, integer

Items per page.

entity, string uuid

Alias of entity_id; give one of the two.

Response

Result

object required
ok, boolean required
result, unknown required

Changes

    • warning

      added the new method_not_allowed enum value to the error response property for the response status

    • warning

      added the new method_not_allowed enum value to the error response property for the response status

    • warning

      added the new method_not_allowed enum value to the error response property for the response status

    11 more changes in this revision