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

# Validate Mobile Wallet / Bank Account

> This endpoint checks the format and validity of a phone number.



## OpenAPI

````yaml POST /api/payouts/account-verification
openapi: 3.0.1
info:
  title: OpenAPI Plant Store
  description: >-
    A sample API that uses a plant store as an example to demonstrate features
    in the OpenAPI specification
  license:
    name: MIT
  version: 1.0.0
servers:
  - url: https://test.digitaltermination.com
  - url: https://business-sandbox.instntmny.com
security: []
paths:
  /api/payouts/account-verification:
    post:
      description: This endpoint checks the format and validity of a phone number.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              oneOf:
                - title: 📱 Mobile Wallet
                  type: object
                  properties:
                    service_type:
                      type: string
                      example: Wallet
                      description: The account number to verify
                    mobile_number:
                      type: number
                      example: 233245519485
                      description: The mobile number
                    receiving_country:
                      type: string
                      example: GHA
                      description: The country code of the mobile number
                    mno:
                      type: string
                      example: MTN
                      description: The mobile service provider
                  required:
                    - service_type
                    - mobile_number
                    - receiving_country
                    - mno
                - title: 🏦 Bank Account
                  type: object
                  properties:
                    service_type:
                      type: string
                      example: Bank
                      description: The account number to verify
                    account_number:
                      type: number
                      example: 12345678910
                      description: The account number
                    receiving_country:
                      type: string
                      example: GHA
                      description: The country code of the account number
                    routing_number:
                      type: number
                      example: 123456
                      description: The routing number of the bank
                  required:
                    - service_type
                    - account_number
                    - receiving_country
                    - routing_number
      responses:
        '200':
          description: Successful response for validating Mobile Money Wallet or Bank
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: number
                    example: 200
                    description: Static response code indicating the status
                  response:
                    oneOf:
                      - type: object
                        properties:
                          registration_status:
                            type: integer
                            example: 1
                            description: The registration status
                          registration_name:
                            type: string
                            example: GODWIN HOTTOR
                            description: The name of the account holder
                          nameMatchRatio:
                            type: number
                            example: null
                            description: The name match ratio
                          mno:
                            type: string
                            example: MTN
                            description: The mobile service provider
                      - type: object
                        properties:
                          status:
                            type: integer
                            example: 1
                            description: The status
                          customer_name:
                            type: string
                            example: JAMES OBENG
                            description: The name of the customer
        '400':
          description: Unexpected error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
        - bearerAuth: []
components:
  schemas:
    Error:
      required:
        - error
        - message
      type: object
      properties:
        error:
          type: integer
          format: int32
        message:
          type: string
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````