# Get Card Limits & Controls

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /api/v0/partner/enKashCard/velocity/rule/get:
    post:
      summary: Get Card Limits & Controls
      deprecated: false
      description: >-

        :::highlight purple 📌

        This API retrieves the spending limits and controls set on a specific
        card, including maximum spend or allowed transactions across POS,
        online, and ATM usage.

        :::
      operationId: getCardVelocityRule
      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:
              $ref: '#/components/schemas/CardVelocityRuleSearchRequest'
            example:
              companyId: '99'
              cardAccountId: SUV
              enKashCardId: SUV
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: integer
                  message:
                    type: string
                  payload:
                    type: object
                    properties:
                      createdBy:
                        type: string
                      createdOn:
                        type: string
                      modifiedOn:
                        type: string
                      lastModifiedBy:
                        type: string
                      posAllowed:
                        type: boolean
                        description: |+

                      posAllowedAdmin:
                        type: boolean
                      atmAllowed:
                        type: boolean
                      atmAllowedAdmin:
                        type: boolean
                      internationalAllowed:
                        type: boolean
                      internationalAllowedAdmin:
                        type: boolean
                      onlineAllowed:
                        type: boolean
                      onlineAllowedAdmin:
                        type: boolean
                      useAccountFunds:
                        type: boolean
                      internationalAtmAllowed:
                        type: boolean
                      contactlessAllowedAdmin:
                        type: boolean
                      contactlessAllowed:
                        type: boolean
                      platformTxnAllowed:
                        type: boolean
                      autoLoading:
                        type: boolean
                      ecomChannelLimit:
                        type: integer
                      atmChannelLimit:
                        type: integer
                      posChannelLimit:
                        type: integer
                      overrideAutoLoading:
                        type: boolean
                      excludeInBulkFunding:
                        type: boolean
                    required:
                      - createdBy
                      - createdOn
                      - modifiedOn
                      - lastModifiedBy
                      - posAllowed
                      - posAllowedAdmin
                      - atmAllowed
                      - atmAllowedAdmin
                      - internationalAllowed
                      - internationalAllowedAdmin
                      - onlineAllowed
                      - onlineAllowedAdmin
                      - useAccountFunds
                      - internationalAtmAllowed
                      - contactlessAllowedAdmin
                      - contactlessAllowed
                      - platformTxnAllowed
                      - autoLoading
                      - ecomChannelLimit
                      - atmChannelLimit
                      - posChannelLimit
                      - overrideAutoLoading
                      - excludeInBulkFunding
                    x-apidog-orders:
                      - createdBy
                      - createdOn
                      - modifiedOn
                      - lastModifiedBy
                      - posAllowed
                      - posAllowedAdmin
                      - atmAllowed
                      - atmAllowedAdmin
                      - internationalAllowed
                      - internationalAllowedAdmin
                      - onlineAllowed
                      - onlineAllowedAdmin
                      - useAccountFunds
                      - internationalAtmAllowed
                      - contactlessAllowedAdmin
                      - contactlessAllowed
                      - platformTxnAllowed
                      - autoLoading
                      - ecomChannelLimit
                      - atmChannelLimit
                      - posChannelLimit
                      - overrideAutoLoading
                      - excludeInBulkFunding
                    x-apidog-ignore-properties: []
                required:
                  - code
                  - message
                  - payload
                x-apidog-orders:
                  - code
                  - message
                  - payload
                x-apidog-ignore-properties: []
              example:
                code: 0
                message: Success
                payload:
                  createdBy: anay.nagar+cp@enkash.com
                  createdOn: Jan 23, 2025 4:38:36 PM
                  modifiedOn: Jan 23, 2025 4:38:36 PM
                  lastModifiedBy: anay.nagar+cp@enkash.com
                  posAllowed: true
                  posAllowedAdmin: true
                  atmAllowed: false
                  atmAllowedAdmin: true
                  internationalAllowed: false
                  internationalAllowedAdmin: false
                  onlineAllowed: false
                  onlineAllowedAdmin: true
                  useAccountFunds: false
                  internationalAtmAllowed: false
                  contactlessAllowedAdmin: false
                  contactlessAllowed: false
                  platformTxnAllowed: false
                  autoLoading: true
                  ecomChannelLimit: 10000
                  atmChannelLimit: 0
                  posChannelLimit: 10000
                  overrideAutoLoading: false
                  excludeInBulkFunding: false
          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-13013004-run
components:
  schemas:
    CardVelocityRuleSearchRequest:
      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.
        enKashCardId:
          type: string
          description: Unique identifier for enKash card.
      x-apidog-orders:
        - companyId
        - cardAccountId
        - enKashCardId
      required:
        - companyId
        - cardAccountId
        - enKashCardId
      x-apidog-ignore-properties: []
      x-apidog-folder: ''
  securitySchemes: {}
servers:
  - url: https://ekpayout-uat.enkash.in
    description: Testing Env
security: []

```
