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

# Create account rules for KYC level

> Create new balance and transaction limits for a KYC level (admin only)



## OpenAPI

````yaml /olive-openapi.json post /account-rules
openapi: 3.0.0
info:
  description: >-
    API Gateway for OLIVE NFC Card Payment System - Comprehensive payment, card
    management, agent operations, and admin authentication. All /api/v1 routes
    require authentication using either API Key or JWT token.
  title: OLIVE NFC Card Payment API
  termsOfService: http://swagger.io/terms/
  contact:
    name: API Support
    email: support@olive.sl
  license:
    name: Apache 2.0
    url: http://www.apache.org/licenses/LICENSE-2.0.html
  version: 1.0.0
servers:
  - url: https://olive-gateway-a6ba.onrender.com/api/v1
security: []
paths:
  /account-rules:
    post:
      tags:
        - Account Rules
      summary: Create account rules for KYC level
      description: Create new balance and transaction limits for a KYC level (admin only)
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/handler.CreateAccountRulesRequest'
        description: Account rules configuration
        required: true
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
      security:
        - ApiKeyAuth: []
components:
  schemas:
    handler.CreateAccountRulesRequest:
      type: object
      required:
        - daily_transaction_limit
        - kyc_level
        - max_balance
        - monthly_transaction_limit
        - single_transaction_limit
        - status
      properties:
        daily_transaction_limit: {}
        effective_date:
          type: string
        kyc_level: {}
        max_balance: {}
        monthly_transaction_limit: {}
        single_transaction_limit: {}
        status:
          type: string
          enum:
            - active
            - inactive
  securitySchemes:
    ApiKeyAuth:
      description: >-
        API Key for third-party integrations (WhatsApp, Smart PAY, VULT).
        Format: 'Bearer olive_live_xxxxxxxxxxxxx'
      type: apiKey
      name: Authorization
      in: header

````