---
updatedAt: 2026-04-27T14:26:22.000Z
agentTools:
  projectIndex: https://devs.bs2.com/llms.txt
---

# Recebimento - Consultar por QrCodeId

# OpenAPI definition

```json
{
  "openapi": "3.0.1",
  "info": {
    "title": "API Pix",
    "description": "# Geral\r\n\r\n## Primeiro Acesso\r\n\r\nAntes de começar você precisa de um usuário e senha para acessar nossa plataforma de homologação [Empresas](https://app.empresashml.bs2.com/bs2).\r\n\r\nGeralmente o acesso fornecido em HML vem com duas contas para que o cliente consiga autonomamente realizar transações entre elas.\r\n\r\n## Cadastrando sua credencial de api\r\nAcesse o produto API Banking e clique no botão “Novo” e siga conforme o passo a passo:\r\n\r\n![image](/assets/images/pix/menu_lateral_selecao_contas.png)\r\n\r\n![image](/assets/images/pix/tela_inicial_destaque_apibanking.png)\r\n\r\n![image](/assets/images/pix/tela_apibanking_inicial_vazio.png)\r\n\r\n![image](/assets/images/pix/tela_apibanking_nova_api_campos_preenchidos.png)\r\n\r\n![image](/assets/images/pix/tela_apibanking_nova_api_configuracao_ip.png)\r\n\r\n![image](/assets/images/pix/tela_apibanking_nova_api_validacao_2fa.png)\r\n\r\n![image](/assets/images/pix/tela_apibanking_nova_api_cadastrada.png)",
    "version": "v1",
    "x-logo": {
      "url": "https://devs.bs2.com/assets/images/logo-bs2-empresas-azul.svg",
      "altText": "Logo Bs2 Empresas"
    }
  },
  "paths": {
    "/pix/direto/forintegration/v1/recebimentos/qrcode/{qrCodeId}": {
      "get": {
        "tags": [
          "Recebimentos - Cliente"
        ],
        "summary": "Recebimento - Consultar por QrCodeId",
        "parameters": [
          {
            "name": "qrCodeId",
            "in": "path",
            "description": "QrCode Id",
            "required": true,
            "schema": {
              "type": "integer",
              "description": "QrCode Id",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Consulta realizada com sucesso.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/bs2.pj.recebimentos.obterRecebimentoQrCodeId.PaginaRecebimentoEncontrados"
                }
              }
            }
          },
          "204": {
            "description": "Consulta realizada com sucesso, porém sem resultados."
          },
          "400": {
            "description": "Ocorreu um erro ao tentar consultar a cobrança.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/bs2.pJ.empresas.http.responseResult.DetalheBadRequest"
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "bs2.pJ.empresas.http.responseResult.DetalheBadRequest": {
        "type": "object",
        "properties": {
          "tag": {
            "type": "string",
            "nullable": true
          },
          "descricao": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "bs2.pJ.pix.compartilhados.models.pixRecebidos.Horario": {
        "type": "object",
        "properties": {
          "solicitacao": {
            "type": "string",
            "description": "Horário no qual a devolução foi solicitada no PSP.",
            "format": "date-time",
            "nullable": true
          },
          "liquidacao": {
            "type": "string",
            "description": "Horário no qual a devolução foi liquidada no PSP.",
            "format": "date-time",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "bs2.pJ.pix.compartilhados.models.gerenciarCobrancas.StatusDevolucaoPix": {
        "enum": [
          "EM_PROCESSAMENTO",
          "DEVOLVIDO",
          "NAO_REALIZADO"
        ],
        "type": "string"
      },
      "bs2.pJ.pix.compartilhados.models.recebimentos.TipoContaDevolucao": {
        "enum": [
          "CC",
          "SL",
          "PP",
          "CP",
          "UNKNOWN"
        ],
        "type": "string"
      },
      "bs2.pJ.pix.compartilhados.models.Situacao": {
        "enum": [
          "ACCC",
          "ACSC",
          "ACSP",
          "RJCT"
        ],
        "type": "string"
      },
      "bs2.pJ.pix.compartilhados.models.recebimentos.Devolucao": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "rtrId": {
            "type": "string",
            "nullable": true
          },
          "valor": {
            "type": "number",
            "format": "double"
          },
          "horario": {
            "$ref": "#/components/schemas/bs2.pJ.pix.compartilhados.models.pixRecebidos.Horario"
          },
          "status": {
            "$ref": "#/components/schemas/bs2.pJ.pix.compartilhados.models.gerenciarCobrancas.StatusDevolucaoPix"
          },
          "motivo": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "bs2.pJ.pix.compartilhados.integrations.bs2Core.recebimentos.RecebimentoStatus": {
        "enum": [
          "EFETIVADO",
          "REJEITADO",
          "VALIDADO"
        ],
        "type": "string"
      },
      "bs2.pJ.pix.compartilhados.models.recebimentos.ContaBancariaDevolucao": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Id Conta Bancaria",
            "format": "uuid",
            "nullable": true
          },
          "agencia": {
            "type": "string",
            "description": "Número da agência",
            "nullable": true
          },
          "ispb": {
            "type": "string",
            "description": "Código ISPB do banco",
            "nullable": true
          },
          "numero": {
            "type": "string",
            "description": "Número da Conta",
            "nullable": true
          },
          "banco": {
            "type": "string",
            "description": "Código do Banco",
            "nullable": true
          },
          "bancoNome": {
            "type": "string",
            "description": "Nome do Banco",
            "nullable": true
          },
          "tipo": {
            "$ref": "#/components/schemas/bs2.pJ.pix.compartilhados.models.recebimentos.TipoContaDevolucao"
          }
        },
        "additionalProperties": false
      },
      "bs2.pJ.pix.compartilhados.integrations.bs2Core.pagamentos.PessoaRecebedor": {
        "type": "object",
        "properties": {
          "documento": {
            "type": "string",
            "description": "Numero do Documento",
            "nullable": true
          },
          "tipoDocumento": {
            "type": "string",
            "description": "Tipo do Documento",
            "nullable": true
          },
          "nome": {
            "type": "string",
            "description": "Nome do usuário",
            "nullable": true
          },
          "nomeFantasia": {
            "type": "string",
            "description": "Nome Fantasia do usuário",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "bs2.pJ.pix.apis.queries.forIntegration.direto.recebimentos.obterRecebimentoQrCodeId.RecebimentosQrCodeIdResponse": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "description": "Id do Recebimento",
            "format": "int32"
          },
          "identificadorTransacao": {
            "type": "string",
            "description": "TxId Identificador da transação",
            "nullable": true
          },
          "data": {
            "type": "string",
            "description": "Data do recebimento",
            "format": "date-time"
          },
          "valor": {
            "type": "integer",
            "description": "Valor do recebimento",
            "format": "int64"
          },
          "status": {
            "$ref": "#/components/schemas/bs2.pJ.pix.compartilhados.integrations.bs2Core.recebimentos.RecebimentoStatus"
          },
          "pagadorConta": {
            "$ref": "#/components/schemas/bs2.pJ.pix.compartilhados.models.recebimentos.ContaBancariaDevolucao"
          },
          "pagadorDocumento": {
            "$ref": "#/components/schemas/bs2.pJ.pix.compartilhados.integrations.bs2Core.pagamentos.PessoaRecebedor"
          },
          "recebedorConta": {
            "$ref": "#/components/schemas/bs2.pJ.pix.compartilhados.models.recebimentos.ContaBancariaDevolucao"
          },
          "recebedorDocumento": {
            "$ref": "#/components/schemas/bs2.pJ.pix.compartilhados.integrations.bs2Core.pagamentos.PessoaRecebedor"
          },
          "chaveDict": {
            "type": "string",
            "description": "Chave Pix do Recebimento",
            "nullable": true
          },
          "msgId": {
            "type": "object",
            "additionalProperties": false,
            "nullable": true
          },
          "endToEndId": {
            "type": "string",
            "description": "Id End-To-End que trâfega na transação",
            "nullable": true
          },
          "campoLivre": {
            "type": "object",
            "additionalProperties": false,
            "nullable": true
          },
          "msgId2": {
            "type": "object",
            "additionalProperties": false,
            "nullable": true
          },
          "originalId": {
            "type": "string",
            "nullable": true
          },
          "endToEndId2": {
            "type": "object",
            "additionalProperties": false,
            "nullable": true
          },
          "situacao": {
            "$ref": "#/components/schemas/bs2.pJ.pix.compartilhados.models.Situacao"
          },
          "devolucoes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/bs2.pJ.pix.compartilhados.models.recebimentos.Devolucao"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "bs2.pj.recebimentos.obterRecebimentoQrCodeId.PaginaRecebimentoEncontrados": {
        "type": "object",
        "properties": {
          "recebimentos": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/bs2.pJ.pix.apis.queries.forIntegration.direto.recebimentos.obterRecebimentoQrCodeId.RecebimentosQrCodeIdResponse"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      }
    }
  },
  "security": [
    {
      "OAuth2": []
    }
  ]
}
```