PUT
/v1/BankAccount/Limits/ApproveOrRejectByBatchBanking · Limites
Aprovar/Rejeitar limites da conta por lote
Atualiza por completo um registro de Bank Account existente.
Visão geral
Aprovar/Rejeitar limites da conta por lote
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
Nenhum parâmetro de rota, query ou header.
Corpo da requisição
Envie no formato application/json. Corpo obrigatório.
Campos
| Campo | Tipo | Obrigatório | Descrição | Valores | Exemplo |
|---|---|---|---|---|---|
bankAccountTransactionLimitsIds | array de string | obrigatório | — | — | [ … ] |
status | string | obrigatório | — | Pending, Rejected, Approved | "Pending" |
uploads | array de objeto | opcional | — | objeto — ver detalhe abaixo | [ … ] |
pixLimit | objeto | opcional | — | varia conforme o tipo — ver exemplo | { … } |
bankSlipLimit | objeto | opcional | — | varia conforme o tipo — ver exemplo | { … } |
transferLimit | objeto | opcional | — | varia conforme o tipo — ver exemplo | { … } |
tedLimit | objeto | opcional | — | varia conforme o tipo — ver exemplo | { … } |
sessionId | string | opcional | — | — | "3fa85f64-5717-4562-b3fc-2c963f66afa6" |
code | string | opcional | — | — | "texto" |
Detalhe de uploads
| Campo | Tipo | Obrigatório | Descrição | Valores | Exemplo |
|---|---|---|---|---|---|
id | string | opcional | — | — | "texto" |
fileName | string | obrigatório | — | — | "Fulano de Tal" |
fileType | string | opcional | — | Document, Authorization, DriversLicense, WorkCard, ResidenceProofCompany, ResidenceProofPartners, Draft, SocialContract, RegistrationNumber, IdentificationDocumentWithPhoto, BankStatement, ManagerialBilling, RegistrationForm, Others +34 | "Document" |
displayName | string | opcional | — | — | "Fulano de Tal" |
Exemplo de corpo
{
"bankAccountTransactionLimitsIds": [
"texto"
],
"status": "Pending",
"uploads": [
{
"id": "texto",
"fileName": "Fulano de Tal",
"fileType": "Document",
"displayName": "Fulano de Tal"
}
],
"pixLimit": {
"businessHours": {
"valueInCentsOwnOwnership": 0,
"valueInCentsNaturalPerson": 0,
"valueInCentsLegalPerson": 0
},
"nonBusinessHours": {
"valueInCentsOwnOwnership": 0,
"valueInCentsNaturalPerson": 0,
"valueInCentsLegalPerson": 0
}
},
"bankSlipLimit": {
"businessHours": {
"valueInCentsOwnOwnership": 0,
"valueInCentsNaturalPerson": 0,
"valueInCentsLegalPerson": 0
},
"nonBusinessHours": {
"valueInCentsOwnOwnership": 0,
"valueInCentsNaturalPerson": 0,
"valueInCentsLegalPerson": 0
}
},
"transferLimit": {
"businessHours": {
"valueInCentsOwnOwnership": 0,
"valueInCentsNaturalPerson": 0,
"valueInCentsLegalPerson": 0
},
"nonBusinessHours": {
"valueInCentsOwnOwnership": 0,
"valueInCentsNaturalPerson": 0,
"valueInCentsLegalPerson": 0
}
},
"tedLimit": {
"businessHours": {
"valueInCentsOwnOwnership": 0,
"valueInCentsNaturalPerson": 0,
"valueInCentsLegalPerson": 0
},
"nonBusinessHours": {
"valueInCentsOwnOwnership": 0,
"valueInCentsNaturalPerson": 0,
"valueInCentsLegalPerson": 0
}
},
"sessionId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"code": "texto"
}Response
Resposta 204 sem corpo (—).
Códigos de retorno
| Código | Significado | Detalhe do contrato |
|---|---|---|
204 | Sucesso sem corpo de resposta. | — |
Exemplos
curl -X PUT "{{baseUrl}}/v1/BankAccount/Limits/ApproveOrRejectByBatch" \
-H "Authorization: Bearer {{token}}" \
-H "Content-Type: application/json" \
-d '{
"bankAccountTransactionLimitsIds": [
"texto"
],
"status": "Pending",
"uploads": [
{
"id": "texto",
"fileName": "Fulano de Tal",
"fileType": "Document",
"displayName": "Fulano de Tal"
}
],
"pixLimit": {
"businessHours": {
"valueInCentsOwnOwnership": 0,
"valueInCentsNaturalPerson": 0,
"valueInCentsLegalPerson": 0
},
"nonBusinessHours": {
"valueInCentsOwnOwnership": 0,
"valueInCentsNaturalPerson": 0,
"valueInCentsLegalPerson": 0
}
},
"bankSlipLimit": {
"businessHours": {
"valueInCentsOwnOwnership": 0,
"valueInCentsNaturalPerson": 0,
"valueInCentsLegalPerson": 0
},
"nonBusinessHours": {
"valueInCentsOwnOwnership": 0,
"valueInCentsNaturalPerson": 0,
"valueInCentsLegalPerson": 0
}
},
"transferLimit": {
"businessHours": {
"valueInCentsOwnOwnership": 0,
"valueInCentsNaturalPerson": 0,
"valueInCentsLegalPerson": 0
},
"nonBusinessHours": {
"valueInCentsOwnOwnership": 0,
"valueInCentsNaturalPerson": 0,
"valueInCentsLegalPerson": 0
}
},
"tedLimit": {
"businessHours": {
"valueInCentsOwnOwnership": 0,
"valueInCentsNaturalPerson": 0,
"valueInCentsLegalPerson": 0
},
"nonBusinessHours": {
"valueInCentsOwnOwnership": 0,
"valueInCentsNaturalPerson": 0,
"valueInCentsLegalPerson": 0
}
},
"sessionId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"code": "texto"
}'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/Limits/ApproveOrRejectByBatch";
var corpo = new StringContent(
"""
{
"bankAccountTransactionLimitsIds": [
"texto"
],
"status": "Pending",
"uploads": [
{
"id": "texto",
"fileName": "Fulano de Tal",
"fileType": "Document",
"displayName": "Fulano de Tal"
}
],
"pixLimit": {
"businessHours": {
"valueInCentsOwnOwnership": 0,
"valueInCentsNaturalPerson": 0,
"valueInCentsLegalPerson": 0
},
"nonBusinessHours": {
"valueInCentsOwnOwnership": 0,
"valueInCentsNaturalPerson": 0,
"valueInCentsLegalPerson": 0
}
},
"bankSlipLimit": {
"businessHours": {
"valueInCentsOwnOwnership": 0,
"valueInCentsNaturalPerson": 0,
"valueInCentsLegalPerson": 0
},
"nonBusinessHours": {
"valueInCentsOwnOwnership": 0,
"valueInCentsNaturalPerson": 0,
"valueInCentsLegalPerson": 0
}
},
"transferLimit": {
"businessHours": {
"valueInCentsOwnOwnership": 0,
"valueInCentsNaturalPerson": 0,
"valueInCentsLegalPerson": 0
},
"nonBusinessHours": {
"valueInCentsOwnOwnership": 0,
"valueInCentsNaturalPerson": 0,
"valueInCentsLegalPerson": 0
}
},
"tedLimit": {
"businessHours": {
"valueInCentsOwnOwnership": 0,
"valueInCentsNaturalPerson": 0,
"valueInCentsLegalPerson": 0
},
"nonBusinessHours": {
"valueInCentsOwnOwnership": 0,
"valueInCentsNaturalPerson": 0,
"valueInCentsLegalPerson": 0
}
},
"sessionId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"code": "texto"
}
""",
Encoding.UTF8, "application/json");
var resp = await http.PutAsync(rota, corpo);
resp.EnsureSuccessStatusCode();
// Sem corpo de resposta neste endpoint.const baseUrl = '{{baseUrl}}';
const token = '{{token}}';
const payload = {
"bankAccountTransactionLimitsIds": [
"texto"
],
"status": "Pending",
"uploads": [
{
"id": "texto",
"fileName": "Fulano de Tal",
"fileType": "Document",
"displayName": "Fulano de Tal"
}
],
"pixLimit": {
"businessHours": {
"valueInCentsOwnOwnership": 0,
"valueInCentsNaturalPerson": 0,
"valueInCentsLegalPerson": 0
},
"nonBusinessHours": {
"valueInCentsOwnOwnership": 0,
"valueInCentsNaturalPerson": 0,
"valueInCentsLegalPerson": 0
}
},
"bankSlipLimit": {
"businessHours": {
"valueInCentsOwnOwnership": 0,
"valueInCentsNaturalPerson": 0,
"valueInCentsLegalPerson": 0
},
"nonBusinessHours": {
"valueInCentsOwnOwnership": 0,
"valueInCentsNaturalPerson": 0,
"valueInCentsLegalPerson": 0
}
},
"transferLimit": {
"businessHours": {
"valueInCentsOwnOwnership": 0,
"valueInCentsNaturalPerson": 0,
"valueInCentsLegalPerson": 0
},
"nonBusinessHours": {
"valueInCentsOwnOwnership": 0,
"valueInCentsNaturalPerson": 0,
"valueInCentsLegalPerson": 0
}
},
"tedLimit": {
"businessHours": {
"valueInCentsOwnOwnership": 0,
"valueInCentsNaturalPerson": 0,
"valueInCentsLegalPerson": 0
},
"nonBusinessHours": {
"valueInCentsOwnOwnership": 0,
"valueInCentsNaturalPerson": 0,
"valueInCentsLegalPerson": 0
}
},
"sessionId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"code": "texto"
};
const resp = await fetch(`${baseUrl}/v1/BankAccount/Limits/ApproveOrRejectByBatch`, {
method: 'PUT',
headers: {
'Authorization': `Bearer ${token}`,
'Content-Type': 'application/json',
},
body: JSON.stringify(payload),
});
if (!resp.ok) throw new Error(`HTTP ${resp.status}`);
// Sem corpo de resposta neste endpoint.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