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

# Gerar PIX Estático

> Gera um QR Code PIX estático com valor fixo. Ideal para uso no balcão. Contas pessoa física (CPF) estão sujeitas a um limite de vendas mensal.



## OpenAPI

````yaml POST /charge/pix/static
openapi: 3.0.0
info:
  title: payera-api
  description: Documentação de endpoints e entidades da payera
  version: '1.0'
  contact: {}
servers:
  - url: https://api.rivoopay.com
security:
  - ApiKeyAuth: []
paths:
  /charge/pix/static:
    post:
      tags:
        - Charges
      summary: Criar QR Code PIX estático
      description: >-
        Gera um QR Code PIX estático com valor fixo. Ideal para uso no balcão.
        Contas pessoa física (CPF) estão sujeitas a um limite de vendas mensal.
      operationId: ChargeController_createStaticPixCharge
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateStaticPixChargeDto'
      responses:
        '201':
          description: QR Code estático criado com sucesso
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StaticPixChargeResponseDto'
        '400':
          description: Requisição inválida
        '404':
          description: Empresa não encontrada
components:
  schemas:
    CreateStaticPixChargeDto:
      type: object
      properties:
        amount:
          type: number
          example: 1000
          description: Valor em centavos.
      required:
        - amount
    StaticPixChargeResponseDto:
      type: object
      properties:
        status:
          type: number
          example: 201
        message:
          type: string
          example: Static QR code created successfully
        data:
          $ref: '#/components/schemas/StaticPixChargeDataDto'
      required:
        - status
        - message
        - data
    StaticPixChargeDataDto:
      type: object
      properties:
        correlationID:
          type: string
          example: qrs_abc123
        brCode:
          type: string
          example: 00020126...
        qrCodeImage:
          type: string
          example: https://api.openpix.com.br/openpix/charge/brcode/image/xxx.png
        devMode:
          type: boolean
          example: false
          description: >-
            Indica se o QR code foi gerado em modo desenvolvimento
            (sandbox/análise)
      required:
        - correlationID
        - brCode
        - qrCodeImage
        - devMode
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-KEY

````