Patch dynamic charge with due date (COBV)
Partially updates an ACTIVE COBV: amount, due date, validity after due date, abatement, discount, interest, fine, and additional info. Send only status = REMOVED_BY_RECEIVER (Bacen: REMOVIDO_PELO_USUARIO_RECEBEDOR) with no other fields to cancel; cancelled charges cannot be paid.
- Type: stringtxidrequired
Transaction identifier (txid). Must be 26-35 alphanumeric characters [a-zA-Z0-9]
- Type: stringx
-branch requiredBranch of the charge owner account
- Type: stringx
-account -number requiredNumber of the charge owner account
- Type: stringIdempotency
- Key required
Partial update for a dynamic charge with due date (COBV)
- Type: object ·abatement
Abatement configuration for charge with due date
- Type: array object[] · …50additional
Info Replaces the full additional information list when sent
Additional information for the payer
- Type: object ·discount
Discount configuration for charge with due date
- Type: string Format: datedue
Date New due date (YYYY-MM-DD)
- Type: booleanemit
Image If true, includes base64 PNG in the response
- Type: object ·fine
Fine configuration for charge with due date
- Type: object ·interest
Interest configuration for charge with due date
- Type: stringoriginal
Pattern: ^\d+\.\d{2}$New original amount (replaces stored value)
- Type: string enumstatus
Status of a dynamic charge
values- A
T I V A - C
O N C L U I D A - R
E M O V I D A _ P E L O _ U S U A R I O _ R E C E B E D O R - R
E M O V I D A _ P E L O _ P S P - R
E M O V I D A _ P E L O _ U S U A R I O _ R E C E B E D O R - R
E M O V E D _ B Y _ R E C E I V E R
- Type: integer Format: int32valid
After Due Days Days the charge remains valid after the due date
- application/json
curl http://localhost/cobv/txid12345678901234567890123456 \
--request PATCH \
--header 'x-branch: ' \
--header 'x-account-number: ' \
--header 'Idempotency-Key: ' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_SECRET_TOKEN' \
--data '{
"status": "ATIVA",
"original": "",
"dueDate": "",
"validAfterDueDays": 1,
"abatement": {
"modalidade": "1",
"valorPerc": ""
},
"discount": {
"modalidade": "1",
"descontoDataFixa": [
{
"data": "",
"valorPerc": ""
}
],
"valorPerc": ""
},
"interest": {
"modalidade": "1",
"valorPerc": ""
},
"fine": {
"modalidade": "1",
"valorPerc": ""
},
"additionalInfo": [
{
"nome": "",
"valor": ""
}
],
"emitImage": true
}'
{
"id": "string",
"type": "STATIC",
"txid": "string",
"status": "ATIVA",
"revisao": 1,
"chave": "string",
"calendario": {
"criacao": "2026-07-31T17:52:48.667Z",
"dataDeVencimento": "2026-07-31",
"validadeAposVencimento": 1
},
"valor": {
"original": "string",
"multa": {
"modalidade": "1",
"valorPerc": "string"
},
"juros": {
"modalidade": "1",
"valorPerc": "string"
},
"abatimento": {
"modalidade": "1",
"valorPerc": "string"
},
"desconto": {
"modalidade": "1",
"descontoDataFixa": [
{
"data": "2026-07-31",
"valorPerc": "string"
}
],
"valorPerc": "string"
}
},
"devedor": {
"cpf": "string",
"cnpj": "string",
"nome": "string"
},
"recebedor": {
"nome": "string",
"cidade": "string",
"taxId": "string",
"endereco": {
"logradouro": "string",
"cidade": "string",
"uf": "string",
"cep": "string"
}
},
"solicitacaoPagador": "string",
"infoAdicionais": [
{
"nome": "string",
"valor": "string"
}
],
"loc": {
"id": "string",
"url": "string"
},
"pix": [
{
"endToEndId": "string",
"txid": "string",
"valor": "string",
"horario": "2026-07-31T17:52:48.667Z",
"infoPagador": "string"
}
],
"pixCopiaECola": "string",
"qrCodeImage": {
"contentType": "string",
"base64": "string"
},
"createdAt": "2026-07-31T17:52:48.667Z"
}