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

# Get withdrawal limits

> Retrieve your current daily withdrawal limits, usage, and fee information. Limits are reduced during nighttime hours (22:00-06:00 BRT).



## OpenAPI

````yaml GET /v1/withdrawals/limits
openapi: 3.1.0
info:
  title: YuvexPay API
  description: >-
    The YuvexPay API allows you to accept payments, process withdrawals, manage
    products and customers programmatically. All API access is over HTTPS and
    uses JSON request/response bodies.
  version: 1.0.0
  contact:
    name: YuvexPay Support
    email: support@yuvexpay.com
    url: https://docs.yuvexpay.com
servers:
  - url: https://api.yuvexpay.com
    description: >-
      Same base URL serves both sandbox and production. Send a `ypk_test_*` key
      for sandbox or a `ypk_live_*` key for production.
security:
  - bearerAuth: []
tags:
  - name: Authentication
    description: Inspect the API key in use
  - name: Payments
    description: Create and manage payments
  - name: Withdrawals
    description: Create and manage withdrawals
  - name: Products
    description: Manage product catalog
  - name: Customers
    description: Manage customer records
  - name: Documents
    description: Generate receipts and statements
  - name: Balance
    description: Inspect the current account balance
paths:
  /v1/withdrawals/limits:
    get:
      tags:
        - Withdrawals
      summary: Get withdrawal limits
      description: >-
        Retrieve your current daily withdrawal limits, usage, and fee
        information. Limits are reduced during nighttime hours (22:00-06:00
        BRT).
      operationId: getWithdrawalLimits
      responses:
        '200':
          description: Limits retrieved.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WithdrawalLimits'
              example:
                currentLimit: 5000
                used: 1200
                remaining: 3800
                isNightTime: false
                fee: 2.49
                dayStartHour: 6
                dayEndHour: 22
        '401':
          $ref: '#/components/responses/Unauthorized'
components:
  schemas:
    WithdrawalLimits:
      type: object
      properties:
        currentLimit:
          type: number
          description: Current daily limit in BRL.
        used:
          type: number
          description: Amount already withdrawn today.
        remaining:
          type: number
          description: Remaining withdrawal capacity.
        isNightTime:
          type: boolean
          description: Whether reduced night limits are active.
        fee:
          type: number
          description: Withdrawal fee (flat amount in BRL).
        dayStartHour:
          type: integer
          description: Hour when daytime limits begin (BRT).
        dayEndHour:
          type: integer
          description: Hour when nighttime limits begin (BRT).
    Error:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
              description: Machine-readable error code.
            message:
              type: string
              description: Human-readable error message.
            details:
              type: object
              description: Additional error context.
  responses:
    Unauthorized:
      description: Missing or invalid authentication token.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error:
              code: INVALID_API_KEY
              message: Invalid or revoked API key
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        YuvexPay API key. Include as `Authorization: Bearer
        ypk_<env>_<kid>_<secret>` where `<env>` is `test` (sandbox) or `live`
        (production). Create and manage keys in the dashboard under **Settings >
        API Keys**.

````