List charges by tax ID and type
Retrieves a paginated list of charges for a given tax ID (CPF/CNPJ) filtered by type (STATIC, DYNAMIC, or DYNAMIC_DUE_DATE). Supports pagination via query parameters: page (default: 0), size (default: 50, max: 500), sort (e.g., sort=createdAt,desc).
Path Parameters
- Type: stringtax
Id requiredTax ID (CPF or CNPJ) of the charge owner
Query Parameters
- Type: string enumtyperequired
Type of QR Code to filter
Type of QR Code
values- S
T A T I C - D
Y N A M I C - D
Y N A M I C _ D U E _ D A T E - U
N K N O W N
- Type: object ·paginationrequired
Pagination parameters (page, size, sort)
Pagination and sorting parameters
- Type: integer Format: int32page
Page number (zero-based)
- Type: integer Format: int32sizemax:500
Number of items per page (max: 500)
- Type: array string[]sort
Sort criteria in the format 'field,direction' (e.g., 'createdAt,desc')
Headers
- Type: stringx
-branch requiredBranch of the charge owner account
- Type: stringx
-account -number requiredNumber of the charge owner account
- Type: stringIdempotency
- Key requiredUnique idempotency key
Responses
- application/json
- application/json
Request Example for get/cob/legacy/{taxId}
curl 'http://localhost/cob/legacy/12345678901?type=STATIC&page=0&size=50&sort=' \
--header 'x-branch: ' \
--header 'x-account-number: ' \
--header 'Idempotency-Key: 550e8400-e29b-41d4-a716-446655440000' \
--header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{
"id": "string",
"type": "STATIC",
"key": "string",
"value": "string",
"merchant": {
"nome": "string",
"cidade": "string",
"taxId": "string",
"endereco": {
"logradouro": "string",
"cidade": "string",
"uf": "string",
"cep": "string"
}
},
"txid": "string",
"additionalInfo": "string",
"brCode": "string",
"createdAt": "2026-07-31T17:52:48.626Z"
}