---
title: "Iniciação de pagamento por QRCode."
method: POST
path: "/core2/pix/indireto/pagamentos/qr-code"
tags: ["Pagamento"]
---

# Iniciação de pagamento por QRCode.

`POST /core2/pix/indireto/pagamentos/qr-code`

## Request

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

A data de agendamento será utilizada para criação do EndToEndId e deve conter Ano, Mês, Dia, Hora e Minuto e estar em formato UTC.

Há possibilidade de passar um EndToEndId que será considerado caso não exista nenhum outro EndToEndId válido ou não for possível gerar um novo.

## Headers

- `Authorization` string, required

## Request body

- Bs2Core2PixIndiretoPagamentosAppApisPagamentosQrCodePagamentoQrCode
  - `pagador` Bs2Core2PixIndiretoPagamentosAppApisCompartilhadosDtosPagador
    - `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'
  - `openFinance` Bs2Core2PixIndiretoPagamentosAppApisCompartilhadosDtosOpenFinance
    - `endToEndId` string, nullable
    - `cnpjIniciadorPagamento` string, nullable
  - `qrCode` string, nullable
  - `transactionId` string, nullable
  - `campoLivre` string, nullable
  - `dataAgendamento` string, date-time, nullable: A data de agendamento será utilizada para criação do EndToEndId e deve conter Ano, Mês, Dia, Hora e Minuto e estar em formato UTC.
  - `endToEndId` string, nullable: Será considerado caso não exista nenhum outro EndToEndId válido ou não for possível gerar um novo.

## Response `202`

Accepted

- Bs2Core2PixIndiretoPagamentosAppApisPagamentosQrCodePagamentoQrCodeCriado
  - `pagamentoId` string, uuid
  - `endToEndId` string, nullable
  - `criadoEm` string, date-time
  - `situacao` 'Iniciado' | 'Confirmado' | 'Efetivado' | 'Rejeitado' | 'Expirado' | 'Cancelado' | 'Erro': 0 - Iniciado 1 - Confirmado 2 - Efetivado 3 - Rejeitado 4 - Expirado 5 - Cancelado 99 - Erro
  - `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
  - `qrCode` Bs2Core2PixIndiretoPagamentosAppApisCompartilhadosDtosQrCode
    - `transactionId` string, nullable
    - `chavePix` string, nullable
    - `descricao` string, nullable
    - `informacaoesAdicionais` Bs2Core2PixIndiretoPagamentosAppApisCompartilhadosDtosQrCodeDtoInformacaoAdicionalQrCode[], nullable
      - `nome` string, nullable
      - `valor` string, nullable
    - `valor` Bs2Core2PixIndiretoPagamentosAppApisCompartilhadosDtosQrCodeDtoValorQrCode
      - `final` number, double
      - `original` number, double, nullable
      - `juros` number, double, nullable
      - `multa` number, double, nullable
      - `desconto` number, double, nullable
      - `abatimento` number, double, nullable
      - `permiteAlteracaoValor` boolean
    - `calendario` Bs2Core2PixIndiretoPagamentosAppApisCompartilhadosDtosQrCodeDtoCalendarioQrCode
      - `criadoEm` string, date-time
      - `apresentacao` string, date-time
      - `expiracaoEmSegundos` integer, nullable
      - `vencimentoEm` string, date-time, nullable
      - `validadeEmDiasAposVencimento` integer, nullable
    - `retirada` Bs2Core2PixIndiretoPagamentosAppApisCompartilhadosDtosQrCodeDtoRetiradaSaqueOuTroco
      - `modalidadeAgente` 'FacilitadorDeServicoDeSaque' | 'EstabelecimentoComercial' | 'OutraEspeciePJouCorrespondenteNoPais'
      - `valor` number, double
      - `ispbFacilitadorServico` string, nullable
      - `permiteAlteracaoValor` boolean

## 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)
