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

# Iniciação de pagamento por chave Pix.

`POST /core2/pix/indireto/pagamentos/chave-pix`

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

- Bs2Core2PixIndiretoPagamentosAppApisForIntegrationPagamentosChavePixDefaultDtosPagamentoChavePix
  - `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'
  - `chave` Bs2Core2PixIndiretoPagamentosCompartilhadosDtosChavePix: Chave DICT (tipo e valor).
    - `tipo` 'CPF' | 'CNPJ' | 'PHONE' | 'EMAIL' | 'EVP'
    - `valor` string, nullable
  - `openFinance` Bs2Core2PixIndiretoPagamentosAppApisCompartilhadosDtosOpenFinance
    - `endToEndId` string, nullable
    - `cnpjIniciadorPagamento` 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

- Bs2Core2PixIndiretoPagamentosAppApisForIntegrationPagamentosChavePixDefaultDtosPagamentoChavePixCriado
  - `pagamentoId` string, uuid
  - `endToEndId` string, nullable
  - `criadoEmUtc` string, date-time
  - `status` '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

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