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

# List transactions using a staff API key

> Returns the minimized cursor-paginated transaction feed when the key includes `transactions.read`.



## OpenAPI

````yaml /openapi/tenant-staff-api-key-v1.openapi.yaml get /transactions
openapi: 3.1.0
info:
  title: Anbyan Staff API Key API
  version: 1.0.0-preview
  description: >
    Preview API for tenant-issued, long-lived bearer keys. Keys are created and
    permissioned by authorized staff from the Staff Session API.
servers:
  - url: https://{tenantDomain}/api/v1
    description: Tenant API root
    variables:
      tenantDomain:
        default: tenant.example.com
security:
  - apiKeyBearerAuth: []
tags:
  - name: API Key Transactions
    description: Transaction data available to permission-scoped tenant API keys.
paths:
  /transactions:
    get:
      tags:
        - API Key Transactions
      summary: List transactions using a staff API key
      description: >-
        Returns the minimized cursor-paginated transaction feed when the key
        includes `transactions.read`.
      operationId: listStaffApiKeyTransactions
      parameters:
        - name: perPage
          in: query
          description: Number of transactions to return.
          schema:
            type: integer
            minimum: 1
            maximum: 100
            default: 50
        - name: cursor
          in: query
          description: Opaque cursor from the previous response.
          schema:
            type: string
            maxLength: 2048
      responses:
        '200':
          description: A page of transactions available to this API key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TransactionPage'
        '401':
          description: The API key is missing, invalid, expired, or revoked.
        '403':
          description: The API key does not include `transactions.read`.
components:
  schemas:
    TransactionPage:
      type: object
      required:
        - data
        - meta
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/Transaction'
        meta:
          type: object
          required:
            - perPage
            - nextCursor
          properties:
            perPage:
              type: integer
            nextCursor:
              type:
                - string
                - 'null'
    Transaction:
      type: object
      required:
        - id
        - type
        - channel
        - direction
        - status
        - amountCents
        - currency
      properties:
        id:
          type: string
        type:
          type: string
        channel:
          type: string
        direction:
          type: string
        status:
          type: string
        amountCents:
          type: string
        currency:
          type: string
        occurredAt:
          type:
            - string
            - 'null'
          format: date-time
  securitySchemes:
    apiKeyBearerAuth:
      type: http
      scheme: bearer
      description: Tenant-issued long-lived API key.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.