# Get Card Details

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /api/v0/partner/enKashCard/card-details:
    post:
      summary: Get Card Details
      deprecated: false
      description: >-
        :::highlight purple 📌

        The Get Wallet Details endpoint retrieves the profile and current status
        of a user's enKash wallet. This includes essential information such as
        KYC status, activation status, linked user details, limits, and any
        configuration assigned to the wallet.


        Use this endpoint whenever your application needs to display wallet
        information, validate wallet eligibility for a transaction, or sync the
        latest wallet state for a user.

        :::
      tags:
        - Prepaid Cards/APIs - Prepaid Card/Reloadable Prepaid Cards
      parameters:
        - name: partnerId
          in: header
          description: ''
          required: true
          example: CRM338L2H
          schema:
            type: string
        - name: Authorization
          in: header
          description: ''
          required: true
          example: Bearer hxtaSWH8zb5XrA71XDrgFu1uO50
          schema:
            type: string
        - name: Cookie
          in: header
          description: ''
          required: true
          example: >-
            JSESSIONID=526FAFE391FEC276549D84FEF5FC5BE7;
            JSESSIONID=B01764303CD3DEFC3C0699B3EF351505;
            _cfuvid=jS8C5lxGW4Q6FRWotUQnMGhbxbpGmvk3fGg1kdmq4WM-1752680737979-0.0.1.1-604800000;
            JSESSIONID=6709E31F4515A4151FABAC8E52CAD2A0
          schema:
            type: string
        - name: Content-Type
          in: header
          description: ''
          required: true
          example: application/json
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                cardAccountId:
                  type: string
                  description: Card Account id
                companyId:
                  type: string
                  description: Company id
                enKashCardId:
                  type: string
                  description: Wallet Id
                mobile:
                  type: string
                  description: Mobile of wallet holder
              required:
                - cardAccountId
                - companyId
                - enKashCardId
                - mobile
              x-apidog-orders:
                - cardAccountId
                - companyId
                - enKashCardId
                - mobile
            example:
              cardAccountId: CAC7975
              companyId: CEKQ08TRRG
              enKashCardId: EKCWLUAADN
      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
                            cardAccountId:
                              type: string
                            title:
                              type: string
                            firstName:
                              type: string
                            lastName:
                              type: string
                            gender:
                              type: string
                            specialDate:
                              type: string
                            otbBalance:
                              type: integer
                            createdOn:
                              type: string
                            modifiedOn:
                              type: string
                            cardStatus:
                              type: object
                              properties:
                                name:
                                  type: string
                                label:
                                  type: string
                              required:
                                - name
                                - label
                            kycStatus:
                              type: object
                              properties:
                                name:
                                  type: string
                                label:
                                  type: string
                              required:
                                - name
                                - label
                            cardActivated:
                              type: boolean
                            binType:
                              type: object
                              properties:
                                name:
                                  type: string
                                label:
                                  type: string
                              required:
                                - name
                                - label
                            loadAmount:
                              type: integer
                            companyId:
                              type: string
                    required:
                      - recordsCount
                      - data
                required:
                  - code
                  - message
                  - payload
              example: |-
                {
                    "code": 0,
                    "message": "Success",
                    "payload": {
                        "recordsCount": 1,
                        "data": [
                            {
                                "enKashCardId": "EKCWLUAADN",
                                "cardAccountId": "CAC7975",
                                "expiryMonth": "",
                                "expiryYear": "",
                                "title": "Mr",
                                "firstName": "Kris",
                                "lastName": "Singh",
                                "otbBalance": 0.00,
                                "createdOn": "Jul 16, 2025 9:24:38 PM",
                                "modifiedOn": "Jul 16, 2025 9:24:38 PM",
                                "cardStatus": {
                                    "name": "UL",
                                    "label": "UnLocked"
                                },
                                "kycStatus": {
                                    "name": "NOT_UPLOADED",
                                    "label": "Not Uploaded"
                                },
                                "cardActivated": false,
                                "binType": {
                                    "name": "PREPAID",
                                    "label": "Prepaid Card"
                                },
                                "loadAmount": 0.00,
                                "companyId": "CEKQ08TRRG",
                                "middleName": "",
                            ]
                        }
                    ]
                }
                }
          headers: {}
          x-apidog-name: ''
      security:
        - bearer: []
      x-apidog-folder: Prepaid Cards/APIs - Prepaid Card/Reloadable Prepaid Cards
      x-apidog-status: released
      x-run-in-apidog: https://app.apidog.com/web/project/616243/apis/api-27784598-run
components:
  schemas: {}
  securitySchemes:
    bearer:
      type: http
      scheme: bearer
servers:
  - url: https://ekpayout-uat.enkash.in
    description: Testing Env
security: []

```
