Setfin Connect
DocumentaçãoAplicativo
DocumentaçãoAplicativo
Falar com suporte
  1. Cobrança
  • Introdução
  • Autenticação
    • Autenticação
      POST
    • Validação OTP
      POST
    • Validar Telefone
      GET
    • Get Autenticação
      GET
  • Empresa
    • Verificar CNPJ
      GET
    • Consultar Empresa
      GET
    • Criar Empresa
      POST
    • Atualizar Empresa
      PATCH
  • Impostos
    • Consultar Impostos
      GET
    • Consultar Imposto Individual
      GET
    • Criar Imposto
      POST
    • Emitir Guia de Pagamento
      POST
  • Dados Cadastrais
    • Introdução
    • Pessoa Jurídica
      • Consultar Dados
      • Consultar Sócios
      • Consultar Score
    • Pessoa Física
      • Consultar Dados
      • Consultar Empresas no CPF
  • Certificado
    • Consultar Certificado
      GET
    • Criar Certificado
      POST
    • Deletar Certificado
      DELETE
  • Nota Fiscal
    • Guia de integração
    • Nota de produto
      • Consultar Notas de Produto
      • Consultar uma Nota de Produto
      • Consultar Anexos de Nota de Produto
      • Emitir Nota de Produto
      • Cancelar Nota de Produto
    • Nota de serviço
      • Consultar Notas de Serviço
      • Consultar uma Nota de Serviço
      • Consultar Anexos de Nota de Serviço
      • Emitir Nota de Serviço
      • Cancelar Nota de Serviço
    • Consultar Status de Configuração
      GET
    • Configurar Emissão de Nota Fiscal
      POST
  • Serviços Municipais
    • Consultar Status do Município
    • Consultar Serviços Municipais
  • Cobrança
    • Cedente
      • Consultar Carteiras
      • Criar Cedente
    • Criar cobrança
      POST
    • Vincular carteira
      POST
  1. Cobrança

Criar cobrança

POST
https://connect.setfin.com.br/v1/companies/{company_id}/billings
Por meio deste endpoint, o parceiro pode fazer uma criação de cobrança sob domínio da empresa.

Requisição

Parâmetros de Caminho

Parâmetros Header

Parâmetros Bodyapplication/json

Exemplo
{
  "amount_cents": 1000,
  "due_date": "2025-07-24T15:11:32.811Z",
  "assume_fee": false,
  "additional_information": "Teste",
  "payment_method": "BOLETO",
  "payer": {
    "name": "JOSE GABRIEL CAVALCANTE TEODORO",
    "document_number": "23947524838",
    "document_type": "NATURAL",
    "email": "oi@gabrielteodoro.com"
  },
  "recipient": {
    "name": "SETFIN CONSULTORIA LTDA",
    "email": "financeiro@setfin.com.br",
    "pix_key": "financeiro@setfin.com.br",
    "pix_type": "EMAIL"
  }
}

Códigos de solicitação

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://connect.setfin.com.br/v1/companies/efaa8515-33b7-4aa4-bac3-24934d0abc23/billings' \
--header 'Authorization: Bearer <seu_token_jwt>' \
--header 'Content-Type: application/json' \
--data-raw '{
  "amount_cents": 1000,
  "due_date": "2025-07-24T15:11:32.811Z",
  "assume_fee": false,
  "additional_information": "Teste",
  "payment_method": "BOLETO",
  "payer": {
    "name": "JOSE GABRIEL CAVALCANTE TEODORO",
    "document_number": "23947524838",
    "document_type": "NATURAL",
    "email": "oi@gabrielteodoro.com"
  },
  "recipient": {
    "name": "SETFIN CONSULTORIA LTDA",
    "email": "financeiro@setfin.com.br",
    "pix_key": "financeiro@setfin.com.br",
    "pix_type": "EMAIL"
  }
}'

Respostas

🟢200Sucesso
application/json
Body

Exemplo
{
    "amount_cents": 1000,
    "due_date": "2025-08-01",
    "assume_fee": false,
    "additional_information": "Teste",
    "payment_method": "BOLETO",
    "payer": {
        "name": "JOSE GABRIEL CAVALCANTE TEODORO",
        "document_number": "23947524838",
        "document_type": "NATURAL",
        "email": "oi@gabrielteodoro.com"
    },
    "recipient": {
        "name": "SETFIN CONSULTORIA LTDA",
        "email": "financeiro@setfin.com.br",
        "pix_key": "financeiro@setfin.com.br",
        "pix_type": "EMAIL"
    }
}
Modificado em 2025-09-12 12:46:38
Página anterior
Criar Cedente
Próxima página
Vincular carteira
Built with