CommandClass _ADDCASHASCASHIER

Purpose:

It allow to deposit money into a account, for using this command must be a cashier. It is the equivalent to do it in the cashier console.

If the target server is in clan, it will impact the clan, as it will order an resynchronization prior to add the cash, if the account is in use in other server, it can deny the access to the account, an error will pop.

The transaction is registered in the cashier history as using the normal the cashier console.

Minimum version for the target server required: v17.3.3.

Input parameters:

  • CommandClass =_ADDCASHASCASHIER
  • Param1 = target CyberName.
  • Param2 = Session Token.
  • Param3 = AccountName.
  • Param4 = Money ammount.

Output:

[{“ResponseClass”: “ERROR”, “Param1”: “message”, … }]
[{“ResponseClass”: “OK”,”Param1″:”New total ammount in the targeted account”,”Param2″:”Is an anonymous created category account?”,”Param3″:”TargetedAccountName”}]

Example of usage:

https://wingamer.ar/ApiMasterControl/Comm.php?CommandClass=_ADDCASHASCASHIER&Param1=flulpycrea&Param2=SessionToken&Param3=Juan&Param4=0%2E10

The above example will add 10 cents to the account “Juan” if you are correcly log in and has cashier privileges.