API Docs Início Documentação Referência de API Copiar para LLM
GET/v1/BankAccount/AutomaticSplit/Operation/{operationId}
Banking · Conta digital

Consultar Bank Account

Consulta Bank Account pelo identificador informado na rota.

Visão geral

Consulta Bank Account pelo identificador informado na rota.

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.

Pré-requisitos: a rota exige identificador(es) de recurso já existente(s):

Request

Parâmetros

NomeEmTipoObrigatórioDescriçãoExemplo
operationIdpathstringobrigatório3fa85f64-5717-4562-b3fc-2c963f66afa6

Corpo da requisição

Este endpoint não recebe corpo.

Response

Resposta 200.

Campos

CampoTipoObrigatórioDescriçãoValoresExemplo
idstringopcional"texto"
codestringopcional"texto"
escrowBankAccountIdstringopcional"3fa85f64-5717-4562-b3fc-2c963f66afa6"
borrowerBeneficiaryIdstringopcional"3fa85f64-5717-4562-b3fc-2c963f66afa6"
principalAmountinteger (int64)opcional0
installmentsCountintegeropcional0
dueDateTypeintegeropcional0
installmentTypeintegeropcional0
firstDueDatestring (date)opcional"2025-08-11"
guaranteePercentOverPMTnumber (decimal)opcional1.99
interestPercentnumber (decimal)opcional1.99
finePercentnumber (decimal)opcional1.99
acceptPartialInstallmentbooleanopcionaltrue
borrowerTransferAuthorizedbooleanopcionaltrue
borrowerTransferSameDaybooleanopcionaltrue
borrowerTransferDayOfMonthintegeropcional0
timezonestringopcional"texto"
statusintegeropcional0
createdAtstring (date-time)opcional"2025-08-11T13:45:00Z"
borrowerobjetoopcionalobjeto — ver detalhe abaixo{ … }
creditorsarray de objetoopcionalobjeto — ver detalhe abaixo[ … ]
installmentsarray de objetoopcionalobjeto — ver detalhe abaixo[ … ]
escrowobjetoopcionalvaria conforme o tipo — ver exemplo{ … }

Detalhe de borrower

CampoTipoObrigatórioDescriçãoValoresExemplo
namestringopcional"Fulano de Tal"
taxIdstringopcional"3fa85f64-5717-4562-b3fc-2c963f66afa6"
ispbinteger (int64)opcional0
agencystringopcional"texto"
accountstringopcional"texto"
pixKeystringopcional"texto"
pixKeyTypeValueDisplaystringopcional"texto"
transferAuthorizedbooleanopcionaltrue
payoutRailstringopcionalPIX, TED"PIX"
bankNamestringopcional"Fulano de Tal"
bankCodeintegeropcional0
beneficiaryIdPIXstringopcional"texto"
beneficiaryIdTEDstringopcional"texto"

Detalhe de creditors

CampoTipoObrigatórioDescriçãoValoresExemplo
idstringopcional"texto"
namestringopcional"Fulano de Tal"
taxIdstringopcional"3fa85f64-5717-4562-b3fc-2c963f66afa6"
proportionnumber (decimal)opcional1000
orderintegeropcional0
activebooleanopcionaltrue
ispbinteger (int64)opcional0
agencystringopcional"texto"
accountstringopcional"texto"
pixKeystringopcional"texto"
pixKeyTypeValueDisplaystringopcional"texto"
payoutRailstringopcionalPIX, TED"PIX"
bankCodeintegeropcional0
bankNamestringopcional"Fulano de Tal"
beneficiaryIdPIXstringopcional"texto"
beneficiaryIdTEDstringopcional"texto"

Detalhe de installments

CampoTipoObrigatórioDescriçãoValoresExemplo
idstringopcional"texto"
numberintegeropcional0
dueDatestring (date)opcional"2025-08-11"
amountinteger (int64)opcional0
paidAmountinteger (int64)opcional1
statusintegeropcional0
interestAccruedinteger (int64)opcional0
fineAccruedinteger (int64)opcional0
paymentDatestring (date)opcional"2025-08-11"
bankAccountTransfersarray de objetoopcionalobjeto — ver detalhe abaixo[ … ]

Detalhe de bankAccountTransfers

CampoTipoObrigatórioDescriçãoValoresExemplo
idstringopcional"texto"
createdAtstring (date-time)opcional"2025-08-11T13:45:00Z"
createdByobjetoopcionalvaria conforme o tipo — ver exemplo{ … }
tenantstringopcional"texto"
tenantDisplaystringopcional"texto"
updatedAtstring (date-time)opcional"2025-08-11T13:45:00Z"
updatedByobjetoopcionalvaria conforme o tipo — ver exemplo{ … }
ownerUserobjetoopcionalvaria conforme o tipo — ver exemplo{ … }
ownerGroupobjetoopcionalvaria conforme o tipo — ver exemplo{ … }
nsustringopcional"texto"
amountinteger (int64)opcional0
transferDatestring (date-time)opcional"2025-08-11T13:45:00Z"
paymentPurposeobjetoopcionalvaria conforme o tipo — ver exemplo"PagamentoDeImpostosTributosETaxas"
paymentPurposeDisplaystringopcional"texto"
statusstringopcionalApproved, Pending, Rejected, Timeout, Canceled, Error, Processing, Finished, Scheduled, Reversed, ComplianceApproval, CancellationRequested"Approved"
statusDisplaystringopcional"texto"
accountingEntrystringopcional"texto"
errorMessagestringopcional"texto"
reversalCodeReasonstringopcional"texto"
reversalDescriptionReasonstringopcional"texto"
bankAccountBeneficiaryIdstringopcional"3fa85f64-5717-4562-b3fc-2c963f66afa6"
bankAccountBeneficiaryobjetoopcionalvaria conforme o tipo — ver exemplo{ … }
authorizedAtstring (date-time)opcional"2025-08-11T13:45:00Z"
bankAccountIdstringopcional"3fa85f64-5717-4562-b3fc-2c963f66afa6"
requesterobjetoopcionalvaria conforme o tipo — ver exemplo{ … }
approvalsarray de objetoopcionalobjeto — ver detalhe abaixo[ … ]

Detalhe de approvals

CampoTipoObrigatórioDescriçãoValoresExemplo
levelobjetoopcionalvaria conforme o tipo — ver exemplo"Viewer"
actionstringopcionalApprove, Reject, Cancel"Approve"
actionDisplaystringopcional"texto"
userobjetoopcionalvaria conforme o tipo — ver exemplo{ … }

Exemplo de resposta

{
  "id": "texto",
  "code": "texto",
  "escrowBankAccountId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
  "borrowerBeneficiaryId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
  "principalAmount": 0,
  "installmentsCount": 0,
  "dueDateType": 0,
  "installmentType": 0,
  "firstDueDate": "2025-08-11",
  "guaranteePercentOverPMT": 1.99,
  "interestPercent": 1.99,
  "finePercent": 1.99,
  "acceptPartialInstallment": true,
  "borrowerTransferAuthorized": true,
  "borrowerTransferSameDay": true,
  "borrowerTransferDayOfMonth": 0,
  "timezone": "texto",
  "status": 0,
  "createdAt": "2025-08-11T13:45:00Z",
  "borrower": {
    "name": "Fulano de Tal",
    "taxId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "ispb": 0,
    "agency": "texto",
    "account": "texto",
    "pixKey": "texto",
    "pixKeyTypeValueDisplay": "texto",
    "transferAuthorized": true,
    "payoutRail": "PIX",
    "bankName": "Fulano de Tal",
    "bankCode": 0,
    "beneficiaryIdPIX": "texto",
    "beneficiaryIdTED": "texto"
  },
  "creditors": [
    {
      "id": "texto",
      "name": "Fulano de Tal",
      "taxId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "proportion": 1000,
      "order": 0,
      "active": true,
      "ispb": 0,
      "agency": "texto",
      "account": "texto",
      "pixKey": "texto",
      "pixKeyTypeValueDisplay": "texto",
      "payoutRail": "PIX",
      "bankCode": 0,
      "bankName": "Fulano de Tal",
      "beneficiaryIdPIX": "texto",
      "beneficiaryIdTED": "texto"
    }
  ],
  "installments": [
    {
      "id": "texto",
      "number": 0,
      "dueDate": "2025-08-11",
      "amount": 0,
      "paidAmount": 1,
      "status": 0,
      "interestAccrued": 0,
      "fineAccrued": 0,
      "paymentDate": "2025-08-11",
      "bankAccountTransfers": [
        {}
      ]
    }
  ],
  "escrow": {
    "bankCode": 0,
    "agency": 0,
    "accountNumber": 0,
    "bankName": "Fulano de Tal",
    "ispb": 0
  }
}

Códigos de retorno

CódigoSignificadoDetalhe do contrato
200Requisição bem-sucedida.
404Recurso não encontrado.

Exemplos

curl -X GET "{{baseUrl}}/v1/BankAccount/AutomaticSplit/Operation/3fa85f64-5717-4562-b3fc-2c963f66afa6" \
  -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 = "/v1/BankAccount/AutomaticSplit/Operation/3fa85f64-5717-4562-b3fc-2c963f66afa6";

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}/v1/BankAccount/AutomaticSplit/Operation/3fa85f64-5717-4562-b3fc-2c963f66afa6`, {
  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