get
https://api.staging.bancocdc.com.br/transactions/p2p/batch/
Returns a paginated list of P2P batches
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
Retrieves all P2P batches.
Each batch represents a bulk P2P transfer request previously created via POST /transactions/p2p/batch/{bank_account_uuid}.
Query parameters
| Param | Type | Default | Description |
|---|---|---|---|
limit | integer | 1000 | Records per page. Max 10000. |
page | integer | 1 | Page number (1-based). |
initial_date | string | — | YYYY-MM-DD or YYYY-MM-DD HH:MM:SS. Filter by created_at. |
final_date | string | — | Same format as initial_date. |
search | string | — | Free-text search (LIKE) over batch description and code. |
code_status | integer | — | Filter by transaction status code. See table below. |
bank_account_uuid | UUID | — | Restrict to batches whose items belong to the given origin account. |
Status codes
| Code | Status |
|---|---|
| 1 | IN_PROCESS |
| 2 | APPROVED |
| 3 | CANCELED |
| 4 | EXPIRED |
| 5 | UNDER_REVIEW |
| 6 | PENDING |
Success response — 200 OK
200 OK{
"return": true,
"message": "success",
"page": 1,
"total_pages": 3,
"registries": 25,
"total_registries": 67,
"data": [
{
"code": "5b1f8c2e-9a7d-4c3b-aef5-2d6e1f3a9b40",
"batch_size": 100,
"qty_successes": 98,
"qty_errors": 2,
"total_amount": 9850.00,
"description": "folha-de-pagamento mai/26",
"transaction_status": "APPROVED",
"code_transaction_status": 2,
"created_at": "2026-05-20 14:32:11"
}
]
}
Error responses
| Status | message | When |
|---|---|---|
400 | batch not found | No batches match the filters. |
400 | statement query with limit below \1` or over `10000` registries per page is not allowed` | limit > 10000. |
406 | bank account not found | bank_account_uuid does not belong to the company. |
401 | — | Missing/invalid Bearer token. |