curl -X GET "https://api.yourfinanceapp.com/api/budgets?month=1&year=2026" \
-H "Authorization: Bearer YOUR_TOKEN"
[
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"categoryId": "660e8400-e29b-41d4-a716-446655440001",
"categoryName": "Food & Dining",
"categoryColor": "#FF6B6B",
"categoryIcon": "Utensils",
"amount": 50000,
"spent": 42000,
"directSpent": 30000,
"remaining": 8000,
"percentage": 84,
"status": "WARNING",
"children": [
{
"id": "550e8400-e29b-41d4-a716-446655440010",
"categoryId": "660e8400-e29b-41d4-a716-446655440011",
"categoryName": "Restaurants",
"categoryColor": "#FF6B6B",
"categoryIcon": "Restaurant",
"amount": 20000,
"spent": 12000,
"directSpent": 12000,
"remaining": 8000,
"percentage": 60,
"status": "OK",
"children": []
}
]
},
{
"categoryId": "660e8400-e29b-41d4-a716-446655440002",
"categoryName": "Uncategorized",
"categoryColor": "#cccccc",
"categoryIcon": "Wallet",
"amount": 0,
"spent": 5000,
"directSpent": 5000,
"remaining": 0,
"percentage": 0,
"status": "UNBUDGETED",
"children": []
}
]
Get a hierarchical report of budgets with spending progress
curl -X GET "https://api.yourfinanceapp.com/api/budgets?month=1&year=2026" \
-H "Authorization: Bearer YOUR_TOKEN"
[
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"categoryId": "660e8400-e29b-41d4-a716-446655440001",
"categoryName": "Food & Dining",
"categoryColor": "#FF6B6B",
"categoryIcon": "Utensils",
"amount": 50000,
"spent": 42000,
"directSpent": 30000,
"remaining": 8000,
"percentage": 84,
"status": "WARNING",
"children": [
{
"id": "550e8400-e29b-41d4-a716-446655440010",
"categoryId": "660e8400-e29b-41d4-a716-446655440011",
"categoryName": "Restaurants",
"categoryColor": "#FF6B6B",
"categoryIcon": "Restaurant",
"amount": 20000,
"spent": 12000,
"directSpent": 12000,
"remaining": 8000,
"percentage": 60,
"status": "OK",
"children": []
}
]
},
{
"categoryId": "660e8400-e29b-41d4-a716-446655440002",
"categoryName": "Uncategorized",
"categoryColor": "#cccccc",
"categoryIcon": "Wallet",
"amount": 0,
"spent": 5000,
"directSpent": 5000,
"remaining": 0,
"percentage": 0,
"status": "UNBUDGETED",
"children": []
}
]
OK: Less than 80% spentWARNING: 80-99% spentEXCEEDED: 100% or more spentUNBUDGETED: No budget set for this category[
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"categoryId": "660e8400-e29b-41d4-a716-446655440001",
"categoryName": "Food & Dining",
"categoryColor": "#FF6B6B",
"categoryIcon": "Utensils",
"amount": 50000,
"spent": 42000,
"directSpent": 30000,
"remaining": 8000,
"percentage": 84,
"status": "WARNING",
"children": [
{
"id": "550e8400-e29b-41d4-a716-446655440010",
"categoryId": "660e8400-e29b-41d4-a716-446655440011",
"categoryName": "Restaurants",
"categoryColor": "#FF6B6B",
"categoryIcon": "Restaurant",
"amount": 20000,
"spent": 12000,
"directSpent": 12000,
"remaining": 8000,
"percentage": 60,
"status": "OK",
"children": []
}
]
},
{
"categoryId": "660e8400-e29b-41d4-a716-446655440002",
"categoryName": "Uncategorized",
"categoryColor": "#cccccc",
"categoryIcon": "Wallet",
"amount": 0,
"spent": 5000,
"directSpent": 5000,
"remaining": 0,
"percentage": 0,
"status": "UNBUDGETED",
"children": []
}
]
curl -X GET "https://api.yourfinanceapp.com/api/budgets?month=1&year=2026" \
-H "Authorization: Bearer YOUR_TOKEN"
status: "UNBUDGETED"