This service is available in v3 only.
How to get Transactions from digital account via Clara API
This guide explains how to use theGET /api/v3/digital-accounts endpoint to retrieve transactions in the Clara API system.
Authentication Requirements
To access this endpoint, ensure the following:- Use mutual TLS (MTLS) for secure two-way certificate validation.
- Obtain an OAuth2 access token via the
/oauth/tokenendpoint. - Include the Bearer token in the
Authorizationheader of your request.
Endpoint
Query Parameters (Optional)
This section lists the optional filters available for the Digital Account endpoint. All parameters can be combined and are intended to narrow results by date range and transaction types:- Dates are supplied in local
yyyy-MM-ddformat; the SDK normalizes them to end-of-day UTC before building the URL. - Validation (format, list size, and date ordering) happens client-side before the request is sent.
-
Client‑side validation rules
These rules are applied byDigitalAccountTransactionFilter before the request is built:
startDate,endDate:@Pattern("\d{4}-\d{2}-\d{2}")— error: Date must be in ISO format (yyyy-MM-dd).transactionTypeName:@Pattern("PIX|TED|BILL|TRANSACTION")— error: transactionTypeName must be one of: PIX, TED, BILL, TRANSACTION.- Date range:
@AssertTrueensuresstartDate <= endDatewhen both dates are present and parsable — error: startDate must be less than or equal to endDate.
Note: End‑of‑day UTC normalization happens after the ISO date format check.
Examples
1. Filter by date range
Request (query):2. Filter by type alias (transactionTypeName)
Request (query):
3. Combined
Request (query):Validation messages (client)
Date must be in ISO format (yyyy-MM-dd)transactionTypeName must be one of: PIX, TED, BILL, TRANSACTIONstartDate must be less than or equal to endDate
The backend may return additional validation errors.
⚠️ Important Notes:
- Response is a JSON array (no envelope with totalElements).
- Keep paging until an empty page or a page with < size items is returned.
Successful Response
Error Responses
Example cURL Request
{your_access_token}, {client_cert_path}, and {client_key_path} with actual values.
Example Response Object
General Response
Bill Response
Field reference
⚠️ Note: some fields may benulldepending on themethod/type.
