Create a budget. This endpoint accepts the optional MX-Skip-Webhook header and skip_webhook parameter. You cannot create a duplicate budget. For example, if you attempt to create a budget for “Gas”, but that budget already exist, the request will fail. You can retrieve a list of all existing categories by using the List Categories endpoint.
When true, the request does not trigger a webhook.
Accept-Version
string
default:v20260929
required
MX Platform API version.
Example:
"v20260929"
Path Parameters
user_guid
string
required
The unique identifier for a user, beginning with the prefix USR-.
Body
application/json
budget
object
required
Hide child attributes
budget.category_guid
string
required
The unique identifier for the category.
Example:
"CAT-de7c2dc7-90e6-85a2-6509-5ec10942e887"
budget.parent_guid
string
The unique identifier of the budget for the parent category. Required when category_guid is a sub-category, and must reference an existing budget; omit it for a top-level category.
Example:
"BGT-6be44a91-e105-f68a-4770-8c7c0a5c9778"
budget.amount
integer
Amount of the budget.
Example:
1000
budget.metadata
string
Additional information you can store on the budget.
Example:
"Additional information"
budget.skip_webhook
boolean
When set to true, this parameter will prevent a webhook from being triggered by the request.
Example:
true
Response
200 - application/json
OK
budget
object
required
Hide child attributes
budget.amount
number
required
A goal amount set by the user for a category's transaction total during a month.
Example:
153
budget.category_guid
string
required
The unique identifier for the category. Defined by MX.
Example:
"CAT-bd56d35a-a9a7-6e10-66c1-5b9cc1b6c81a"
budget.created_at
string
required
The date and time the budget was created, represented in ISO 8601 format with a timestamp.
Example:
"2025-02-13T18:08:00+00:00"
budget.guid
string
required
Unique identifier for the budget. Defined by MX.
Example:
"BGT-6ca0e3ef-c65e-4655-8b5a-275a3c19c21d"
budget.is_exceeded
boolean
required
If the budget has been exceeded, this field will be true. Otherwise, this field will be false.
Example:
true
budget.is_off_track
boolean
required
If the budget is off track, this field will be true. Otherwise, this field will be false.
Example:
true
budget.metadata
string | null
required
Additional information you stored about the budget.
Example:
"some metadata"
budget.name
string | null
required
The name of the budget that is visible to the user (ie "Food", "Bills", "Entertainment", etc).
Example:
"Food & Dining"
budget.parent_guid
string | null
required
Unique identifier for the parent budget. Defined by MX.
budget.percent_spent
number | null
required
The percentage of a budget that has been spent during the current calendar month Calculated as the transaction total divided by the amount and then multiplied by 100.A value of zero will be returned when amount is zero.
Example:
1276.34
budget.projected_spending
number
required
The projected amount of spending for the budget.
Example:
3562.4
budget.revision
integer
required
The revision number of this budget record.
Example:
561
budget.transaction_total
number | null
required
The cumulative amount of all transactions under the budget.
Example:
1952.8
budget.updated_at
string | null
required
Date and time the budget was updated, represented in ISO 8601 format with timestamp.