API Docs Início Documentação Referência de API Copiar para LLM
PUT/v1/BankAccount/Limits/ApproveOrRejectByBatch
Banking · 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

CampoTipoObrigatórioDescriçãoValoresExemplo
bankAccountTransactionLimitsIdsarray de stringobrigatório[ … ]
statusstringobrigatórioPending, Rejected, Approved"Pending"
uploadsarray de objetoopcionalobjeto — ver detalhe abaixo[ … ]
pixLimitobjetoopcionalvaria conforme o tipo — ver exemplo{ … }
bankSlipLimitobjetoopcionalvaria conforme o tipo — ver exemplo{ … }
transferLimitobjetoopcionalvaria conforme o tipo — ver exemplo{ … }
tedLimitobjetoopcionalvaria conforme o tipo — ver exemplo{ … }
sessionIdstringopcional"3fa85f64-5717-4562-b3fc-2c963f66afa6"
codestringopcional"texto"

Detalhe de uploads

CampoTipoObrigatórioDescriçãoValoresExemplo
idstringopcional"texto"
fileNamestringobrigatório"Fulano de Tal"
fileTypestringopcionalDocument, Authorization, DriversLicense, WorkCard, ResidenceProofCompany, ResidenceProofPartners, Draft, SocialContract, RegistrationNumber, IdentificationDocumentWithPhoto, BankStatement, ManagerialBilling, RegistrationForm, Others +34"Document"
displayNamestringopcional"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ódigoSignificadoDetalhe do contrato
204Sucesso 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.

Guia de importação: Como importar no Postman · Todos os downloads: Downloads