Skip to main content
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
JSON
{
  "action": "created",
  "spending_plan": {
    "created_at": 1687274271,
    "current_iteration_number": 1,
    "guid": "SPL-5af2c645-11ba-4435-8d5f-a1908c75d97d",
    "updated_at": 1687274271,
    "user_guid": "USR-c7981fb7-233a-466c-bffa-87c64654eae4",
    "user_id": "usr-1234-abcd"
  }
}