The PUT /finance/encumbrances/<id> endpoint is being replaced by two more specific endpoints; one for moving money from encumbered -> awaitingPayment and another for releasing encumbrances. This story covers the former.
Get the transaction (encumbrance) from storage
Update the encumbered / awaiting payment amounts,
Call PUT in the storage module
Details can be found on the wiki:
- API defined and implemented (RAML/ModuleDescriptor/code)
- Unit tests are updated
- API tests are updated