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

# Set your spending limits

> Limits can also be set on the Airtime Cash page of the dashboard. Daily limits reset at midnight Nigerian time.




## OpenAPI

````yaml /openapi.yaml put /airtime-cash/settings
openapi: 3.0.3
info:
  title: OnePanel API
  version: 1.0.0
  description: API for OnePanel data vending and transaction management.
servers:
  - url: https://api.onepanel.ng/api/v1
    description: Production
security: []
tags:
  - name: Catalog
  - name: Purchases
  - name: Transactions
  - name: Account
  - name: Airtime Cash
paths:
  /airtime-cash/settings:
    put:
      tags:
        - Airtime Cash
      summary: Set your spending limits
      description: >
        Limits can also be set on the Airtime Cash page of the dashboard. Daily
        limits reset at midnight Nigerian time.
      operationId: updateAirtimeCashSettings
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - max_per_transfer
                - max_daily_per_sim
                - max_daily_total
                - session_expiry_days
              properties:
                max_per_transfer:
                  type: integer
                  example: 5000
                max_daily_per_sim:
                  type: integer
                  example: 20000
                max_daily_total:
                  type: integer
                  example: 200000
                session_expiry_days:
                  type: integer
                  example: 30
      responses:
        '200':
          description: Saved.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AirtimeCashSettings'
        '400':
          description: A value is outside the allowed range.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
        - ApiKeyAuth: []
        - BearerAuth: []
components:
  schemas:
    AirtimeCashSettings:
      type: object
      properties:
        max_per_transfer:
          type: integer
          example: 5000
        max_daily_per_sim:
          type: integer
          example: 20000
        max_daily_total:
          type: integer
          example: 200000
        session_expiry_days:
          type: integer
          example: 30
        limits:
          type: object
          description: Platform ceilings you cannot raise a limit above.
          properties:
            min_transfer:
              type: integer
              example: 50
            max_per_transfer:
              type: integer
              example: 50000
            max_daily_per_sim:
              type: integer
              example: 100000
            max_daily_total:
              type: integer
              example: 1000000
            max_session_expiry_days:
              type: integer
              example: 90
    Error:
      type: object
      required:
        - message
      properties:
        message:
          type: string
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.