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

# Look up a bank account

> Returns the account holder's name so you can show it before sending. `503 lookup_unavailable` means the name can't be checked right now; you can still send the payout.




## OpenAPI

````yaml /api-reference/openapi.yaml get /v1/payouts/bank/recipient
openapi: 3.1.0
info:
  title: PrimePay API
  version: '1.0'
  description: >-
    Collect mobile money payments, send transfers and make payouts with the
    PrimePay API.
servers:
  - url: https://api.primepay.mw
    description: Live API (live keys, `sk_live_…`)
  - url: https://sandbox-api.primepay.mw
    description: Sandbox API (test keys, `sk_test_…`)
security:
  - bearerAuth: []
tags:
  - name: Operators
  - name: Payments
  - name: Refunds
  - name: Transfers
  - name: Payouts
  - name: Payment links
  - name: Checkout sessions
paths:
  /v1/payouts/bank/recipient:
    get:
      tags:
        - Payouts
      summary: Look up a bank account
      description: >
        Returns the account holder's name so you can show it before sending.
        `503 lookup_unavailable` means the name can't be checked right now; you
        can still send the payout.
      operationId: getBankPayoutRecipient
      parameters:
        - name: bankCode
          in: query
          required: true
          schema:
            type: string
            example: NBM
          description: A `code` from the bank list.
        - name: accountNumber
          in: query
          required: true
          schema:
            type: string
            example: '1001234567'
      responses:
        '200':
          description: The recipient.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PayoutRecipientLookup'
        '404':
          $ref: '#/components/responses/Error'
        '503':
          $ref: '#/components/responses/Error'
components:
  schemas:
    PayoutRecipientLookup:
      type: object
      properties:
        recipient:
          type: object
          description: The details you looked up.
        name:
          type: string
          description: The name the network or bank has for the account.
    Error:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
              example: insufficient_funds
            message:
              type: string
              example: Not enough available balance for MWK 25,000.00.
            field:
              type: string
              description: >-
                Payment links only. The field that is missing or wrong, for
                example `items[1].unitAmount`.
  responses:
    Error:
      description: An error. Use `code` in your code; show `message` to people.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >
        Your API key: `sk_live_…` / `sk_test_…` (secret), `pk_live_…` /
        `pk_test_…` (publishable, read-only reference data) or `rk_live_…` /
        `rk_test_…` (payments only).

````

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