# Get Wallet Balance

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /api/v0/partner/enKashCard/card-balance:
    post:
      summary: Get Wallet Balance
      deprecated: false
      description: ''
      tags:
        - Wallet/APIs - Wallet/Wallet Management
      parameters:
        - name: partnerId
          in: header
          description: ''
          required: true
          example: CRM338L2H
          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:
                companyId:
                  type: string
                  x-apidog-mock: CEKQ08TRRG
                cardAccountId:
                  type: string
                  x-apidog-mock: CAC7975
              required:
                - companyId
                - cardAccountId
              x-apidog-orders:
                - companyId
                - cardAccountId
            example:
              companyId: CEK
              cardAccountId: CA123
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: integer
                  message:
                    type: string
                  payload:
                    type: object
                    properties:
                      cardAccountId:
                        type: string
                        description: Card account it
                      companyId:
                        type: string
                        description: Company Id
                      companyName:
                        type: string
                        description: Company Name
                      availableBalance:
                        type: integer
                        x-apidog-mock: '1000'
                        description: Balance present in the account
                      totalCards:
                        type: integer
                        description: Total cards present under the account
                      activeCards:
                        type: integer
                        description: Total active cards present under the account
                    required:
                      - cardAccountId
                      - companyId
                      - companyName
                      - availableBalance
                      - totalCards
                      - activeCards
                    x-apidog-orders:
                      - cardAccountId
                      - companyId
                      - companyName
                      - availableBalance
                      - totalCards
                      - activeCards
                required:
                  - code
                  - message
                  - payload
                x-apidog-orders:
                  - code
                  - message
                  - payload
              example:
                code: 0
                message: Success
                payload:
                  totalBalance: 2000
          headers: {}
          x-apidog-name: Success
      security:
        - bearer: []
      x-apidog-folder: Wallet/APIs - Wallet/Wallet Management
      x-apidog-status: released
      x-run-in-apidog: https://app.apidog.com/web/project/616243/apis/api-20814027-run
components:
  schemas: {}
  securitySchemes:
    bearer:
      type: http
      scheme: bearer
servers:
  - url: https://ekpayout-uat.enkash.in
    description: Testing Env
security: []

```
