> ## 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.

# /white-list/rules



## OpenAPI

````yaml /api-reference/ruleengine.openapi.json put /white-list/rules
openapi: 3.0.3
info:
  title: Ruleengine
  version: 1.0.0
  description: >-
    Portão 3 ruleengine API. Generated by tools/openapi from code (routes +
    security) and the hand-written spec (request/response bodies). Confidence
    tiers: generated:typed=5 copied:manual=0 unknown=13.
servers:
  - url: https://api.ruleengine.v2.portao3.com.br/
    description: production
  - url: https://api.ruleengine.dev.3pers.com.br/
    description: development
security:
  - bearerAuth: []
tags:
  - name: Policy Assignments
  - name: Security Policies
  - name: Blocked Balances
  - name: Whitelist
paths:
  /white-list/rules:
    put:
      tags:
        - Whitelist
      summary: /white-list/rules
      operationId: putWhiteListRules
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                realmId:
                  type: string
                  minLength: 1
                organizationId:
                  type: string
                  minLength: 1
                accountId:
                  type: string
                  minLength: 1
                rules:
                  type: array
                  items:
                    type: string
                    enum:
                      - BLOCK_WALLET_PIX_IN
                      - PIX_IN_BLOCK_ALL
                      - PIX_FROM_GATEWAY
                      - PIX_IN_ALLOW_ALL
                      - PIX_FROM_SAME_DOCUMENT
                      - PIX_FROM_SHAREHOLDER
                      - PIX_RECURRENT_DEBIT_PARTY
                      - PIX_AMOUNT_LESS_THAN
                      - PIX_INFRACTION
              required:
                - realmId
                - organizationId
                - accountId
                - rules
      responses:
        default:
          description: Undocumented response (no code type, no existing spec).
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````