# Update Card Limits & Controls

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /api/v0/partner/enKashCard/velocity/rule:
    post:
      summary: Update Card Limits & Controls
      deprecated: false
      description: ''
      tags:
        - Prepaid Cards/APIs - Prepaid Card/Reloadable Prepaid Cards
      parameters:
        - name: authorization
          in: header
          description: ''
          required: true
          example: Bearer 2f68dbbf-519d-4f01-9636-e2421b68f379
          schema:
            type: string
        - name: partnerId
          in: header
          description: ''
          required: true
          example: CRXXXXXXX
          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
                  description: 'Company Id '
                cardAccountId:
                  type: string
                  description: Card Account ID
                enKashCardIds:
                  type: array
                  items:
                    type: string
                  description: Array list of Card ids
                posAllowed:
                  type: boolean
                  description: true if need to enable POS txn on card
                onlineAllowed:
                  type: boolean
                  description: true if need to enable online transaction on card
                contactlessAllowed:
                  type: boolean
                  description: true if need to enable contactless transaction on card
                perTxnLimit:
                  type: number
                  description: Per Txn Limit for Card
                dtd:
                  type: number
                  description: for setting Daily Txn Amount Limit
                mtd:
                  type: number
                  description: for setting monthly txn limit
                ytd:
                  type: number
                  description: for setting yearly txn limit
                mtdCount:
                  type: number
                  description: for setting Monthly Txn Count Limit
                dtdCount:
                  type: number
                  description: for setting daily Txn Count Limit
                ytdCount:
                  type: number
                  description: for setting yearly Txn Count Limit
                adminUser:
                  type: boolean
                  x-apidog-mock: true/false
                  description: true if admin is setting the limit on card
              required:
                - companyId
                - cardAccountId
                - enKashCardIds
                - adminUser
              x-apidog-orders:
                - companyId
                - cardAccountId
                - enKashCardIds
                - posAllowed
                - onlineAllowed
                - contactlessAllowed
                - perTxnLimit
                - dtd
                - mtd
                - ytd
                - mtdCount
                - dtdCount
                - ytdCount
                - adminUser
            example:
              companyId: string
              cardAccountId: string
              enKashCardIds: EKC2122
              posAllowed: true
              onlineAllowed: true
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties: {}
          headers: {}
          x-apidog-name: Success
      security: []
      x-apidog-folder: Prepaid Cards/APIs - Prepaid Card/Reloadable Prepaid Cards
      x-apidog-status: developing
      x-run-in-apidog: https://app.apidog.com/web/project/616243/apis/api-26008463-run
components:
  schemas: {}
  securitySchemes: {}
servers:
  - url: https://ekpayout-uat.enkash.in
    description: Testing Env
security: []

```
