Data v1.Transaction
ENTERPRISE
Link transactions
(DEPRECATED) Link two transactions, creating a transaction part for each transaction and netting out the amounts. The transactions are required to have different signs (i.e. one income and one expense). If the first transaction is -300 and the counterpart is 100, the common disposable amount is 100 and result of that is a dispensable amount of -200.
post/api/v1/transactions/{id}/link/{counterpartTransactionId}
Path parameters
idstring required
The ID of the first transaction to link.
counterpartTransactionIdstring required
The ID of the other transaction (the counterpart) to link.
Request body
Example request
{
"amount": -90
}Response
The transactions were successfully linked and returned.
Changes
No recorded changes to this endpoint across all 10 revisions of this API.