# Get User Handle Details

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /api/v0/partner/enKashCard/search:
    post:
      summary: Get User Handle Details
      deprecated: false
      description: >-

        :::highlight orange 📌

        This API retrieves details of either all cards or a specific card
        associated with a given company and/or card account. The optional
        **enkashCardId** parameter can be used to fetch details for a specific
        card

        :::
      tags:
        - Petty Cash/API - Petty Cash/Money Allocation
      parameters:
        - name: partnerId
          in: header
          description: ''
          required: true
          example: CRMXWB3ZM
          schema:
            type: string
        - name: Authorization
          in: header
          description: ''
          required: true
          example: Bearer SuzhOaF6K64ztA4rSmDOgl9yMlI
          schema:
            type: string
        - name: Content-Type
          in: header
          description: ''
          required: true
          example: application/json
          schema:
            type: string
        - name: Cookie
          in: header
          description: ''
          required: true
          example: >-
            JSESSIONID=526FAFE391FEC276549D84FEF5FC5BE7;
            JSESSIONID=B01764303CD3DEFC3C0699B3EF351505
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                cardAccountId:
                  type: string
                  description: Card Account Id
                  x-apidog-mock: CAxxxx
                companyId:
                  type: string
                  description: Company Id
                  x-apidog-mock: CExxxxx
                enKashCardId:
                  type: string
                  description: Enkash Card Unique identifier Id
                  x-apidog-mock: EKCxxxxx
              required:
                - cardAccountId
                - companyId
              x-apidog-orders:
                - cardAccountId
                - companyId
                - enKashCardId
            example:
              cardAccountId: CAQL8YCV3
              companyId: CEK1PU9AOO
              enKashCardId: EKC9MKS5RM
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: integer
                  message:
                    type: string
                  payload:
                    type: object
                    properties:
                      recordsCount:
                        type: integer
                      data:
                        type: array
                        items:
                          type: object
                          properties:
                            enKashCardId:
                              type: string
                              description: Unique Enkash Card id of card holder
                            userId:
                              type: string
                              description: Unique Enkash user Id of the user
                            cardAccountId:
                              type: string
                              description: Unqiue Card Account id
                            expiryMonth:
                              type: string
                              description: Expiry month of card
                            expiryYear:
                              type: string
                              description: Expiry year of card
                            email:
                              type: string
                              description: Email of card holder
                            mobile:
                              type: string
                              description: Mobile number of card holder
                            title:
                              type: string
                              description: Mr / Ms
                            firstName:
                              type: string
                              description: First Name of card holder
                            lastName:
                              type: string
                              description: Last Name of Card Holder
                            otbBalance:
                              type: integer
                              description: Current Card Balance
                            companyId:
                              type: string
                              description: 'Unique Enkash Company id to which user belongs '
                          x-apidog-orders:
                            - enKashCardId
                            - userId
                            - cardAccountId
                            - expiryMonth
                            - expiryYear
                            - email
                            - mobile
                            - title
                            - firstName
                            - lastName
                            - otbBalance
                            - companyId
                    required:
                      - recordsCount
                      - data
                    x-apidog-orders:
                      - recordsCount
                      - data
                required:
                  - code
                  - message
                  - payload
                x-apidog-orders:
                  - code
                  - message
                  - payload
          headers: {}
          x-apidog-name: Success
      security: []
      x-apidog-folder: Petty Cash/API - Petty Cash/Money Allocation
      x-apidog-status: developing
      x-run-in-apidog: https://app.apidog.com/web/project/616243/apis/api-24480521-run
components:
  schemas: {}
  securitySchemes: {}
servers:
  - url: https://ekpayout-uat.enkash.in
    description: Testing Env
security: []

```
