curl -X GET "https://api.homeaccount.com/budget?account_id=123e4567-e89b-12d3-a456-426614174000" \
-H "Authorization: Bearer YOUR_TOKEN"
{
"success": true,
"data": [
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"account_id": "123e4567-e89b-12d3-a456-426614174000",
"category_id": "987fcdeb-51a2-43d7-9f12-345678901234",
"amount": 50000,
"period": "monthly",
"alert_threshold": 85,
"created_at": "2026-03-05T10:30:00.000Z",
"updated_at": "2026-03-05T10:30:00.000Z"
},
{
"id": "660e9511-f39c-52e5-b827-557766551111",
"account_id": "123e4567-e89b-12d3-a456-426614174000",
"category_id": "abc12345-67de-89fg-01hi-234567890jkl",
"amount": 100000,
"period": "weekly",
"alert_threshold": 80,
"created_at": "2026-03-01T08:15:00.000Z",
"updated_at": "2026-03-01T08:15:00.000Z"
}
]
}
Get all budgets for an account
curl -X GET "https://api.homeaccount.com/budget?account_id=123e4567-e89b-12d3-a456-426614174000" \
-H "Authorization: Bearer YOUR_TOKEN"
{
"success": true,
"data": [
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"account_id": "123e4567-e89b-12d3-a456-426614174000",
"category_id": "987fcdeb-51a2-43d7-9f12-345678901234",
"amount": 50000,
"period": "monthly",
"alert_threshold": 85,
"created_at": "2026-03-05T10:30:00.000Z",
"updated_at": "2026-03-05T10:30:00.000Z"
},
{
"id": "660e9511-f39c-52e5-b827-557766551111",
"account_id": "123e4567-e89b-12d3-a456-426614174000",
"category_id": "abc12345-67de-89fg-01hi-234567890jkl",
"amount": 100000,
"period": "weekly",
"alert_threshold": 80,
"created_at": "2026-03-01T08:15:00.000Z",
"updated_at": "2026-03-01T08:15:00.000Z"
}
]
}
Show Budget object
weekly, monthly, or yearlycurl -X GET "https://api.homeaccount.com/budget?account_id=123e4567-e89b-12d3-a456-426614174000" \
-H "Authorization: Bearer YOUR_TOKEN"
{
"success": true,
"data": [
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"account_id": "123e4567-e89b-12d3-a456-426614174000",
"category_id": "987fcdeb-51a2-43d7-9f12-345678901234",
"amount": 50000,
"period": "monthly",
"alert_threshold": 85,
"created_at": "2026-03-05T10:30:00.000Z",
"updated_at": "2026-03-05T10:30:00.000Z"
},
{
"id": "660e9511-f39c-52e5-b827-557766551111",
"account_id": "123e4567-e89b-12d3-a456-426614174000",
"category_id": "abc12345-67de-89fg-01hi-234567890jkl",
"amount": 100000,
"period": "weekly",
"alert_threshold": 80,
"created_at": "2026-03-01T08:15:00.000Z",
"updated_at": "2026-03-01T08:15:00.000Z"
}
]
}
400 - Missing or invalid account_id parameter401 - Missing or invalid authentication token500 - Internal server error