Create split transactions
Changed onThis endpoint creates two or more child transactions that are branched from a previous transaction. This endpoint allows you to link multiple categories, descriptions, and amounts to a parent transaction. When a split transaction is created, the parent transaction's has_been_split field will automatically be updated to true and the child transactions' parent_guid will have the transaction guid of the parent. The total amount of the child transactions must equal the amount of the parent transaction. Once a transaction has been split it can't be split again. In order to re-split a transaction, it must first be un-split. This can be done by calling the Delete Split Transactions endpoint. Calling this endpoint will delete the existing child transactions and update the parent transaction's has_been_split field to false. You can then re-split the parent transaction by calling Create Split Transaction again.
Request
- Base URLhttps://int-api.mx.com
- URLhttps://int-api.mx.com/users/{user_guid}/transactions/{transaction_guid}/split
- AuthHTTP basic
Request body
Example request
{
"transactions": {
"amount": 54.19,
"description": "Chevron Gas",
"category_guid": "CAT-b6d61a19-30a7-e852-2703-bdfb4072289e",
"memo": "Chips and Soda"
}
}Response
OK
Changes
- warning
deleted the
pathrequest parametertransaction_guid - warning
deleted the
pathrequest parameteruser_guid - info
api operation id
createSplitTransactionswas added - info
api tag
transactionsadded - info
api tag
mx_platformremoved - info
added the optional property
//to the response with the status
- warning
- info
the
/request property type was generalized fromintegertonumber
- info