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 | |
ERR_OPERATION_NOT_ALLOWED_IN_SLAVE_MODE | |
ERR_INVALID_TRANSFER_ID |