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

# List Transactions

> Returns a list of NGN wallet transactions (e.g., collections, withdrawals, refunds) for the business.

Returns a list of NGN wallet transactions (e.g., collections, withdrawals, refunds) for the business.

### Environment Notes

* Transaction records created from test keys are tagged with `environment: "test"`.


## OpenAPI

````yaml GET /transactions
openapi: 3.0.0
info:
  title: NexaPay Business API
  version: 1.0.0
  description: Server-to-server merchant integration API documentation.
servers:
  - url: https://api.nexapay.ng/api/v1/business
    description: Production Server
security: []
tags: []
paths:
  /transactions:
    get:
      tags:
        - Transactions
      summary: List business transactions
      description: >-
        Returns a list of NGN wallet transactions (e.g., collections,
        withdrawals, refunds) for the business.
      parameters:
        - name: limit
          in: query
          required: false
          schema:
            type: integer
            default: 50
          description: Number of transactions to return. Max 200.
        - $ref: '#/components/parameters/BusinessEnvHeader'
      responses:
        '200':
          description: List of transactions retrieved successfully.
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    example: true
                  transactions:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                        amount:
                          type: number
                        status:
                          type: string
                        channel:
                          type: string
                        customer:
                          type: string
                        createdAt:
                          type: string
                        description:
                          type: string
                        reference:
                          type: string
                        environment:
                          type: string
        '500':
          description: Server error.
      security:
        - ApiKeyAuth: []
components:
  parameters:
    BusinessEnvHeader:
      name: x-business-env
      in: header
      required: false
      schema:
        type: string
        enum:
          - prod
          - test
        default: prod
      description: Target environment selector (live production vs. simulated sandbox).
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key
      description: Merchant API Key (e.g., nexa-prod-... or nexa-test-...)

````