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

# 16 - Consulta os detalhes dos pagamentos recebidos por um QR Code.

> <p>Scopes:</p>
<b>api.pix api.qrcode.consultar</b>

Por meio deste endpoint, o parceiro pode obter os detalhes dos pagamentos recebidos por um QR Code.


## OpenAPI

````yaml get /api/v2/QRCode/{codigoQRCode}/DetalhesPagamento
openapi: 3.0.1
info:
  title: Api Externa BMP SPI
  description: '<p><strong>Build Number: </strong>#0.0</p>'
  version: v1
servers:
  - url: https://api.ext.pix.dbs.moneyp.com.br/
    description: Localhost
security:
  - Bearer: []
paths:
  /api/v2/QRCode/{codigoQRCode}/DetalhesPagamento:
    get:
      tags:
        - QRCode
      summary: Consulta os detalhes dos pagamentos recebidos por um QR Code.
      description: "<p>Scopes:</p>\r\n<b>api.pix api.qrcode.consultar</b>"
      parameters:
        - name: codigoQRCode
          in: path
          description: Identificador UUID do QR Code a ser consultado.
          required: true
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: >-
                    #/components/schemas/BMPSPB.Domain.Messaging.API.Pix.QRCode.DetalhesPagamento.DetalhesPagamentoQRCodeResponse
        '400':
          description: Erro de negócio
          content:
            application/json:
              schema:
                type: object
                properties:
                  sucesso:
                    type: boolean
                  mensagem:
                    type: string
        '500':
          description: Erro interno do servidor
          content:
            application/json:
              schema:
                type: object
                properties:
                  sucesso:
                    type: boolean
                  mensagem:
                    type: string
components:
  schemas:
    BMPSPB.Domain.Messaging.API.Pix.QRCode.DetalhesPagamento.DetalhesPagamentoQRCodeResponse:
      type: object
      properties:
        numeroOperacao:
          type: string
          nullable: true
        codigoRecebimento:
          type: string
          format: uuid
        codigoMovimento:
          type: string
          format: uuid
        txId:
          type: string
          nullable: true
        valor:
          type: number
          format: double
        dataRecebimento:
          type: string
          format: date-time
          nullable: true
        devolucoes:
          type: array
          items:
            $ref: >-
              #/components/schemas/BMPSPB.Domain.Messaging.API.Pix.QRCode.DetalhesPagamento.DevolucaoPagamentoQRCodeResponseDto
          nullable: true
      additionalProperties: false
    BMPSPB.Domain.Messaging.API.Pix.QRCode.DetalhesPagamento.DevolucaoPagamentoQRCodeResponseDto:
      type: object
      properties:
        numeroOperacao:
          type: string
          nullable: true
        codigoDevolucao:
          type: string
          format: uuid
        codigoMovimento:
          type: string
          format: uuid
          nullable: true
        dataDevolucao:
          type: string
          format: date-time
          nullable: true
        valorDevolucao:
          type: number
          format: double
          nullable: true
      additionalProperties: false
  securitySchemes:
    Bearer:
      type: apiKey
      description: Copie 'Bearer ' + token
      name: Authorization
      in: header

````