Creates a budget with the given configuration, initial members, and owners. All top-level configuration fields are required — no silent defaults.
The reset cadence for the budget. JULY_FINANCIAL_YEAR resets on 1 July; APRIL_FINANCIAL_YEAR resets on 1 April.
When true, each member has its own reset_amount cap and the sum of member caps must equal the budget reset_amount. When false, members share the budget's pot.
When true, only the categories listed in categories are visible on the budget. When false, all business categories are visible.
- https://public.letsweel.comhttps://public.letsweel.com/v1/businesses/{client_id}/budgets
curl -i -X POST \
https://public.letsweel.com/v1/businesses/123/budgets \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"name": "Sales Team",
"reset_amount": 1000,
"reset_period": "MONTHLY",
"has_member_limits": false,
"rollover_funds": false,
"members": [
{
"user": {
"id": 12345
},
"invite": {
"id": "f4c1e25a-2a78-4f4f-9d3e-1c3a96cf21b1"
},
"reset_amount": 250
}
],
"owners": [
{
"user": {
"id": 12345
},
"invite": {
"id": "f4c1e25a-2a78-4f4f-9d3e-1c3a96cf21b1"
}
}
],
"limit_categories": false,
"categories": [
"497f6eca-6276-4993-bfeb-53cbbbba6f08"
],
"custom_fields": [
{
"id": "a2b1d8c0-9a4e-4b8a-bf24-90af44a98e2f",
"allow_options": [
"497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}
]
}'Created
The reset cadence for the budget. JULY_FINANCIAL_YEAR resets on 1 July; APRIL_FINANCIAL_YEAR resets on 1 April.
The start date of the current period in UTC.
The end date of the current period in UTC.
When true, unspent balance rolls over to the next period instead of resetting.
When true, only categories listed in categories are visible on the budget. When false, all enabled business categories are visible.
Categories currently visible on the budget. Returns an empty array when limit_categories is false (no restriction in force).
The date and time when the budget was created in UTC.
{ "id": "e33b7c61-5124-4ba0-b238-e4c573133715", "name": "Sales Team", "budget_type": "BUDGET", "available_amount": 800, "spent_amount": 200, "reset_amount": 1000, "reset_period": "MONTHLY", "current_period_start": "2024-01-01T00:00:00Z", "current_period_end": "2024-01-31T23:59:59Z", "has_member_limits": false, "rollover_funds": false, "limit_categories": false, "categories": [ { … } ], "custom_fields": [ { … } ], "is_deleted": false, "created": "2024-01-01T00:00:00Z", "updated": "2024-01-01T00:00:00Z" }