List transactions counted toward a budget's current period
const url = 'http://localhost:8000/api/v1/budgets/1/transactions?limit=50';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/budgets/1/transactions?limit=50' \ --header 'Authorization: Bearer <token>'Transactions that match the budget’s targets and fall inside the
current period window. Ordered latest-first. Accepts limit query
(default 50, max 200).
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”Query Parameters
Section titled “Query Parameters ”Number of transactions to return (1-200, default 50)
Responses
Section titled “ Responses ”Transactions within the period
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" } ] } ]}Budget not found