Accountant Portal

Read companies transactions

Generated minimal contract (#1940): parameters, auth, and status codes are authoritative; see the route handler for the exact body/response shape. Enrichment tracked by the x-median-spec-stage marker. This list is keyset-paged with limit and cursor; page and offset are rejected with 422 rather than accepted and ignored.

get/accountant/companies/{customerId}/transactions

Request

  • Base URL: https://api.medianfi.com/api/v1
  • URL: https://api.medianfi.com/api/v1/accountant/companies/{customerId}/transactions
  • Auth: one of:
    • HTTP bearer
    • API key in header X-API-Key

Query parameters

limitinteger

Maximum rows per page, 1 through 100. Out-of-range values return 422. Follow meta.nextCursor while meta.hasMore is true.

cursorstring

Opaque meta.nextCursor from the previous page. Keep the same sort and filters; a cursor from another sort returns 422.

sort'date_asc' | 'date_desc' | 'amount_asc' | 'amount_desc' | 'confidence_asc' | 'confidence_desc'

Stable order on every page. Amount and confidence ties use occurredOn then ID descending; date ties follow date direction. Null confidence sorts last.

pagestring

Not supported. Present only so the rejection is explicit; this list pages with limit and cursor. Any value returns 422.

offsetstring

Not supported. Present only so the rejection is explicit; this list pages with limit and cursor. Any value returns 422.

Response

Success envelope; see the route handler for the payload shape

object required

Changes

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