# Get Petty Cash Account Details

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /api/v0/partner/enKashCard/cardAccount/get:
    post:
      summary: Get Petty Cash Account Details
      deprecated: false
      description: >-

        :::highlight orange 📌

        Fetches detailed information about a user’s reward account, including
        current balance, reward point status, and account metadata. This API is
        typically used to display reward summaries in dashboards, mobile apps,
        or loyalty program interfaces

        :::
      tags:
        - Petty Cash/API - Petty Cash/Money Allocation
      parameters:
        - name: partnerId
          in: header
          description: >-
            A unique ID given to the integration partner of Enkash. Partner id
            will  shared by Enkash
          required: true
          example: partnerId
          schema:
            type: string
        - name: Authorization
          in: header
          description: Auth Token Generated beforehand
          required: true
          example: Bearer xaYGp6Oav3I65OlSTx7SU-Rh1aM
          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 provided after onboarding
                companyId:
                  type: string
                  description: Company Id at Enkash
              required:
                - cardAccountId
                - companyId
              x-apidog-orders:
                - cardAccountId
                - companyId
            example:
              cardAccountId: account_id
              companyId: company_id
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  availableBalance:
                    type: number
                    description: Available balance at account for fund allocation
                    faker: '1000'
                  totalCards:
                    type: number
                    faker: '2'
                    description: ' Total card Available at cardAccount include active and blocked card'
                  companyName:
                    type: string
                    description: ' Name of a company '
                    faker: ' BigBite Enterprise'
                  companyId:
                    type: string
                    description: ' Company identification id (shared by enkash for all corporate)  '
                    faker: CEKCDVT1UV
                  cardAccountId:
                    type: string
                    description: ' Card Account Number (shared by enkash for all corporate)  '
                    faker: CAF0RX8N3
                  activeCards:
                    type: number
                    description: ' Total Active Card available for cardAccount'
                    faker: '1'
                  totalAllocationPoint:
                    type: number
                    description: ' Total fund allocated from cardAccount to user card'
                    faker: '100'
                  ' totalRedemptionPoint':
                    type: number
                    description: ' Total fund redeemed from By user'
                    faker: '200'
                  currentMonthAllocationPoint:
                    type: number
                    description: ' Current Month allocation point'
                    faker: '100'
                  currentMonthRedemptionPoint:
                    type: number
                    description: Current Month Redemption point
                    faker: '100'
                x-apidog-orders:
                  - availableBalance
                  - totalCards
                  - companyName
                  - companyId
                  - cardAccountId
                  - activeCards
                  - totalAllocationPoint
                  - ' totalRedemptionPoint'
                  - currentMonthAllocationPoint
                  - currentMonthRedemptionPoint
                required:
                  - availableBalance
                  - totalCards
                  - companyName
                  - companyId
                  - cardAccountId
                  - activeCards
                  - totalAllocationPoint
                  - ' totalRedemptionPoint'
                  - currentMonthAllocationPoint
                  - currentMonthRedemptionPoint
          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-24480518-run
components:
  schemas: {}
  securitySchemes: {}
servers:
  - url: https://ekpayout-uat.enkash.in
    description: Testing Env
security: []

```
