Skip to main content
Budget webhooks notify you when a budget is created, updated, or deleted in the MX system for any user on that partner’s client.
FieldData TypeDefinition
amountStringA budget amount set by the user for a category’s transaction total during a month.
category_guidStringThe unique identifier for the budget category. Defined by MX.
client_idStringThe unique partner-defined identifier for the client.
created_atIntegerThe date and time the budget was created.
guidStringThe unique identifier for the budget. Defined by MX.
is_exceededBooleanThis indicates whether the budget has been exceeded.
is_off_trackBooleanThis indicates whether the budget is off track.
metadataStringAdditional information a partner can store on the budget.
nameStringThe name of the budget.
parent_guidStringThe unique identifier for the parent budget. Defined by MX.
projected_spendingDecimalThe projected amount of spending for the budget.
revisionIntegerThe revision number for the budget.
transaction_totalDecimalThe cumulative amount of all transactions under the budget.
updated_atIntegerThe date and time the budget was updated.
user_guidStringThe unique partner-defined identifier for the user the budget is attached to. Defined by MX.
user_idStringThe unique partner-defined identifier for the user.
Example Payload
JSON
POST /admin/webhooks
HTTP/1.1
content-type: application/json; charset=utf-8
accept: application/json
User-Agent: HTTPClient/1.0 (2.7.1, ruby 2.2.2
(2015-09-02)) Date: Thu, 14 Apr 2016 04:26:04 GMT Content-Length: 231
Host: abc.com
{
  "action": "created",
  "budget": {
    "amount": 200,
    "category_guid": "CAT-7829f71c-2e8c-afa5-2f55-fa3634b89874",
    "client_id": "C-1234",
    "created_at": 1486158088,
    "guid": "BGT-bef4174f-cb78-2c12-2cbe-56dd55852198",
    "is_exceeded": false,
    "is_off_track": false,
    "metadata": null,
    "name": "Auto & Transport",
    "parent_guid": null,
    "projected_spending": "72.25428571428571",
    "revision": 4,
    "transaction_total": null,
    "updated_at": 1487166546,
    "user_guid": "USR-dfb1b536-692d-f172-88c6-643a2691b30c",
    "user_id": "0128372140"
  }
}