GET
/api/v1/BeneficiaryCobrança · Beneficiários
Método de visualização da lista de beneficiarios/cedentes
Lista e filtra registros de api.
Visão geral
Método de visualização da lista de beneficiarios/cedentes.
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
| Nome | Em | Tipo | Obrigatório | Descrição | Exemplo |
|---|---|---|---|---|---|
RegistrationNumber | query | string | opcional | — | valor |
WalletCode | query | integer | opcional | — | 10 |
Page | query | integer | opcional | — | 10 |
Size | query | integer | opcional | — | 10 |
Corpo da requisição
Este endpoint não recebe corpo.
Response
Resposta 200.
Campos
| Campo | Tipo | Obrigatório | Descrição | Valores | Exemplo |
|---|---|---|---|---|---|
data | array de objeto | opcional | — | objeto — ver detalhe abaixo | [ … ] |
page | integer | opcional | — | — | 0 |
totalPages | integer | opcional | — | — | 0 |
totalItems | integer | opcional | — | — | 0 |
isCountTruncated | boolean | opcional | — | — | true |
Detalhe de data
| Campo | Tipo | Obrigatório | Descrição | Valores | Exemplo |
|---|---|---|---|---|---|
id | string | opcional | — | — | "texto" |
beneficiaryCode | integer (int64) | opcional | — | — | 0 |
companyName | string | opcional | — | — | "Fulano de Tal" |
businessName | string | opcional | — | — | "Fulano de Tal" |
personTypeValue | string | opcional | — | — | "texto" |
personTypeValueDisplay | string | opcional | — | — | "texto" |
registrationNumber | string | opcional | — | — | "12345678909" |
address | objeto | opcional | — | objeto — ver detalhe abaixo | { … } |
startedAt | string (date-time) | opcional | — | — | "2025-08-11T13:45:00Z" |
enabled | boolean | opcional | — | — | true |
wallets | array de objeto | opcional | — | objeto — ver detalhe abaixo | [ … ] |
representatives | array de objeto | opcional | — | objeto — ver detalhe abaixo | [ … ] |
walletsManaged | array de integer (int64) | opcional | — | — | [ … ] |
Detalhe de address
| Campo | Tipo | Obrigatório | Descrição | Valores | Exemplo |
|---|---|---|---|---|---|
zipCode | string | opcional | — | — | "01310930" |
addressName | string | opcional | — | — | "Fulano de Tal" |
number | string | opcional | — | — | "texto" |
complement | string | opcional | — | — | "texto" |
district | string | opcional | — | — | "texto" |
city | string | opcional | — | — | "texto" |
uf | string | opcional | — | — | "texto" |
Detalhe de wallets
| Campo | Tipo | Obrigatório | Descrição | Valores | Exemplo |
|---|---|---|---|---|---|
id | string | opcional | — | — | "texto" |
beneficiaryId | string | opcional | — | — | "3fa85f64-5717-4562-b3fc-2c963f66afa6" |
beneficiaryName | string | opcional | — | — | "Fulano de Tal" |
walletCode | integer (int64) | opcional | — | — | 0 |
bankAgency | string | opcional | — | — | "texto" |
bankAccount | string | opcional | — | — | "texto" |
bankAccountDebtCosts | string | opcional | — | — | "texto" |
bankSlipCosts | objeto | opcional | — | objeto — ver detalhe abaixo | { … } |
billingTypeValue | string | opcional | — | — | "texto" |
billingTypeValueDisplay | string | opcional | — | — | "texto" |
daysOverdueLimit | integer (int64) | opcional | — | — | 0 |
interestCodeValue | string | opcional | — | — | "texto" |
interestCodeValueDisplay | string | opcional | — | — | "texto" |
notificationRecepients | array de string | opcional | — | — | [ … ] |
createdAt | string (date-time) | opcional | — | — | "2025-08-11T13:45:00Z" |
enabled | boolean | opcional | — | — | true |
enableAutoSubmitToDebtCollection | boolean | opcional | — | — | true |
Detalhe de representatives
| Campo | Tipo | Obrigatório | Descrição | Valores | Exemplo |
|---|---|---|---|---|---|
personTypeValue | string | opcional | — | — | "texto" |
personTypeValueDisplay | string | opcional | — | — | "texto" |
registrationNumber | string | opcional | — | — | "12345678909" |
Detalhe de bankSlipCosts
| Campo | Tipo | Obrigatório | Descrição | Valores | Exemplo |
|---|---|---|---|---|---|
register | integer (int64) | opcional | — | — | 0 |
cancellation | integer (int64) | opcional | — | — | 0 |
discount | integer (int64) | opcional | — | — | 0 |
changeDueDate | integer (int64) | opcional | — | — | 0 |
settlement | integer (int64) | opcional | — | — | 0 |
debtCollection | integer (int64) | opcional | — | — | 0 |
debtCollectionCancellation | integer (int64) | opcional | — | — | 0 |
debtCollectionSettlement | integer (int64) | opcional | — | — | 0 |
debtCollectionSuccess | integer (int64) | opcional | — | — | 0 |
transferRegister | integer (int64) | opcional | — | — | 0 |
transferCancellation | integer (int64) | opcional | — | — | 0 |
overDueCancellation | integer (int64) | opcional | — | — | 0 |
Exemplo de resposta
{
"data": [
{
"id": "texto",
"beneficiaryCode": 0,
"companyName": "Fulano de Tal",
"businessName": "Fulano de Tal",
"personTypeValue": "texto",
"personTypeValueDisplay": "texto",
"registrationNumber": "12345678909",
"address": {
"zipCode": "01310930",
"addressName": "Fulano de Tal",
"number": "texto",
"complement": "texto",
"district": "texto",
"city": "texto",
"uf": "texto"
},
"startedAt": "2025-08-11T13:45:00Z",
"enabled": true,
"wallets": [
{}
],
"representatives": [
{}
],
"walletsManaged": [
0
]
}
],
"page": 0,
"totalPages": 0,
"totalItems": 0,
"isCountTruncated": true
}Códigos de retorno
| Código | Significado | Detalhe do contrato |
|---|---|---|
200 | Requisição bem-sucedida. | — |
Exemplos
curl -X GET "{{baseUrl}}/api/v1/Beneficiary" \
-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/Beneficiary";
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/Beneficiary`, {
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.
Collection completaConsignado privado e FGTS, em pastas espelhando a documentação.Baixar →Environment do PostmanAs variáveis fora da collection, para versionar uma sem versionar o token.Baixar →Documentação consolidada para LLMToda a documentação em um arquivo de texto, na ordem da navegação.Baixar →Referência em MarkdownEste contrato, campo a campo, gerado do spec.Baixar →
Guia de importação: Como importar no Postman · Todos os downloads: Downloads