> ## 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.

# Retrieve Payout History

> Returns a list of the 20 most recent NGN withdrawals made by the business. Available also at `/history`.

Returns a list of the 20 most recent NGN withdrawals made by the business.


## OpenAPI

````yaml GET /withdrawal/history
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:
  /withdrawal/history:
    get:
      tags:
        - Transactions
      summary: Retrieve NGN withdrawal history
      description: >-
        Returns a list of the 20 most recent NGN withdrawals made by the
        business. Available also at `/history`.
      parameters:
        - $ref: '#/components/parameters/BusinessIdQuery'
        - $ref: '#/components/parameters/BusinessEnvHeader'
      responses:
        '200':
          description: List of withdrawal transactions retrieved successfully.
        '500':
          description: Server error.
      security:
        - ApiKeyAuth: []
components:
  parameters:
    BusinessIdQuery:
      name: businessId
      in: query
      required: true
      schema:
        type: string
      description: >-
        The unique ID of the business profile (required for API key
        authentication).
    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-...)

````