CommandClass _REMCASH

Purpose:

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

Money removed with this function, the transaction is registered in accountant books on the “APIWEB” account name, transaction to that, from the targeted user account.

In the history of the targeted account will be shown as “Gastos desde API_WEB“.

This function is meant to process external usage of the account credit, and this way to remove credit from the end user account. IT IS NOT for a cashier/employee to remove credit remotely, for cashier side scripts there is or will be others functions.

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

Input parameters:

  • CommandClass = _REMCASH
  • Param1 = target CyberName.
  • Param2 = Session Token.
  • Param3 = API Password.
  • Param4 = Money ammount.

Output:

[{“ResponseClass”: “ERROR”, “Param1”: “message”, … }]
[{“ResponseClass”: “OK”,”Param1″:”New total ammount”}]

Example of usage:

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

The above example will remove 10 cents to the account if you know the correct API password to send.