Common examples
Transaction lookup
Search for the details of a particular transaction.
Balance lookup
Search for the details of a particular balance.
View all transactions belonging to a balance
Search for all transactions that a particular balance has been a part of either as a source or destination. If source
, it is a debit; if destination
, it is a credit.
The sample query below sorts the result in descending order and paginates the results, displaying 30 records per page.
View all balances in a ledger
Search for all balances grouped in a particular ledger.
View all balances with a specific asset class
Search for all balances with a specific asset class (e.g., USD).
View all balances with total balance above USD 400,000
Search for all balances with their total balance above USD 400,000.
View all balances with an overdraft within a specified ledger
Search for all balances with an overdraft (i.e. a negative balance value).
Filtering by the ledger_id
would match all balance records containing the specified value. A negative is any number that is less than 0. You can further filter these balance records by looking for balances whose values are less than 0.
View credit transactions below USD 100,000 in a specified balance
Search for transactions where a specified balance received amounts less than USD 100,000.
Use per_page
to introduce pagination into your results, while page
helps you navigate them.
This is good for large results because it returns them faster when it is fetched in groups (pages) compared to when it tries to fetch them all at once.
View all APPLIED
transactions between two dates in a specified balance
View all transactions with "status": "APPLIED"
between February 2 and March 28, 2024 in a specified balance.
See also
Get started with Search
Learn how to use Search in Blnk
Query parameters
Learn how to use the query field
Filtering parameters
Learn how to use search filters
Sorting parameters
Learn how to use sorting
Need help?
Are you stuck? Do you have a question that isn’t answered in this doc? Have you run into a problem you can’t solve? Want to file a bug report?
Join our Discord server and share your questions/thoughts with other developers building financial applications like you.
Was this page helpful?