# Load Money from Balance

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /api/v0/partner/enKashCard/balance:
    post:
      summary: Load Money from Balance
      deprecated: false
      description: >

        :::highlight purple 📌

        Load Money from Balance lets you add funds to a prepaid card from the
        balance maintained by you with EnKash, adjusting the card balance in
        real time, ensuring accurate transactions and easy balance management.

        :::
      operationId: balanceUpdate_1
      tags:
        - Prepaid Cards/APIs - Prepaid Card/Reloadable Prepaid Cards
      parameters:
        - name: authorization
          in: header
          description: >-
            Provide your bearer token in the Authorization header when making
            requests to protected resources.
          required: true
          example: Bearer 2f68dbbf-519d-4f01-9636-e2421b68f379
          schema:
            type: string
        - name: partnerId
          in: header
          description: PartnerID shared during sign-up
          required: true
          example: ' CRXXXXXXX'
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              type: object
              x-apidog-refs:
                01JJ9EBQ5NPWYVDJBA3SJ6CM30:
                  $ref: '#/components/schemas/MealCardBalanceRequest'
                  x-apidog-overrides:
                    transactionType:
                      type: string
                      enum:
                        - DR
                        - CR
                      description: >-
                        As it is update balance request type should be CR.
                        (credit)

                        On this card DR (Debit) is not allowed. 
                      x-apidog-mock: CR , DR
                  required:
                    - transactionType
              x-apidog-orders:
                - 01JJ9EBQ5NPWYVDJBA3SJ6CM30
              properties: {}
              x--orders: []
              x--ignore-properties: []
            example:
              companyId: CEKEP5GSGP
              cardAccountId: CABFIPS
              createdBy: anay
              amount: 10
              uniqueReferenceNumber: Ref123
              remarks: string
              enKashCardId: EKCMB7KAEW
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: integer
                  message:
                    type: string
                  payload:
                    type: string
                required:
                  - code
                  - message
                  - payload
                x-apidog-orders:
                  - code
                  - message
                  - payload
                x--orders:
                  - code
                  - message
                  - payload
                x--ignore-properties: []
              example:
                code: 0
                message: Success
                payload: >-
                  Funds allocated from Parent Account to Card by Admin
                  successful
          headers: {}
          x-apidog-name: OK
      security: []
      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-13438388-run
components:
  schemas:
    MealCardBalanceRequest:
      required:
        - amount
        - enKashCardId
      type: object
      properties:
        companyId:
          type: string
          description: >-
            Unique EnKash Company ID. This is the ID assigned to a company
            onboarded on the EnKash platform.
        cardAccountId:
          type: string
          description: >-
            Unique EnKash Account ID. This is the ID assigned to the account
            created under the company.
        createdBy:
          type: string
          description: 'Transaction created by user. '
        amount:
          minimum: 0.01
          type: number
          description: Amount greater than 1
        uniqueReferenceNumber:
          type: string
          description: External reference number for the load money transaction.
        remarks:
          type: string
          description: Remarks for the transaction
        enKashCardId:
          type: string
          description: Unique identifier for the EnKash card.
      x-apidog-orders:
        - companyId
        - cardAccountId
        - createdBy
        - amount
        - uniqueReferenceNumber
        - remarks
        - enKashCardId
      x--orders:
        - companyId
        - cardAccountId
        - createdBy
        - amount
        - uniqueReferenceNumber
        - remarks
        - enKashCardId
      x--ignore-properties: []
      x-apidog-folder: ''
  securitySchemes: {}
servers:
  - url: https://ekpayout-uat.enkash.in
    description: Testing Env
security: []

```
