Patch Dynamic Immediate Charge (COB-2)
Revises an ACTIVE COB with a CobRevisada body: calendario.expiracao, devedor, valor.original, valor.modalidadeAlteracao, solicitacaoPagador and infoAdicionais. An omitted field is left unchanged; devedor and infoAdicionais are replaced whole, not merged item by item. chave, loc and valor.retirada are immutable once the charge is issued. Send only status = REMOVIDA_PELO_USUARIO_RECEBEDOR with no other fields to cancel; cancelled charges cannot be paid.
- Type: stringtxidrequired
Transaction identifier (txid). Must be 26-35 lowercase alphanumeric characters [a-z0-9]
Revisão de uma cobrança imediata (CobRevisada)
- Type: object ·calendario
Calendário da revisão da cobrança imediata
- Type: object ·devedor
Debtor information (payer)
- Type: booleanemit
Image Se true, devolve o PNG do QR Code em base64 (extensão Finaya)
- Type: array object[] · …50info
Adicionais Substitui a lista de informações adicionais por inteiro quando enviada
Additional information for the payer
- Type: stringsolicitacao
Pagador max length:140Texto a ser apresentado ao pagador
- enumstatusconst:REMOVIDA_PELO_USUARIO_RECEBEDOR
Status of a dynamic charge
values- 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
- Type: object ·valor
Valor da revisão da cobrança imediata
- application/json
- application/json
- application/json
- application/json
- application/json
- application/json
curl http://localhost:8080/api/cob/txid12345678901234567890123456 \
--request PATCH \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_SECRET_TOKEN' \
--data '{
"status": "REMOVIDA_PELO_USUARIO_RECEBEDOR",
"calendario": {
"expiracao": 1
},
"devedor": {
"cpf": "",
"cnpj": "",
"nome": ""
},
"valor": {
"original": "",
"modalidadeAlteracao": 0
},
"solicitacaoPagador": "",
"infoAdicionais": [
{
"nome": "",
"valor": ""
}
],
"emitImage": true
}'
{
"id": "string",
"type": "STATIC",
"txid": "string",
"status": "ATIVA",
"revisao": 1,
"calendario": {
"criacao": "2026-09-16T19:14:18.661Z",
"expiracao": 1
},
"valor": {
"original": "string",
"modalidadeAlteracao": 1,
"retirada": {
"saque": {
"valor": "string",
"modalidadeAlteracao": 0,
"modalidadeAgente": "AGTEC",
"prestadorDoServicoDeSaque": "string"
},
"troco": {
"valor": "string",
"modalidadeAlteracao": 0,
"modalidadeAgente": "AGTEC",
"prestadorDoServicoDeSaque": "string"
}
}
},
"chave": "string",
"devedor": {
"cpf": "string",
"cnpj": "string",
"nome": "string"
},
"loc": {
"id": "string",
"location": "string",
"tipoCob": "cob",
"criacao": "2026-09-16T19:14:18.661Z"
},
"location": "string",
"solicitacaoPagador": "string",
"infoAdicionais": [
{
"nome": "string",
"valor": "string"
}
],
"pix": [
{
"endToEndId": "E1234567820260713123456789012345",
"txid": "string",
"valor": "100.0",
"componentesValor": {
"original": {
"valor": "100.0"
},
"saque": {
"valor": "20.0",
"modalidadeAgente": "AGTEC",
"prestadorDoServicoDeSaque": "string"
},
"troco": {
"valor": "20.0",
"modalidadeAgente": "AGTEC",
"prestadorDoServicoDeSaque": "string"
},
"juros": {
"valor": "100.0"
},
"multa": {
"valor": "100.0"
},
"abatimento": {
"valor": "100.0"
},
"desconto": {
"valor": "100.0"
}
},
"chave": "string",
"horario": "2026-09-16T19:14:18.661Z",
"infoPagador": "string",
"devolucoes": [
{
"id": "devolucao001",
"rtrId": "D1234567820260713123456789012345",
"valor": "10.0",
"natureza": "ORIGINAL",
"descricao": "string",
"horario": {
"solicitacao": "2026-09-16T19:14:18.661Z",
"liquidacao": "2026-09-16T19:14:18.661Z"
},
"status": "EM_PROCESSAMENTO",
"motivo": "string"
}
]
}
],
"pixCopiaECola": "string",
"qrCodeImage": {
"contentType": "string",
"base64": "string"
},
"createdAt": "2026-09-16T19:14:18.661Z"
}