> ## Documentation Index
> Fetch the complete documentation index at: https://docs.equated.co/llms.txt
> Use this file to discover all available pages before exploring further.

# List a merchant's activity

> Returns the merchant's activity feed — one row per journal entry with at least one posting tagged to this merchant. `role` selects revenue (customer) or spend (vendor) postings; it defaults to the merchant's own role flag.



## OpenAPI

````yaml /openapi.json get /api/merchants/{id}/activity
openapi: 3.1.0
info:
  title: Equated API
  version: 1.0.0
  description: >-
    Agent-facing accounting API. Authenticate with a bearer token issued from
    Settings → API Tokens, or via the in-app session cookie when called from the
    web client.
servers:
  - url: https://app.equated.co
    description: API server
security: []
paths:
  /api/merchants/{id}/activity:
    get:
      tags:
        - Merchants
      summary: List a merchant's activity
      description: >-
        Returns the merchant's activity feed — one row per journal entry with at
        least one posting tagged to this merchant. `role` selects revenue
        (customer) or spend (vendor) postings; it defaults to the merchant's own
        role flag.
      parameters:
        - schema:
            type: integer
            minimum: 0
            exclusiveMinimum: true
          required: true
          name: id
          in: path
        - schema:
            type: string
            enum:
              - customer
              - vendor
          required: false
          name: role
          in: query
        - schema:
            type: integer
            minimum: 0
            exclusiveMinimum: true
            maximum: 200
          required: false
          name: limit
          in: query
        - schema:
            type: integer
            nullable: true
            minimum: 0
          required: false
          name: offset
          in: query
      responses:
        '200':
          description: Activity rows, newest first
          content:
            application/json:
              schema:
                type: object
                properties:
                  activity:
                    type: array
                    items:
                      $ref: '#/components/schemas/MerchantActivityRow'
                required:
                  - activity
      security:
        - bearerAuth: []
components:
  schemas:
    MerchantActivityRow:
      type: object
      properties:
        journalEntryId:
          type: integer
          minimum: 0
          exclusiveMinimum: true
        date:
          type: string
        description:
          type: string
          nullable: true
        source:
          type: string
          nullable: true
          enum:
            - BANK_FEED
            - INTEGRATION
            - MANUAL
            - ACCRUAL
            - SYSTEM
            - OPENING
            - RECONCILIATION
            - null
        externalRef:
          type: string
          nullable: true
        linkedProviderTransactionId:
          type: string
          nullable: true
        linkedDocumentId:
          type: integer
          nullable: true
          minimum: 0
          exclusiveMinimum: true
        amount:
          type: number
        currency:
          type: string
      required:
        - journalEntryId
        - date
        - description
        - source
        - externalRef
        - linkedProviderTransactionId
        - linkedDocumentId
        - amount
        - currency
      additionalProperties:
        nullable: true
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: API token issued from the Equated app under Settings → API Tokens.

````