Filter Transactions
Galileo natively only supports filtering transactions by date range.
The date format must be: YYYY-MM-DD
.
In the src/baas/galileo/galileo.controller.ts file, in the transactions
function, you can send the startDate and endDate parameters to be able to filter by date range. If this parameter is not sent, the current date is taken as the end date, and the start date is taken as 90 days before the current date.
If you want to list transactions from another of your accounts, you should use accountId
from queryParams
. This form will change the main reference, since the main account transactions will be listed by default.
Example:
BASE_URL/bass/transactions?starDate=2022-10-12&endDate=2022-09-12
Last updated