List all transactions
const url = 'http://localhost:8000/api/v1/transactions?type=income&intent=investment_buy%2Cinvestment_return&limit=20';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'http://localhost:8000/api/v1/transactions?type=income&intent=investment_buy%2Cinvestment_return&limit=20' \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Query Parameters
Section titled “Query Parameters ”Type of transaction (income/expense)
Filter transactions from this date (YYYY-MM-DD)
Filter transactions up to this date (YYYY-MM-DD)
Filter by wallet IDs
Filter by category IDs
Search transactions by description
Example
investment_buy,investment_returnFilter by one or more transaction intents (comma-separated)
Number of items to return per page
Get recent changes after this date
Get results with no client id
Responses
Section titled “ Responses ”Successful operation
object
object
ID of the transaction
Type of the transaction (income or expense)
Amount of the transaction
Description of the transaction
Date and time of the transaction
List of categories of the transaction
Set the transaction as a recurring transaction
ID of the user who created the transaction
Transaction amount converted to the currency of the budget
ID of the associated transfer, if any
Client-generated ID of the associated wallet
Client-generated ID of the associated party
Files attached to the transaction
object
ID of the file
Path or content of the file
URL to access the file
Type of file (image, icon, emoji, pdf)
Related model name
ID of the related model
object
ID of the transaction
ID of the transaction
Set how often the transaction should repeat
Set how often the transaction should repeat
When the transaction stops repeating
When next the transaction should happen
Example
{ "data": [ { "type": "income", "files": [ { "type": "image" } ] } ]}Invalid transaction type