---
title: "Obter pagamento"
method: GET
path: "/core2/pix/indireto/pagamentos"
tags: ["Pagamento"]
---

# Obter pagamento

`GET /core2/pix/indireto/pagamentos`

## Request

- The document declares no server URL.
- Auth: none required

## Query parameters

- `Id` string, uuid
- `EndToEndId` string

## Headers

- `Authorization` string, required

## Response `200`

OK

- Bs2Core2PixIndiretoPagamentosAppApisPagamentosObterPagamento
  - `id` string, uuid
  - `endToEndId` string, nullable
  - `transactionId` string, nullable
  - `solicitadoEmUtc` string, date-time
  - `enviadoEmUtc` string, date-time, nullable
  - `valor` number, double, nullable
  - `descricaoPagamento` string, nullable
  - `tipoPagamento` 'DadosDaConta' | 'ChavePix' | 'QRcodeDinamico' | 'QRcodeEstatico' | 'ServicoDeIniciacao' | 'QRcodeGeradoPeloPagador'
  - `chave` string, nullable
  - `qrCode` string, nullable
  - `status` 'Iniciado' | 'Confirmado' | 'Efetivado' | 'Rejeitado' | 'Expirado' | 'Cancelado' | 'Erro': 0 - Iniciado 1 - Confirmado 2 - Efetivado 3 - Rejeitado 4 - Expirado 5 - Cancelado 99 - Erro
  - `finalidade` 'CompraOuTransferencia' | 'PixTroco' | 'PixSaque'
  - `prioridade` 'Alta' | 'Normal'
  - `tipoPrioridade` 'Prioritario' | 'AnaliseAntiFraude' | 'Agendado'
  - `valorSaqueOuTroco` number, double, nullable
  - `ispbFacilitadorServicoSaqueOuTroco` string, nullable
  - `modalidadeAgente` 'FacilitadorDeServicoDeSaque' | 'EstabelecimentoComercial' | 'OutraEspeciePJouCorrespondenteNoPais'
  - `cnpjIniciador` string, nullable
  - `pagador` Bs2Core2PixIndiretoPagamentosCompartilhadosDtosPagador
    - `instituicaoFinanceira` Bs2Core2PixIndiretoPagamentosCompartilhadosDtosInstituicaoFinanceira
      - `ispb` string, nullable
      - `bancoCompe` string, nullable
      - `bancoNome` string, nullable
    - `pessoa` Bs2Core2PixIndiretoPagamentosCompartilhadosDtosPessoa
      - `nome` string, nullable
      - `nomeFantasia` string, nullable
      - `documento` string, nullable
      - `tipo` 'PessoaFisica' | 'PessoaJuridica'
    - `conta` Bs2Core2PixIndiretoPagamentosCompartilhadosDtosConta
      - `agencia` string, nullable
      - `numero` string, nullable
      - `tipo` 'Corrente' | 'Salario' | 'Poupanca' | 'Pagamento'
  - `recebedor` Bs2Core2PixIndiretoPagamentosCompartilhadosDtosRecebedor
    - `instituicaoFinanceira` Bs2Core2PixIndiretoPagamentosCompartilhadosDtosInstituicaoFinanceira
      - `ispb` string, nullable
      - `bancoCompe` string, nullable
      - `bancoNome` string, nullable
    - `pessoa` Bs2Core2PixIndiretoPagamentosCompartilhadosDtosPessoa
      - `nome` string, nullable
      - `nomeFantasia` string, nullable
      - `documento` string, nullable
      - `tipo` 'PessoaFisica' | 'PessoaJuridica'
    - `conta` Bs2Core2PixIndiretoPagamentosCompartilhadosDtosConta
      - `agencia` string, nullable
      - `numero` string, nullable
      - `tipo` 'Corrente' | 'Salario' | 'Poupanca' | 'Pagamento'
    - `dataCriacao` string, date-time, nullable
    - `dataPosse` string, date-time, nullable
    - `dataAberturaReivindicacao` string, date-time, nullable
    - `estatisticasChave` Bs2Core2PixIndiretoPagamentosCompartilhadosDtosEstatisticasChave
      - `transacoesLiquidadasSpi` Bs2Core2PixIndiretoPagamentosCompartilhadosDtosTransacoesLiquidadasSpi
        - `dataHoraUltimoEvento` string, date-time
        - `liquidacoesSpi` Bs2Core2PixIndiretoPagamentosCompartilhadosDtosLiquidacoesSpi
          - `d90` integer, nullable
          - `m12` integer, nullable
          - `m60` integer, nullable
      - `marcacoesFraude` Bs2Core2PixIndiretoPagamentosCompartilhadosDtosMarcacoesFraude
        - `dataHoraUltimoEvento` string, date-time, nullable
        - `falsidadeIdeologica` Bs2Core2PixIndiretoPagamentosCompartilhadosDtosFraudesFalsidadeIdeologica
          - `d90` integer, nullable
          - `m12` integer, nullable
          - `m60` integer, nullable
        - `contaLaranja` Bs2Core2PixIndiretoPagamentosCompartilhadosDtosFraudesContaLaranja
          - `d90` integer, nullable
          - `m12` integer, nullable
          - `m60` integer, nullable
        - `contaFraudador` Bs2Core2PixIndiretoPagamentosCompartilhadosDtosFraudesContaFraudador
          - `d90` integer, nullable
          - `m12` integer, nullable
          - `m60` integer, nullable
        - `outros` Bs2Core2PixIndiretoPagamentosCompartilhadosDtosFraudesOutros
          - `d90` integer, nullable
          - `m12` integer, nullable
          - `m60` integer, nullable
        - `total` Bs2Core2PixIndiretoPagamentosCompartilhadosDtosTotalFraudes
          - `d90` integer, nullable
          - `m12` integer, nullable
          - `m60` integer, nullable
        - `totalLiquidadasSpi` Bs2Core2PixIndiretoPagamentosCompartilhadosDtosTotalFraudesLiquidadasSpi
          - `d90` integer, nullable
          - `m12` integer, nullable
          - `m60` integer, nullable
        - `totalPorParticipante` Bs2Core2PixIndiretoPagamentosCompartilhadosDtosTotalFraudesParticipantes
          - `d90` integer, nullable
          - `m12` integer, nullable
          - `m60` integer, nullable
      - `notificacoesInfracaoRegistradas` Bs2Core2PixIndiretoPagamentosCompartilhadosDtosNotificacoesInfracaoChaveRegistradas
        - `dataHoraUltimoEvento` string, date-time, nullable
        - `quantidadeEmAberto` integer, nullable
        - `quantidadePorParticipante` integer, nullable
        - `rejeitadas` Bs2Core2PixIndiretoPagamentosCompartilhadosDtosNotificacoesInfracaoRejeitadas
          - `d90` integer, nullable
          - `m12` integer, nullable
          - `m60` integer, nullable
      - `contasPessoa` Bs2Core2PixIndiretoPagamentosCompartilhadosDtosContasPessoa
        - `dataHoraUltimoEvento` string, date-time, nullable
        - `contasAssociadas` integer, nullable
    - `estatisticasPessoa` Bs2Core2PixIndiretoPagamentosCompartilhadosDtosEstatisticasPessoa
      - `transacoesLiquidadasSpi` Bs2Core2PixIndiretoPagamentosCompartilhadosDtosTransacoesLiquidadasSpi
        - `dataHoraUltimoEvento` string, date-time
        - `liquidacoesSpi` Bs2Core2PixIndiretoPagamentosCompartilhadosDtosLiquidacoesSpi
          - `d90` integer, nullable
          - `m12` integer, nullable
          - `m60` integer, nullable
      - `marcacoesFraude` Bs2Core2PixIndiretoPagamentosCompartilhadosDtosMarcacoesFraude
        - `dataHoraUltimoEvento` string, date-time, nullable
        - `falsidadeIdeologica` Bs2Core2PixIndiretoPagamentosCompartilhadosDtosFraudesFalsidadeIdeologica
          - `d90` integer, nullable
          - `m12` integer, nullable
          - `m60` integer, nullable
        - `contaLaranja` Bs2Core2PixIndiretoPagamentosCompartilhadosDtosFraudesContaLaranja
          - `d90` integer, nullable
          - `m12` integer, nullable
          - `m60` integer, nullable
        - `contaFraudador` Bs2Core2PixIndiretoPagamentosCompartilhadosDtosFraudesContaFraudador
          - `d90` integer, nullable
          - `m12` integer, nullable
          - `m60` integer, nullable
        - `outros` Bs2Core2PixIndiretoPagamentosCompartilhadosDtosFraudesOutros
          - `d90` integer, nullable
          - `m12` integer, nullable
          - `m60` integer, nullable
        - `total` Bs2Core2PixIndiretoPagamentosCompartilhadosDtosTotalFraudes
          - `d90` integer, nullable
          - `m12` integer, nullable
          - `m60` integer, nullable
        - `totalLiquidadasSpi` Bs2Core2PixIndiretoPagamentosCompartilhadosDtosTotalFraudesLiquidadasSpi
          - `d90` integer, nullable
          - `m12` integer, nullable
          - `m60` integer, nullable
        - `totalPorParticipante` Bs2Core2PixIndiretoPagamentosCompartilhadosDtosTotalFraudesParticipantes
          - `d90` integer, nullable
          - `m12` integer, nullable
          - `m60` integer, nullable
      - `notificacoesInfracaoRegistradas` Bs2Core2PixIndiretoPagamentosCompartilhadosDtosNotificacoesInfracaoRegistradas
        - `dataHoraUltimoEvento` string, date-time, nullable
        - `quantidadeEmAberto` integer, nullable
        - `quantidadePorParticipante` integer, nullable
      - `contasPessoa` Bs2Core2PixIndiretoPagamentosCompartilhadosDtosContasPessoa
        - `dataHoraUltimoEvento` string, date-time, nullable
        - `contasAssociadas` integer, nullable
  - `cobranca` Bs2Core2PixIndiretoPagamentosAppApisPagamentosObterCobrancaQrCode
    - `descricao` string, nullable
    - `informacoesAdicionais` Bs2Core2PixIndiretoPagamentosAppApisPagamentosObterInfoAdicional[], nullable
      - `nome` string, nullable
      - `valor` string, nullable
    - `qrCode` Bs2Core2PixIndiretoPagamentosAppApisPagamentosObterQrCode
      - `txId` string, nullable
      - `pagador` Bs2Core2PixIndiretoPagamentosAppApisPagamentosObterPagadorQrCode
        - `nome` string, nullable
        - `documento` string, nullable
      - `recebedor` Bs2Core2PixIndiretoPagamentosAppApisPagamentosObterRecebedorQrCode
        - `nome` string, nullable
        - `nomeFantasia` string, nullable
        - `documento` string, nullable
      - `valor` Bs2Core2PixIndiretoPagamentosAppApisPagamentosObterValorQrCode
        - `original` number, double, nullable
        - `final` number, double, nullable
        - `juros` number, double, nullable
        - `multa` number, double, nullable
        - `desconto` number, double, nullable
        - `abatimento` number, double, nullable
        - `modalidadeAlteracao` boolean
      - `calendario` Bs2Core2PixIndiretoPagamentosAppApisPagamentosObterCalendarioQRCode
        - `criadoEm` string, date-time, nullable
        - `apresentacao` string, date-time, nullable
        - `expiracaoEmSegundos` integer, nullable
        - `vencimento` string, date-time, nullable
        - `validadeEmDiasAposVencimento` integer, nullable
  - `restituicoes` Bs2Core2PixIndiretoPagamentosAppApisCompartilhadosDtosRestituicao[], nullable
    - `returnId` string, nullable
    - `endToEndId` string, nullable
    - `valor` number, double
    - `status` 'AguardandoValidacao' | 'Autorizada' | 'NaoAutorizada' | 'Efetivada' | 'Rejeitada' | 'Erro': 0 - AguardandoValidacao 1 - Autorizada 2 - NaoAutorizada 3 - Efetivada 4 - Rejeitada 99 - Erro
    - `solicitadoEmUtc` string, date-time
    - `liquidadoEmUtc` string, date-time, nullable
    - `dataContabil` string, date-time, nullable
    - `codigoDevolucao` 'BE08' | 'FR01' | 'MD06' | 'SL02': BE08 - Devolução inciada pelo participante do usuário recebedor no ambito do Mecanisco Especial de Devolução por falha operacional </br> FR01 - Devolução inciada pelo participante motivada por fundada suspeita de fraude </br> MD06 - Devolução do valor do pagamento, solicitada pelo usuário recebedor </br> SL02 - Devolução do valor de retirada (saque ou troco), solicitada pelo usuário recebedor </br>
    - `tipoDevolucao` 'Parcial' | 'Total'
    - `prioridadeTransacao` 'Alta' | 'Normal'
    - `motivo` string, nullable
    - `motivoRejeicao` Bs2Core2PixIndiretoPagamentosCompartilhadosDtosMotivoRejeicao
      - `codigo` 'AB03' | 'AB09' | 'AB11' | 'AG12' | 'AG13' | 'AGNT' | 'AM01' | 'AM04' | 'AM12' | 'AM18' | 'AC03' | 'AC06' | 'AC07' | 'AC14' | 'AG03' | 'AM02' | 'AM09' | 'BE01' | 'BE17' | 'BE05' | 'CH11' | 'CH16' | 'DT02' | 'DS0G' | 'DS27' | 'DS04' | 'DS24' | 'DT05' | 'ED05' | 'FF07' | 'FF08' | 'MD01' | 'RR04' | 'RC09' | 'RC10' | 'SL02'
      - `descricao` string, nullable: Descricção do erro Descrição do erro definido pela tabela de dominio do BACEN
    - `erroDescricao` string, nullable
    - `erroEmUtc` string, date-time, nullable
  - `motivoRejeicao` Bs2Core2PixIndiretoPagamentosCompartilhadosDtosMotivoRejeicao
    - `codigo` 'AB03' | 'AB09' | 'AB11' | 'AG12' | 'AG13' | 'AGNT' | 'AM01' | 'AM04' | 'AM12' | 'AM18' | 'AC03' | 'AC06' | 'AC07' | 'AC14' | 'AG03' | 'AM02' | 'AM09' | 'BE01' | 'BE17' | 'BE05' | 'CH11' | 'CH16' | 'DT02' | 'DS0G' | 'DS27' | 'DS04' | 'DS24' | 'DT05' | 'ED05' | 'FF07' | 'FF08' | 'MD01' | 'RR04' | 'RC09' | 'RC10' | 'SL02'
    - `descricao` string, nullable: Descricção do erro Descrição do erro definido pela tabela de dominio do BACEN
  - `erroEmUtc` string, date-time, nullable
  - `erroDescricao` string, nullable

## Other responses

- `400`: Bad Request
- `404`: Not Found
- `500`: Internal Server Error

---

[API](https://skmtc.dev/bs2/apis/bs2-core2-pix-indireto-pagamentos-app-hosts-http.md) - [All operations](https://skmtc.dev/bs2/apis/bs2-core2-pix-indireto-pagamentos-app-hosts-http/llms.txt) - [OpenAPI document](https://skmtc.dev/bs2/apis/bs2-core2-pix-indireto-pagamentos-app-hosts-http/revisions/2f5c7d2def97?raw)
