Skip to main content

Spending Plan

Spending Plan webhooks notify you when a spending_plan is created, updated, or deleted.

FieldData TypeDescription
created_atIntegerThe date and time the spending_plan was created, given in Unix epoch time.
current_iteration_numberIntegerThe current active associated spending_plan_iteration number for a given spending_plan.
guidStringThe unique identifier for the spending_plan. Defined by MX.
updated_atIntegerThe date and time the spending_plan was last updated, given in Unix epoch time.
user_guid StringThe unique identifier for the user to which the spending_plan belongs. Defined by MX.
user_id StringThe unique partner-defined identifier for the user associated with the spending_plan.

Example Payload

Example
Language:json

_11
{
_11
"action": "created",
_11
"spending_plan": {
_11
"created_at": 1687274271,
_11
"current_iteration_number": 1,
_11
"guid": "SPL-5af2c645-11ba-4435-8d5f-a1908c75d97d",
_11
"updated_at": 1687274271,
_11
"user_guid": "USR-c7981fb7-233a-466c-bffa-87c64654eae4",
_11
"user_id": "usr-1234-abcd"
_11
}
_11
}