Ledger
GET /v1/ledger/{clientId}
Obtiene el historial de movimientos del ledger (entradas contables).
Query params
Sección titulada «Query params»| Param | Descripción | Ejemplo |
|---|---|---|
startDate | Fecha de inicio (ISO 8601) | 2026-03-01T00:00:00Z |
endDate | Fecha de fin (ISO 8601) | 2026-03-31T23:59:59Z |
limit | Máximo de resultados (default 50, max 100) | 100 |
country | País (default BR) | BR |
Response 200 OK
Sección titulada «Response 200 OK»{ "entries": [ { "txId": "a1b2...", "entryType": "CREDIT", "amount": 9700, "currency": "BRL", "balanceBefore": 140000, "balanceAfter": 149700, "description": "Pay-in completado", "category": "PAYIN_CREDIT", "createdAt": "2026-03-18T14:02:30.000Z" } ], "count": 1, "hasMore": false}| Campo | Descripción |
|---|---|
entryType | CREDIT (ingreso) o DEBIT (egreso) |
balanceBefore | Balance antes del movimiento en centavos |
balanceAfter | Balance después del movimiento en centavos |
category | Categoría contable (ej: PAYIN_CREDIT, PAYOUT_DEBIT) |
hasMore | true si hay más páginas disponibles |