Início / Referência · Banking / Conta digital / Atualiza uma operação de AutomaticSplit por substituição completa dos dados
PUT /v1/BankAccount/AutomaticSplit/Operation/{operationId}
Banking · Conta digital
Atualiza uma operação de AutomaticSplit por substituição completa dos dados Atualiza por completo um registro de Bank Account existente.
Visão geral Atualiza uma operação de AutomaticSplit por substituição completa dos dados. Id da operação somente na rota. Body = mesmo DTO do Create.
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 Nome Em Tipo Obrigatório Descrição Exemplo operationIdpath stringobrigatório — 3fa85f64-5717-4562-b3fc-2c963f66afa6
Corpo da requisição Envie no formato application/json. Corpo obrigatório.
Campos Campo Tipo Obrigatório Descrição Valores Exemplo escrowBankAccountIdstringopcional — — "3fa85f64-5717-4562-b3fc-2c963f66afa6"borrowerBeneficiaryIdstringopcional — — "3fa85f64-5717-4562-b3fc-2c963f66afa6"creditorsarray de objetoopcional — objeto — ver detalhe abaixo [ … ]principalAmountinteger (int64)opcional — — 0installmentsCountintegeropcional — — 0dueDateTypestringopcional — Fixed, Dynamic"Fixed"installmentTypestringopcional — Fixed, Dynamic"Fixed"firstDueDatestring (date)opcional — — "2025-08-11"guaranteePercentOverPMTnumber (decimal)opcional — — 1.99interestPercentnumber (decimal)opcional — — 1.99finePercentnumber (decimal)opcional — — 1.99borrowerTransferAuthorizedbooleanopcional — — trueborrowerTransferSameDaybooleanopcional — — trueborrowerTransferDayOfMonthintegeropcional — — 0acceptPartialInstallmentbooleanopcional — — trueactivebooleanopcional — — trueplanOverridearray de objetoopcional — objeto — ver detalhe abaixo [ … ]
Detalhe de creditors Campo Tipo Obrigatório Descrição Valores Exemplo beneficiaryIdstringopcional — — "3fa85f64-5717-4562-b3fc-2c963f66afa6"proportionnumber (decimal)opcional — — 1000activebooleanopcional — — true
Detalhe de planOverride Campo Tipo Obrigatório Descrição Valores Exemplo numberintegeropcional — — 0dueDatestring (date)opcional — — "2025-08-11"amountinteger (int64)opcional — — 0
Exemplo de corpo {
"escrowBankAccountId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"borrowerBeneficiaryId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"creditors": [
{
"beneficiaryId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"proportion": 1000,
"active": true
}
],
"principalAmount": 0,
"installmentsCount": 0,
"dueDateType": "Fixed",
"installmentType": "Fixed",
"firstDueDate": "2025-08-11",
"guaranteePercentOverPMT": 1.99,
"interestPercent": 1.99,
"finePercent": 1.99,
"borrowerTransferAuthorized": true,
"borrowerTransferSameDay": true,
"borrowerTransferDayOfMonth": 0,
"acceptPartialInstallment": true,
"active": true,
"planOverride": [
{
"number": 0,
"dueDate": "2025-08-11",
"amount": 0
}
]
}Response Resposta 200.
Campos Campo Tipo Obrigatório Descrição Valores Exemplo idstringopcional — — "texto"codestringopcional — — "texto"escrowBankAccountIdstringopcional — — "3fa85f64-5717-4562-b3fc-2c963f66afa6"borrowerBeneficiaryIdstringopcional — — "3fa85f64-5717-4562-b3fc-2c963f66afa6"principalAmountinteger (int64)opcional — — 0installmentsCountintegeropcional — — 0dueDateTypeintegeropcional — — 0installmentTypeintegeropcional — — 0firstDueDatestring (date)opcional — — "2025-08-11"guaranteePercentOverPMTnumber (decimal)opcional — — 1.99interestPercentnumber (decimal)opcional — — 1.99finePercentnumber (decimal)opcional — — 1.99acceptPartialInstallmentbooleanopcional — — trueborrowerTransferAuthorizedbooleanopcional — — trueborrowerTransferSameDaybooleanopcional — — trueborrowerTransferDayOfMonthintegeropcional — — 0timezonestringopcional — — "texto"statusintegeropcional — — 0createdAtstring (date-time)opcional — — "2025-08-11T13:45:00Z"borrowerobjetoopcional — objeto — ver detalhe abaixo { … }creditorsarray de objetoopcional — objeto — ver detalhe abaixo [ … ]installmentsarray de objetoopcional — objeto — ver detalhe abaixo [ … ]escrowobjetoopcional — varia conforme o tipo — ver exemplo { … }
Detalhe de borrower Campo Tipo Obrigatório Descrição Valores Exemplo namestringopcional — — "Fulano de Tal"taxIdstringopcional — — "3fa85f64-5717-4562-b3fc-2c963f66afa6"ispbinteger (int64)opcional — — 0agencystringopcional — — "texto"accountstringopcional — — "texto"pixKeystringopcional — — "texto"pixKeyTypeValueDisplaystringopcional — — "texto"transferAuthorizedbooleanopcional — — truepayoutRailstringopcional — PIX, TED"PIX"bankNamestringopcional — — "Fulano de Tal"bankCodeintegeropcional — — 0beneficiaryIdPIXstringopcional — — "texto"beneficiaryIdTEDstringopcional — — "texto"
Detalhe de creditors Campo Tipo Obrigatório Descrição Valores Exemplo idstringopcional — — "texto"namestringopcional — — "Fulano de Tal"taxIdstringopcional — — "3fa85f64-5717-4562-b3fc-2c963f66afa6"proportionnumber (decimal)opcional — — 1000orderintegeropcional — — 0activebooleanopcional — — trueispbinteger (int64)opcional — — 0agencystringopcional — — "texto"accountstringopcional — — "texto"pixKeystringopcional — — "texto"pixKeyTypeValueDisplaystringopcional — — "texto"payoutRailstringopcional — PIX, TED"PIX"bankCodeintegeropcional — — 0bankNamestringopcional — — "Fulano de Tal"beneficiaryIdPIXstringopcional — — "texto"beneficiaryIdTEDstringopcional — — "texto"
Detalhe de installments Campo Tipo Obrigatório Descrição Valores Exemplo idstringopcional — — "texto"numberintegeropcional — — 0dueDatestring (date)opcional — — "2025-08-11"amountinteger (int64)opcional — — 0paidAmountinteger (int64)opcional — — 1statusintegeropcional — — 0interestAccruedinteger (int64)opcional — — 0fineAccruedinteger (int64)opcional — — 0paymentDatestring (date)opcional — — "2025-08-11"bankAccountTransfersarray de objetoopcional — objeto — ver detalhe abaixo [ … ]
Detalhe de bankAccountTransfers Campo Tipo Obrigatório Descrição Valores Exemplo idstringopcional — — "texto"createdAtstring (date-time)opcional — — "2025-08-11T13:45:00Z"createdByobjetoopcional — varia conforme o tipo — ver exemplo { … }tenantstringopcional — — "texto"tenantDisplaystringopcional — — "texto"updatedAtstring (date-time)opcional — — "2025-08-11T13:45:00Z"updatedByobjetoopcional — varia conforme o tipo — ver exemplo { … }ownerUserobjetoopcional — varia conforme o tipo — ver exemplo { … }ownerGroupobjetoopcional — varia conforme o tipo — ver exemplo { … }nsustringopcional — — "texto"amountinteger (int64)opcional — — 0transferDatestring (date-time)opcional — — "2025-08-11T13:45:00Z"paymentPurposeobjetoopcional — varia conforme o tipo — ver exemplo "PagamentoDeImpostosTributosETaxas"paymentPurposeDisplaystringopcional — — "texto"statusstringopcional — Approved, 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"bankAccountBeneficiaryobjetoopcional — varia conforme o tipo — ver exemplo { … }authorizedAtstring (date-time)opcional — — "2025-08-11T13:45:00Z"bankAccountIdstringopcional — — "3fa85f64-5717-4562-b3fc-2c963f66afa6"requesterobjetoopcional — varia conforme o tipo — ver exemplo { … }approvalsarray de objetoopcional — objeto — ver detalhe abaixo [ … ]
Detalhe de approvals Campo Tipo Obrigatório Descrição Valores Exemplo levelobjetoopcional — varia conforme o tipo — ver exemplo "Viewer"actionstringopcional — Approve, Reject, Cancel"Approve"actionDisplaystringopcional — — "texto"userobjetoopcional — varia 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ódigo Significado Detalhe do contrato 200Requisição bem-sucedida. — 400Requisição inválida (validação de campos ou regra de negócio). —
Exemplos cURL C# JavaScript
curl -X PUT "{{baseUrl}}/v1/BankAccount/AutomaticSplit/Operation/3fa85f64-5717-4562-b3fc-2c963f66afa6" \
-H "Authorization: Bearer {{token}}" \
-H "Content-Type: application/json" \
-d '{
"escrowBankAccountId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"borrowerBeneficiaryId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"creditors": [
{
"beneficiaryId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"proportion": 1000,
"active": true
}
],
"principalAmount": 0,
"installmentsCount": 0,
"dueDateType": "Fixed",
"installmentType": "Fixed",
"firstDueDate": "2025-08-11",
"guaranteePercentOverPMT": 1.99,
"interestPercent": 1.99,
"finePercent": 1.99,
"borrowerTransferAuthorized": true,
"borrowerTransferSameDay": true,
"borrowerTransferDayOfMonth": 0,
"acceptPartialInstallment": true,
"active": true,
"planOverride": [
{
"number": 0,
"dueDate": "2025-08-11",
"amount": 0
}
]
}'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 corpo = new StringContent(
"""
{
"escrowBankAccountId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"borrowerBeneficiaryId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"creditors": [
{
"beneficiaryId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"proportion": 1000,
"active": true
}
],
"principalAmount": 0,
"installmentsCount": 0,
"dueDateType": "Fixed",
"installmentType": "Fixed",
"firstDueDate": "2025-08-11",
"guaranteePercentOverPMT": 1.99,
"interestPercent": 1.99,
"finePercent": 1.99,
"borrowerTransferAuthorized": true,
"borrowerTransferSameDay": true,
"borrowerTransferDayOfMonth": 0,
"acceptPartialInstallment": true,
"active": true,
"planOverride": [
{
"number": 0,
"dueDate": "2025-08-11",
"amount": 0
}
]
}
""",
Encoding.UTF8, "application/json");
var resp = await http.PutAsync(rota, corpo);
resp.EnsureSuccessStatusCode();
var json = await resp.Content.ReadAsStringAsync();const baseUrl = '{{baseUrl}}';
const token = '{{token}}';
const payload = {
"escrowBankAccountId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"borrowerBeneficiaryId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"creditors": [
{
"beneficiaryId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"proportion": 1000,
"active": true
}
],
"principalAmount": 0,
"installmentsCount": 0,
"dueDateType": "Fixed",
"installmentType": "Fixed",
"firstDueDate": "2025-08-11",
"guaranteePercentOverPMT": 1.99,
"interestPercent": 1.99,
"finePercent": 1.99,
"borrowerTransferAuthorized": true,
"borrowerTransferSameDay": true,
"borrowerTransferDayOfMonth": 0,
"acceptPartialInstallment": true,
"active": true,
"planOverride": [
{
"number": 0,
"dueDate": "2025-08-11",
"amount": 0
}
]
};
const resp = await fetch(`${baseUrl}/v1/BankAccount/AutomaticSplit/Operation/3fa85f64-5717-4562-b3fc-2c963f66afa6`, {
method: 'PUT',
headers: {
'Authorization': `Bearer ${token}`,
'Content-Type': 'application/json',
},
body: JSON.stringify(payload),
});
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