> ## 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 PrimePay wallet

> Always show your user the recipient's name before sending. For privacy, only the first name and an initial are returned.




## OpenAPI

````yaml /api-reference/openapi.yaml get /v1/transfers/wallet/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/wallet/recipient:
    get:
      tags:
        - Transfers
      summary: Look up a PrimePay wallet
      description: >
        Always show your user the recipient's name before sending. For privacy,
        only the first name and an initial are returned.
      operationId: getWalletRecipient
      parameters:
        - name: phone
          in: query
          required: true
          schema:
            type: string
            example: '+265991234567'
          description: The wallet's Malawi number.
      responses:
        '200':
          description: The wallet.
          content:
            application/json:
              schema:
                type: object
                properties:
                  phone:
                    type: string
                    description: The masked phone number.
                  name:
                    type: string
                    description: First name and an initial.
                  canReceive:
                    type: boolean
              example:
                phone: +26599•••567
                name: Chikondi B.
                canReceive: true
        '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.