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

# Verify NIN (Enhanced)

> NIN verification API (enhanced): retrieve full NIN-linked identity profile for Nigerian KYC.



## OpenAPI

````yaml POST /api/v1/merchant/nin/enhanced
openapi: 3.1.0
info:
  title: PayVessel API
  description: >-
    PayVessel API for accepting payments, sending money, verifying identities,
    and managing wallets
  version: 1.0.0
servers:
  - url: https://api.payvessel.com
  - url: https://sandbox.payvessel.com
security:
  - {}
paths:
  /api/v1/merchant/nin/enhanced:
    post:
      tags:
        - Identity Verification
      summary: Enhanced NIN Verification
      description: >-
        Verify a NIN and retrieve enriched identity information such as names,
        gender, birth date, photo, and telephone number tied to the NIN.
      parameters:
        - name: api-key
          in: header
          description: Your Payvessel public API key
          required: true
          schema:
            type: string
        - name: api-secret
          in: header
          description: Your Payvessel secret
          required: true
          schema:
            type: string
        - name: Content-Type
          in: header
          description: Request content type
          required: true
          schema:
            type: string
            enum:
              - application/json
          example: application/json
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EnhancedNinVerificationRequest'
            examples:
              default:
                summary: Enhanced NIN verification request
                value:
                  nin: '12345678901'
      responses:
        '200':
          description: Enhanced NIN verification response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EnhancedNinVerificationResponse'
              examples:
                successfulVerification:
                  summary: Successful enhanced NIN verification
                  value:
                    success: true
                    message: NIN verification completed successfully
                    data:
                      nin: '12345678901'
                      first_name: John
                      middle_name: Adebayo
                      surname: Doe
                      gender: MALE
                      birth_date: '1992-08-14'
                      photo: /9j/4AAQSkZJRgABAQAAAQABAAD...
                      telephone_no: '08012345678'
                      error_message: ''
                    charges:
                      charged: false
                      charged_amount: '0.00'
                ninNotFound:
                  summary: NIN not found
                  value:
                    success: false
                    message: NIN not found
                    data: null
                    charges:
                      charged: true
                      charged_amount: '25.00'
        '402':
          description: >-
            Verification could not be processed because the wallet balance is
            insufficient
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/VerificationPaymentErrorResponse'
              examples:
                insufficientBalance:
                  summary: Insufficient wallet balance
                  value:
                    success: false
                    message: >-
                      Your wallet balance is insufficient for this request.
                      Required 25.00, available 0. Please fund your wallet and
                      try again.
                    details:
                      - >-
                        Your wallet balance is insufficient for this request.
                        Required 25.00, available 0. Please fund your wallet and
                        try again.
      servers:
        - url: https://api.payvessel.com/kyc
        - url: https://sandbox.payvessel.com/kyc
components:
  schemas:
    EnhancedNinVerificationRequest:
      type: object
      required:
        - nin
      properties:
        nin:
          type: string
          description: Customer NIN
          example: '12345678901'
    EnhancedNinVerificationResponse:
      type: object
      required:
        - success
        - message
        - data
        - charges
      properties:
        success:
          type: boolean
          description: Whether the request completed successfully
          example: true
        message:
          type: string
          description: Response message
          example: NIN verification completed successfully
        data:
          oneOf:
            - $ref: '#/components/schemas/EnhancedNinVerificationData'
            - type: 'null'
        charges:
          $ref: '#/components/schemas/VerificationCharges'
    VerificationPaymentErrorResponse:
      type: object
      required:
        - success
        - message
        - details
      properties:
        success:
          type: boolean
          description: Whether the request completed successfully
          example: false
        message:
          type: string
          description: Reason the request could not be processed
          example: >-
            Your wallet balance is insufficient for this request. Required
            25.00, available 0. Please fund your wallet and try again.
        details:
          type: array
          description: Detailed error messages returned by the API
          items:
            type: string
          example:
            - >-
              Your wallet balance is insufficient for this request. Required
              25.00, available 0. Please fund your wallet and try again.
    EnhancedNinVerificationData:
      type: object
      required:
        - nin
        - first_name
        - middle_name
        - surname
        - gender
        - birth_date
        - photo
        - telephone_no
        - error_message
      properties:
        nin:
          type: string
          description: Verified NIN
          example: '12345678901'
        first_name:
          type: string
          description: Customer first name
          example: John
        middle_name:
          type: string
          description: Customer middle name
          example: Adebayo
        surname:
          type: string
          description: Customer surname
          example: Doe
        gender:
          type: string
          description: Customer gender
          example: MALE
        birth_date:
          type: string
          description: Customer birth date
          example: '1992-08-14'
        photo:
          type: string
          description: Customer photo returned by the provider
          example: /9j/4AAQSkZJRgABAQAAAQABAAD...
        telephone_no:
          type: string
          description: Telephone number linked to the NIN
          example: '08012345678'
        error_message:
          type: string
          description: Provider-level error message when applicable
          example: ''
    VerificationCharges:
      type: object
      required:
        - charged
        - charged_amount
      properties:
        charged:
          type: boolean
          description: Whether the verification request was billed
        charged_amount:
          type: string
          description: Amount charged for the verification request
          example: '0.00'

````