Retrieve charge with due date (COBV)
Retrieves a charge with due date through a given txid. Bacen API Pix: consultar cobrança com vencimento.
Path Parameters
- Type: stringtxidrequired
Transaction identifier (txid). Must be 26-35 alphanumeric characters [a-zA-Z0-9]
Responses
- application/json
- application/json
- application/json
- application/json
- application/json
Request Example for get/api/cobv/{txid}
curl http://localhost:8080/api/cobv/txid12345678901234567890123456 \
--header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{
"id": "string",
"type": "STATIC",
"txid": "string",
"status": "ATIVA",
"revisao": 1,
"chave": "string",
"calendario": {
"criacao": "2026-09-16T19:14:18.843Z",
"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.843Z"
},
"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.843Z",
"infoPagador": "string",
"devolucoes": [
{
"id": "devolucao001",
"rtrId": "D1234567820260713123456789012345",
"valor": "10.0",
"natureza": "ORIGINAL",
"descricao": "string",
"horario": {
"solicitacao": "2026-09-16T19:14:18.843Z",
"liquidacao": "2026-09-16T19:14:18.843Z"
},
"status": "EM_PROCESSAMENTO",
"motivo": "string"
}
]
}
],
"pixCopiaECola": "string",
"qrCodeImage": {
"contentType": "string",
"base64": "string"
},
"createdAt": "2026-09-16T19:14:18.843Z"
}