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

# List transactions

> Retrieve paginated list of account transactions (read-only)



## OpenAPI

````yaml GET /transactions
openapi: 3.0.3
info:
  title: NativeMessage API
  version: 1.0.0
  description: Complete API documentation for NativeMessage platform
  contact:
    name: NativeMessage Support
    email: support@nativemessage.com
servers:
  - url: https://api-message.nativehub.live/api/v1
    description: Production server
security:
  - BearerAuth: []
  - ApiKeyAuth: []
paths:
  /transactions:
    get:
      tags:
        - Billing
      summary: List transactions
      description: Retrieve paginated list of account transactions (read-only)
      operationId: listTransactions
      parameters:
        - $ref: '#/components/parameters/PageParam'
        - $ref: '#/components/parameters/PerPageParam'
        - name: type
          in: query
          description: Filter by transaction type
          schema:
            type: string
            enum:
              - DEBIT
              - CREDIT
              - TOPUP
              - ADJUSTMENT
              - REFUND
        - name: date_from
          in: query
          description: Filter transactions from this date
          schema:
            type: string
            format: date
        - name: date_to
          in: query
          description: Filter transactions until this date
          schema:
            type: string
            format: date
      responses:
        '200':
          description: Transactions retrieved successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaginatedTransactions'
components:
  parameters:
    PageParam:
      name: page
      in: query
      description: Page number (default 1)
      schema:
        type: integer
        default: 1
        minimum: 1
    PerPageParam:
      name: per_page
      in: query
      description: Items per page (default 20, max 100)
      schema:
        type: integer
        default: 20
        minimum: 1
        maximum: 100
  schemas:
    PaginatedTransactions:
      type: object
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/Transaction'
        total:
          type: integer
        page:
          type: integer
        per_page:
          type: integer
    Transaction:
      type: object
      properties:
        id:
          type: string
          format: uuid
        tenant_id:
          type: string
          format: uuid
        account_id:
          type: string
          format: uuid
        type:
          type: string
          enum:
            - DEBIT
            - CREDIT
            - TOPUP
            - ADJUSTMENT
            - REFUND
        amount:
          type: number
        currency:
          type: string
        balance_before:
          type: number
        balance_after:
          type: number
        reference_id:
          type: string
          format: uuid
        reference_type:
          type: string
        description:
          type: string
        created_at:
          type: string
          format: date-time
      example:
        id: c1d2e3f4-a5b6-7890-cd12-345678901234
        tenant_id: c3d4e5f6-a7b8-9012-cdef-123456789012
        account_id: b2c3d4e5-f6a7-8901-bcde-f12345678901
        type: DEBIT
        amount: 150.5
        currency: USD
        balance_before: 1000
        balance_after: 849.5
        reference_id: d4e5f6a7-b8c9-0123-def4-567890123456
        reference_type: message
        description: SMS message charges
        created_at: '2026-02-14T10:15:35Z'
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key

````