-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
Summary
Currently there's no way to filter ledgers, balances, or transactions using the SDK. The Blnk API supports filter endpoints that allow querying resources with various operators.
Proposed Solution
Add a Filter() method to the following services:
LedgerServiceLedgerBalanceServiceTransactionService
The implementation should include:
- A
Filterstruct withField,Operator, andValuefields - A
FilterRequeststruct supporting pagination (Limit,Page), sorting (SortBy,SortOrder), and count inclusion (IncludeCount) - Validation for filter operators (e.g.,
gt,gte,lt,lterequire numeric/date values;like,ilikerequire strings) - Comprehensive unit tests
API Endpoints
POST /ledgers/filterPOST /balances/filterPOST /transactions/filter
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels