XML-RPC API - Blocking and Unblocking Accounts

Blocking and Unblocking Accounts
S
Written by Sergiiy
Updated 11 months ago

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.
Did this answer your question?