Skip to main content
Use the Spending Plan endpoints to create your own version of our Spending Plan Widget, which helps end users track their spending throughout the month. To understand key terms and how to best use these endpoints, see Build Your Own Spending Plan UI.

Spending Plan Fields

These fields relate to the spending_plan object.
FieldData TypeDefinition
created_atLongThe date and time at which the spending_plan was created.
current_iteration_numberLongThe current active associated spending_plan_iteration number for a given spending_plan.
guidStringThe unique identifier for the spending_plan. Defined by MX.
updated_atLongThe date and time at which the spending_plan was most recently updated.
user_guidStringThe unique identifier for the user to which the spending_plan belongs. Defined by MX.
user_idStringThe unique partner-defined identifier for the user associated with the spending_plan.

Spending Plan Account Fields

These fields relate to the spending_plan_account object.
FieldData TypeDefinition
account_guidStringThe unique identifier for the account associated with the spending_plan_account. Defined by MX.
created_atLongThe date and time at which the spending_plan_account was created.
guidStringThe unique identifier for the spending_plan_account. Defined by MX.
spending_plan_guidStringThe unique identifier for the spending_plan associated with the spending_plan_account. Defined by MX.
updated_atLongThe date and time at which the spending_plan_account was most recently updated.
user_guidStringThe unique identifier for the user to which the spending_plan_account belongs. Defined by MX.

Spending Plan Iteration Fields

These fields relate to the iteration object.
FieldData TypeDefinition
created_atLongThe date and time at which the spending_plan_iteration was created.
end_onLongThe date on which the spending plan iteration ends.
guidStringThe unique identifier for the spending_plan_account. Defined by MX.
iteration_numberLongThe current iteration number for the spending plan iteration.
spending_plan_guidStringThe unique identifier for the spending_plan associated with the spending_plan_account. Defined by MX.
start_onLongThe date on which the spending plan iteration starts.
updated_atLongThe date and time at which the spending_plan_account was most recently updated.
user_guidStringThe unique identifier for the user to which the spending_plan_account belongs. Defined by MX.
user_idStringThe unique partner-defined identifier for the user associated with the spending plan iteration.

Spending Plan Iteration Item Fields

These fields relate to the iteration_item object.
FieldData TypeDefinition
actual_amountDoubleThe sum of the transactions associated with the spending plan iteration_item.
category_guidStringThe unique identifier for the category_guid associated with the spending plan iteration_item. Defined by MX.
created_atLongThe date and time at which the spending plan iteration_item was created.
guidStringThe unique identifier for the spending plan iteration_item. Defined by MX.
item_typeStringThe type of transaction grouping for the spending plan iteration_item. 0 = RECURRING_EXPENSE, 1 = PLANNED_EXPENSE, 2 = OTHER_EXPENSE, 3 = INCOME.
planned_amountDoubleThe total amount planned for a spending plan iteration_item.
scheduled_payment_guidStringThe unique identifier for the scheduled_payment_guid associated with the spending plan iteration_item. Defined by MX.
spending_plan_iteration_guidStringThe unique identifier for the spending plan iteration_item. Defined by MX.
top_level_category_guidStringThe unique identifier for the top_level_category_guid associated with the spending plan iteration_item. Defined by MX.
transaction_guidsArray[String]An array of transaction GUIDs that are relevant to the spending plan iteration_item. Defined by MX.
updated_atLongThe date and time at which the spending plan iteration_item was most recently updated.
user_guidStringThe unique identifier for the user to which the spending plan iteration_item belongs. Defined by MX.
user_idStringThe unique partner-defined identifier for the user associated with the spending plan iteration_item.