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

Método de visualização da lista de carteiras/convênios

Lista e filtra registros de api.

Visão geral

Método de visualização da lista de carteiras/convênios.

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
BeneficiaryIdquerystringopcional3fa85f64-5717-4562-b3fc-2c963f66afa6
WalletsCodequeryarray de integer (int64)opcionalvalor
Namequerystringopcionalvalor
Tenantquerystringopcionaluy3
BankAccountquerystringopcionalvalor
SearchStringquerystringopcionalvalor
Aliasquerystringopcionalvalor
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"
beneficiaryIdstringopcional"3fa85f64-5717-4562-b3fc-2c963f66afa6"
beneficiaryNamestringopcional"Fulano de Tal"
walletCodeinteger (int64)opcional0
bankAgencystringopcional"texto"
bankAccountstringopcional"texto"
bankAccountDebtCostsstringopcional"texto"
bankSlipCostsobjetoopcionalobjeto — ver detalhe abaixo{ … }
billingTypeValuestringopcional"texto"
billingTypeValueDisplaystringopcional"texto"
daysOverdueLimitinteger (int64)opcional0
interestCodeValuestringopcional"texto"
interestCodeValueDisplaystringopcional"texto"
notificationRecepientsarray de stringopcional[ … ]
createdAtstring (date-time)opcional"2025-08-11T13:45:00Z"
enabledbooleanopcionaltrue
tenantstringopcional"texto"
tenantDisplaystringopcional"texto"
ownerUserobjetoopcionalobjeto — ver detalhe abaixo{ … }
ownerGroupobjetoopcionalobjeto — ver detalhe abaixo{ … }
pendingCostinteger (int64)opcional0
pendingBillinginteger (int64)opcional0
enableAutoSubmitToDebtCollectionbooleanopcionaltrue
aliasstringopcional"texto"

Detalhe de bankSlipCosts

CampoTipoObrigatórioDescriçãoValoresExemplo
registerinteger (int64)opcional0
cancellationinteger (int64)opcional0
discountinteger (int64)opcional0
changeDueDateinteger (int64)opcional0
settlementinteger (int64)opcional0
debtCollectioninteger (int64)opcional0
debtCollectionCancellationinteger (int64)opcional0
debtCollectionSettlementinteger (int64)opcional0
debtCollectionSuccessinteger (int64)opcional0
transferRegisterinteger (int64)opcional0
transferCancellationinteger (int64)opcional0
overDueCancellationinteger (int64)opcional0
dataprevCostDisbursementinteger (int64)opcional0

Detalhe de ownerUser

CampoTipoObrigatórioDescriçãoValoresExemplo
userIdstringopcional"3fa85f64-5717-4562-b3fc-2c963f66afa6"
tenantstringopcional"texto"
tenantDisplaystringopcional"texto"

Detalhe de ownerGroup

CampoTipoObrigatórioDescriçãoValoresExemplo
groupIdstringopcional"3fa85f64-5717-4562-b3fc-2c963f66afa6"
groupDisplaystringopcional"texto"
tenantstringopcional"texto"
tenantDisplaystringopcional"texto"

Exemplo de resposta

{
  "data": [
    {
      "id": "texto",
      "beneficiaryId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "beneficiaryName": "Fulano de Tal",
      "walletCode": 0,
      "bankAgency": "texto",
      "bankAccount": "texto",
      "bankAccountDebtCosts": "texto",
      "bankSlipCosts": {
        "register": 0,
        "cancellation": 0,
        "discount": 0,
        "changeDueDate": 0,
        "settlement": 0,
        "debtCollection": 0,
        "debtCollectionCancellation": 0,
        "debtCollectionSettlement": 0,
        "debtCollectionSuccess": 0,
        "transferRegister": 0,
        "transferCancellation": 0,
        "overDueCancellation": 0,
        "dataprevCostDisbursement": 0
      },
      "billingTypeValue": "texto",
      "billingTypeValueDisplay": "texto",
      "daysOverdueLimit": 0,
      "interestCodeValue": "texto",
      "interestCodeValueDisplay": "texto",
      "notificationRecepients": [
        "01310930"
      ],
      "createdAt": "2025-08-11T13:45:00Z",
      "enabled": true,
      "tenant": "texto",
      "tenantDisplay": "texto",
      "ownerUser": {
        "userId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
        "tenant": "texto",
        "tenantDisplay": "texto"
      },
      "ownerGroup": {
        "groupId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
        "groupDisplay": "texto",
        "tenant": "texto",
        "tenantDisplay": "texto"
      },
      "pendingCost": 0,
      "pendingBilling": 0,
      "enableAutoSubmitToDebtCollection": true,
      "alias": "texto"
    }
  ],
  "page": 0,
  "totalPages": 0,
  "totalItems": 0,
  "isCountTruncated": true
}

Códigos de retorno

CódigoSignificadoDetalhe do contrato
200Requisição bem-sucedida.

Exemplos

curl -X GET "{{baseUrl}}/api/v1/Wallet" \
  -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/Wallet";

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/Wallet`, {
  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