Revise a subset of a COBV batch (Bacen /lotecobv)
Revises charges of an existing batch. Each txid must already belong to the batch — items cannot be added or removed. Bacen contract: responds 202 without a body; poll GET /lotecobv/{id} for per-item status.
- Type: stringidrequired
Corpo para revisão de um subconjunto de cobranças de um lote COBV
- Type: array object[] · 1…cobsvrequired
Cobranças revisadas — cada txid deve já pertencer ao lote
Item de revisão de um lote COBV: txid existente + campos revisados
- Type: stringdescricaomax length:140
Nova descrição do lote (opcional)
- 202
Batch accepted for asynchronous processing. Bacen answers 202 with no body; poll GET /lotecobv/{id} for the per-item status.
- application/json
- 403
Access denied — the credential does not carry the scope required by this operation, or the client certificate was rejected. Answered at the exposure gateway (Bacen: AcessoNegado).
- application/json
- 503
Service temporarily unavailable (Bacen: ServicoIndisponivel).
curl 'http://localhost:8080/api/lotecobv/{id}' \
--request PATCH \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_SECRET_TOKEN' \
--data '{
"descricao": "",
"cobsv": [
{
"txid": "",
"status": "REMOVIDA_PELO_USUARIO_RECEBEDOR",
"calendario": {
"dataDeVencimento": "",
"validadeAposVencimento": 1
},
"devedor": {
"cpf": "",
"cnpj": "",
"nome": "",
"email": "",
"logradouro": "",
"cidade": "",
"uf": "",
"cep": ""
},
"valor": {
"original": "",
"multa": {
"modalidade": 1,
"valorPerc": ""
},
"juros": {
"modalidade": 1,
"valorPerc": ""
},
"desconto": {
"modalidade": 1,
"descontoDataFixa": [
{
"data": "",
"valorPerc": ""
}
],
"valorPerc": ""
},
"abatimento": {
"modalidade": 1,
"valorPerc": ""
}
},
"solicitacaoPagador": "",
"infoAdicionais": [
{
"nome": "",
"valor": ""
}
],
"emitImage": true
}
]
}'