API Docs Início Documentação Referência de API Copiar para LLM
GET/api/v1/BankSlip
Cobrança · Boletos

Método utilizado para listar os boletos

Lista e filtra registros de api.

Visão geral

Método utilizado para listar os boletos.

Autenticação e pré-requisitos

Requer autenticação. Envie o token no header Authorization: Bearer {{token}} (JWT do AWS Cognito). Integrações servidor-a-servidor podem usar X-Api-Key. Todo tráfego é HTTPS e a credencial nunca vai na URL nem em query string.

Request

Parâmetros

NomeEmTipoObrigatórioDescriçãoExemplo
DocumentNumberquerystringopcionalvalor
Tenantquerystringopcionaluy3
WalletCodequeryinteger (int64)opcional10
BillingIdquerystringopcional3fa85f64-5717-4562-b3fc-2c963f66afa6
Pagequeryintegeropcional10
Sizequeryintegeropcional10

Corpo da requisição

Este endpoint não recebe corpo.

Response

Resposta 200.

Campos

CampoTipoObrigatórioDescriçãoValoresExemplo
dataarray de objetoopcionalobjeto — ver detalhe abaixo[ … ]
pageintegeropcional0
totalPagesintegeropcional0
totalItemsintegeropcional0
isCountTruncatedbooleanopcionaltrue

Detalhe de data

CampoTipoObrigatórioDescriçãoValoresExemplo
idstringopcional"texto"
walletCodeinteger (int64)opcional0
walletCodeOrigeminteger (int64)opcional0
barCodestringopcional"texto"
documentNumberstringopcional"texto"
amountinteger (int64)opcional0
dueDatestringopcional"texto"
tagsarray de stringopcional[ … ]
beneficiaryobjetoopcionalvaria conforme o tipo — ver exemplo{ … }
payerobjetoopcionalvaria conforme o tipo — ver exemplo{ … }
statusRegisterValuestringopcional"texto"
statusRegisterValueDisplaystringopcional"texto"
statusSettlementValuestringopcional"texto"
statusSettlementValueDisplaystringopcional"texto"
statusDebtCollectionValuestringopcional"texto"
statusDebtCollectionValueDisplaystringopcional"texto"
latePaymentInterestAmountPerDaystringopcional"texto"
firstInstructionDebtCollectionstringopcional"texto"
secondInstructionDebtCollectionintegeropcional0
cancelReasonstringopcional"texto"
billingIdstringopcional"3fa85f64-5717-4562-b3fc-2c963f66afa6"
createdAtstring (date-time)opcional"2025-08-11T13:45:00Z"
settlementAtstring (date-time)opcional"2025-08-11T13:45:00Z"
settlementChannelValuestringopcional"texto"
settlementChannelValueDisplaystringopcional"texto"
bankCodestringopcional"texto"
walletNumberintegeropcional0
captureTypestringopcional"texto"
captureTypeDisplaystringopcional"texto"
paymentMethodstringopcional"texto"
paymentMethodDisplaystringopcional"texto"
isTransferredbooleanopcionaltrue

Exemplo de resposta

{
  "data": [
    {
      "id": "texto",
      "walletCode": 0,
      "walletCodeOrigem": 0,
      "barCode": "texto",
      "documentNumber": "texto",
      "amount": 0,
      "dueDate": "texto",
      "tags": [
        "texto"
      ],
      "beneficiary": {
        "businessName": "Fulano de Tal",
        "registrationNumber": "12345678909"
      },
      "payer": {
        "name": "Fulano de Tal",
        "personTypeValue": "texto",
        "personTypeValueDisplay": "texto",
        "registrationNumber": "12345678909",
        "zipCode": "01310930",
        "addressName": "Fulano de Tal",
        "addressNumber": "texto",
        "addressComplement": "texto",
        "email": "cliente@exemplo.com.br"
      },
      "statusRegisterValue": "texto",
      "statusRegisterValueDisplay": "texto",
      "statusSettlementValue": "texto",
      "statusSettlementValueDisplay": "texto",
      "statusDebtCollectionValue": "texto",
      "statusDebtCollectionValueDisplay": "texto",
      "latePaymentInterestAmountPerDay": "texto",
      "firstInstructionDebtCollection": "texto",
      "secondInstructionDebtCollection": 0,
      "cancelReason": "texto",
      "billingId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "createdAt": "2025-08-11T13:45:00Z",
      "settlementAt": "2025-08-11T13:45:00Z",
      "settlementChannelValue": "texto",
      "settlementChannelValueDisplay": "texto",
      "bankCode": "texto",
      "walletNumber": 0,
      "captureType": "texto",
      "captureTypeDisplay": "texto",
      "paymentMethod": "texto",
      "paymentMethodDisplay": "texto",
      "isTransferred": true
    }
  ],
  "page": 0,
  "totalPages": 0,
  "totalItems": 0,
  "isCountTruncated": true
}

Códigos de retorno

CódigoSignificadoDetalhe do contrato
200Requisição bem-sucedida.
401Não autenticado — token ausente, inválido ou expirado.

Exemplos

curl -X GET "{{baseUrl}}/api/v1/BankSlip" \
  -H "Authorization: Bearer {{token}}"
var baseUrl = "{{baseUrl}}";
var token   = "{{token}}";

using var http = new HttpClient { BaseAddress = new Uri(baseUrl) };
http.DefaultRequestHeaders.Authorization =
    new AuthenticationHeaderValue("Bearer", token);

var rota = "/api/v1/BankSlip";

var resp = await http.GetAsync(rota);
resp.EnsureSuccessStatusCode();
var json = await resp.Content.ReadAsStringAsync();
const baseUrl = '{{baseUrl}}';
const token   = '{{token}}';

const resp = await fetch(`${baseUrl}/api/v1/BankSlip`, {
  method: 'GET',
  headers: {
    'Authorization': `Bearer ${token}`,
  },
});

if (!resp.ok) throw new Error(`HTTP ${resp.status}`);
const data = await resp.json();

Troque apenas {{baseUrl}} e {{token}}. No Postman, defina-os como variáveis de environment; o cURL importa em Import > Raw text.

Downloads

Este endpoint já vem configurado nas collections abaixo, na pasta da etapa correspondente.

Guia de importação: Como importar no Postman · Todos os downloads: Downloads