Operation sendMoneyToTreasuryRequest begins a transfer of money to the treasury (of a trusted user). Treasury must be set for the current account (for example with setTreasury) and the amount must exceed the minimum amount from setTreasuryParameters.

Request parameters:

parameter type description
cashierName string loginname of cashier
uniqueTransferId string transfer id


Response parameters:

name type description
taskId string id of created task
requestStatus string result of request
requestStatusDescription string status description


Possible errors:

error description
ERR_OPERATION_NOT_ALLOWED_IN_NORMAL_MODE operation is not allowed when vui is in normal mode. WUI must be in master mode
ERR_OPERATION_NOT_ALLOWED_IN_SLAVE_MODE operation is not allowed when in slave mode. WUI must be in normal or master mode
ERR_INVALID_TRANSFER_ID invalid transfer id
Was this article helpful to you? Yes 1 No

How can we help?