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

# Get mobile money user info

> Get MTN or Orange Money user info by their phone number.



## OpenAPI

````yaml nkwa-pay-openapi GET /data/userinfo/{phoneNumber}
openapi: 3.0.1
info:
  title: Nkwa Pay API
  description: >-
    Use this API to integrate mobile money across your payment flows, create and
    manage payments, collections, and disbursements. Read the docs at
    https://docs.mynkwa.com/api-reference
  license:
    name: MIT
  version: 1.0.0
  contact:
    name: Nkwa
    url: https://mynkwa.com
    email: info@mynkwa.com
servers:
  - url: https://api.pay.staging.mynkwa.com
    description: Sandbox server (uses test data)
  - url: https://api.pay.mynkwa.com
    description: Production server (uses live data)
security:
  - ApiKeyAuth: []
paths:
  /data/userinfo/{phoneNumber}:
    get:
      description: Get MTN or Orange Money user info by their phone number.
      parameters:
        - name: phoneNumber
          in: path
          description: Phone number in international format.
          required: true
          schema:
            type: string
            example: '237679873401'
      responses:
        '200':
          description: User info retrieved successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UserInfo'
        '400':
          description: 'Bad request: invalid phone number or unknown provider'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HttpError'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HttpError'
components:
  schemas:
    UserInfo:
      type: object
      required:
        - firstName
        - lastName
      properties:
        firstName:
          type: string
        lastName:
          type: string
    HttpError:
      type: object
      properties:
        details:
          type: array
          items: {}
        message:
          type: string
        statusCode:
          type: integer
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      name: X-API-Key
      in: header

````