Get Dynamic Immediate Charge (COB-3)
Retrieves a dynamic immediate charge (cob) by its transaction identifier (txid). Returns the complete charge details including status, amount, and QR code payload. Implements Bacen API Pix v2.9.0 specification.
Query Parameters
- Type: string Format: date-timeiniciorequired
the date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z
- Type: string Format: date-timefimrequired
the date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z
- Type: stringcpf
- Type: stringcnpj
- Type: booleanlocation
Presente - 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
- Type: integer Format: int32paginacao
.pagina Atual Página corrente (0-based)
- Type: integer Format: int32paginacao
.itens Por Pagina Itens por página
Responses
- application/json
- application/json
- application/json
- application/json
- application/json
Request Example for get/api/cob
curl 'http://localhost:8080/api/cob?inicio=&fim=' \
--header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{
"parametros": {
"inicio": "2026-08-14T09:00:00Z",
"fim": "2026-08-14T18:00:00Z",
"cpf": "string",
"cnpj": "string",
"locationPresente": true,
"status": "ATIVA",
"paginacao": {
"paginaAtual": 1,
"itensPorPagina": 1,
"quantidadeDePaginas": 1,
"quantidadeTotalDeItens": 1
}
},
"cobs": [
{
"id": "string",
"type": "STATIC",
"txid": "string",
"status": "ATIVA",
"revisao": 1,
"calendario": {
"criacao": "2026-09-16T19:14:18.660Z",
"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.660Z"
},
"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.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"
}
]
}