# Get User 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 Details
      deprecated: false
      description: >-

        :::highlight orange 📌

        This API retrieves a list of users associated with a specific
        organization, platform, or system. It returns key user profile
        information, optionally filtered by user role, status, or other
        criteria. Useful for admin dashboards, user management modules, or
        reporting interfaces

        :::
      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 gw_M-onAKOmhgP7E0sbsIFAovtA
          schema:
            type: string
        - name: Content-Type
          in: header
          description: ''
          required: true
          example: application/json
          schema:
            type: string
        - name: Cookie
          in: header
          description: ''
          required: false
          example: >-
            JSESSIONID=526FAFE391FEC276549D84FEF5FC5BE7;
            _cfuvid=5Jz3eAXXWDfSx1meQ_VMUHcNL7S9Dh4PyjrAp3WYc4w-1723795476201-0.0.1.1-604800000
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                cardAccountId:
                  type: string
                companyId:
                  type: string
              required:
                - cardAccountId
                - companyId
              x-apidog-orders:
                - cardAccountId
                - companyId
            example:
              cardAccountId: CAQL8YCV3
              companyId: CEK1PU9AOO
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                response_code: 0
                response_message: Success
                payload:
                  enKashCardId: EKCE54IDPE
                  userId: EKHCPB7W
                  cardAccountId: CAVBMRFE8
                  token: 1cfc6f4d558064eb6a20
                  maskedNumber: XXXX XXXX XXXX 2209
                  expiryMonth: '08'
                  expiryYear: '2026'
                  email: testapi@gmail.com
                  mobile: '6230912209'
                  title: Mr
                  firstName: Api
                  lastName: Test
                  gender: M
                  usedMtd: 0
                  usedDtd: 0
                  usedYtd: 0
                  otbBalance: 0
                  primaryCard: false
                  prepaidCard: true
                  physicalCard: false
                  deleted: false
                  closedLoopCard: false
                  createdOn: '2024-08-05 16:51:36'
                  modifiedOn: '2024-08-05 16:51:36'
                  cardStatus:
                    name: UL
                    label: UnLocked
                  kycStatus:
                    name: VERIFIED
                    label: Verified
                  cardProgramme: SBM
                  useAccountFunds: false
                  blockCode: A
                  partnerLogo: https://image.enkash.in/IMAGES/sbm-logo.png
                  physicalDeliveryAddressFlag: false
                  cardActivated: true
                  binType:
                    name: REWARD
                    label: Reward Card
                  loadAmount: 0
                  companyId: CEK7T1WMC6
                  cardKitMasterId: 11
                  extEntityId: EXT3B40FKFZGJ
                  switchProvider: EK_CLOSEDLOOP_CREDIT
                  accountBalance: 898138
                  physicalCardAllowed: false
                  kitType:
                    name: VISA
                    label: Visa
                  surchargeAmt: 0
                  panValidated: false
                  usedLtd: 0
                  latestTnCVersionAccepted: true
                  latestKeyFactAccepted: true
                  latestTnCVersionAcceptedForPrimaryCard: true
                  latestKeyFactAcceptedCardForPrimaryCard: true
                  virtualAccountNumber: ENKASHEDENKEKCE54IDPE
                  limitAllocatedLtd: 0
                  posAllowed: false
                  posAllowedAdmin: false
                  atmAllowed: false
                  atmAllowedAdmin: false
                  onlineAllowed: false
                  onlineAllowedAdmin: false
                  liveImage: false
                  unallocateFundAllowed: true
                  useParentFundAllowed: false
                  minKycOtpVerified: false
                  enKashSupportEmail: support@enkash.com
                  enKashSupportMobile: '1234567890'
                  companyName: Vikram Singh
                  accountType:
                    name: EMPLOYEE_REWARDS
                    label: Employee Rewards
                    description: Reward
                  lastAllocatedAmount: 0
                  holdBalance: 0
                  unAllocateHoldBalance: 0
                  tncUnAllocateAllowed: false
                  tncUnAllocateAccepted: false
                  totalRewardsReceived: 0
                  rewardPointsReceived: 0
                  ckycEnabled: false
                  vkycAllowed: false
                type: string
          headers: {}
          x-apidog-name: Success
      security:
        - bearer: []
      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-24480520-run
components:
  schemas: {}
  securitySchemes:
    bearer:
      type: http
      scheme: bearer
servers:
  - url: https://ekpayout-uat.enkash.in
    description: Testing Env
security: []

```
