Patch dynamic charge with due date (COBV)

​

Revises an ACTIVE COBV with a CobVRevisada body: calendario.dataDeVencimento, calendario.validadeAposVencimento, devedor, valor.original, valor.multa, valor.juros, valor.desconto, valor.abatimento, solicitacaoPagador and infoAdicionais. An omitted field is left unchanged; devedor, each charge rule and infoAdicionais are replaced whole, not merged item by item. chave and loc 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.

Path Parameters
  • txid
    Type: string
    required

    Transaction identifier (txid). Must be 26-35 alphanumeric characters [a-zA-Z0-9]

Body·
required
application/json

Revisão de uma cobrança com vencimento (CobVRevisada)

  • calendario
    Type: object ·

    Calendário da revisão da cobrança com vencimento

  • devedor
    Type: object ·

    Debtor (payer) information

  • emitImage
    Type: boolean

    Se true, devolve o PNG do QR Code em base64 (extensão Finaya)

  • infoAdicionais
    Type: array object[] · …50

    Substitui a lista de informações adicionais por inteiro quando enviada

    Additional information for the payer

  • solicitacaoPagador
    Type: string
    max length:  
    140

    Texto a ser apresentado ao pagador

  • status
    enum
    const:  
    REMOVIDA_PELO_USUARIO_RECEBEDOR

    Status of a dynamic charge

    values
    • REMOVIDA_PELO_USUARIO_RECEBEDOR
  • valor
    Type: object ·

    Valor e encargos da revisão da cobrança com vencimento

Responses
  • application/json
  • application/json
  • application/json
  • application/json
  • application/json
  • application/json
  • application/json
Request Example for patch/api/cobv/{txid}
curl http://localhost:8080/api/cobv/txid12345678901234567890123456 \
  --request PATCH \
  --header 'Content-Type: application/json' \
  --header 'Authorization: Bearer YOUR_SECRET_TOKEN' \
  --data '{
  "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
}'
{
  "id": "string",
  "type": "STATIC",
  "txid": "string",
  "status": "ATIVA",
  "revisao": 1,
  "chave": "string",
  "calendario": {
    "criacao": "2026-09-16T19:14:18.660Z",
    "dataDeVencimento": "2026-09-16",
    "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-09-16",
          "valorPerc": "string"
        }
      ],
      "valorPerc": "string"
    }
  },
  "devedor": {
    "cpf": "string",
    "cnpj": "string",
    "nome": "string",
    "email": "string",
    "logradouro": "string",
    "cidade": "string",
    "uf": "string",
    "cep": "string"
  },
  "recebedor": {
    "nome": "string",
    "cidade": "string",
    "taxId": "string",
    "logradouro": "string",
    "uf": "string",
    "cep": "string"
  },
  "solicitacaoPagador": "string",
  "infoAdicionais": [
    {
      "nome": "string",
      "valor": "string"
    }
  ],
  "loc": {
    "id": "string",
    "location": "string",
    "tipoCob": "cob",
    "criacao": "2026-09-16T19:14:18.660Z"
  },
  "location": "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.660Z",
      "infoPagador": "string",
      "devolucoes": [
        {
          "id": "devolucao001",
          "rtrId": "D1234567820260713123456789012345",
          "valor": "10.0",
          "natureza": "ORIGINAL",
          "descricao": "string",
          "horario": {
            "solicitacao": "2026-09-16T19:14:18.660Z",
            "liquidacao": "2026-09-16T19:14:18.660Z"
          },
          "status": "EM_PROCESSAMENTO",
          "motivo": "string"
        }
      ]
    }
  ],
  "pixCopiaECola": "string",
  "qrCodeImage": {
    "contentType": "string",
    "base64": "string"
  },
  "createdAt": "2026-09-16T19:14:18.660Z"
}