> ## Documentation Index
> Fetch the complete documentation index at: https://developers.portao3.com.br/llms.txt
> Use this file to discover all available pages before exploring further.

# /realms/{realmId}/organizations/{organizationId}/accounts/{accountId}/card-limit-rule



## OpenAPI

````yaml /api-reference/banking.openapi.json post /realms/{realmId}/organizations/{organizationId}/accounts/{accountId}/card-limit-rule
openapi: 3.0.3
info:
  title: Banking
  version: 1.0.0
  description: >-
    Portão 3 banking API. Generated by tools/openapi from code (routes +
    security) and the hand-written spec (request/response bodies). Banking
    attaches a zod validationSchema at the route; request bodies are resolved
    from it (object + array roots). Responses have no presenter layer, so they
    stay tier=unknown. Confidence tiers: generated:typed=49 copied:manual=5
    unknown=204.
servers:
  - url: https://api.banking.v2.portao3.com.br/
    description: production
  - url: https://api.banking.dev.3pers.com.br/
    description: development
security:
  - bearerAuth: []
tags:
  - name: Accounts
  - name: Wallets
  - name: Cards
  - name: PIX
  - name: PIX Keys (DICT)
  - name: PIX Charges
  - name: PIX Automatic
  - name: PIX Initiation (Open Finance)
  - name: PIX Infractions (MED)
  - name: Boleto
  - name: Boleto Charges
  - name: TED
  - name: Transfers
  - name: Transactions
  - name: Cashback
  - name: Pluggy
  - name: Push
  - name: Swap Banking
  - name: Swap
  - name: Create Batch Wallets
  - name: Internal
paths:
  /realms/{realmId}/organizations/{organizationId}/accounts/{accountId}/card-limit-rule:
    post:
      tags:
        - Cards
      summary: >-
        /realms/{realmId}/organizations/{organizationId}/accounts/{accountId}/card-limit-rule
      operationId: >-
        postRealmsByRealmIdOrganizationsByOrganizationIdAccountsByAccountIdCardLimitRule
      parameters:
        - name: realmId
          in: path
          required: true
          schema:
            type: string
        - name: organizationId
          in: path
          required: true
          schema:
            type: string
        - name: accountId
          in: path
          required: true
          schema:
            type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                description:
                  type: string
                  minLength: 1
                rules:
                  type: array
                  items:
                    type: object
                    properties:
                      property:
                        type: string
                        enum:
                          - merchantId
                          - merchantName
                          - merchantCity
                          - merchantCountry
                          - mcc
                          - txnCurrency
                          - billingAmount
                          - acquiringCountryCode
                          - msgType
                          - txnType
                          - effectiveAtHour
                          - effectiveAtWeekday
                      operator:
                        type: string
                        enum:
                          - EQUALS
                          - NOT_EQUAL
                          - GREATER_THAN
                          - GREATER_THAN_OR_EQUAL
                          - LESS_THAN
                          - LESS_THAN_OR_EQUAL
                          - BETWEEN
                          - NOT_BETWEEN
                          - CONTAINS
                          - NOT_CONTAINS
                          - IN
                          - NOT_IN
                          - MATCHES
                          - NOT_MATCHES
                      comparative:
                        type: string
                    required:
                      - property
                      - operator
              required:
                - description
      responses:
        default:
          description: Undocumented response (no code type, no existing spec).
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````