> ## 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 merchant account

> Always show your user the recipient's name before sending. Send `recipientType` back unchanged when you make the transfer.




## OpenAPI

````yaml /api-reference/openapi.yaml get /v1/transfers/merchant-account/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/transfers/merchant-account/recipient:
    get:
      tags:
        - Transfers
      summary: Look up a merchant account
      description: >
        Always show your user the recipient's name before sending. Send
        `recipientType` back unchanged when you make the transfer.
      operationId: getMerchantAccountRecipient
      parameters:
        - name: accountCode
          in: query
          required: true
          schema:
            type: string
            example: '12345678'
          description: The receiving account's 8-digit code.
      responses:
        '200':
          description: The recipient.
          content:
            application/json:
              schema:
                type: object
                properties:
                  accountCode:
                    type: string
                  accountName:
                    type: string
                  merchantName:
                    type: string
                  recipientType:
                    type: string
                    enum:
                      - own_account
                      - other_merchant
              example:
                accountCode: '12345678'
                accountName: Chikondi's Store
                merchantName: Chikondi Trading
                recipientType: other_merchant
        '404':
          $ref: '#/components/responses/Error'
components:
  responses:
    Error:
      description: An error. Use `code` in your code; show `message` to people.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  schemas:
    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`.
  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.