XML-RPC API - Blocking and Unblocking Accounts

Implementation details

This application supports trusted mode in which case i_customer (integer) parameter should be supplied.


blockAccount()

This application is used to block an account.

Parameters:

  • i_account - Integer. Required.

Returns:

  • result - OK means that account has been successfully blocked. String.
  • XMLRPC fault in case of any error.

unblockAccount()

This application is used to unblock an account.

Parameters:

  • i_account - Integer. Required.

Returns:

  • result - OK means that account has been successfully unblocked. String.
  • XMLRPC fault in case of any error.