XML-RPC API - Updating Accounts

Updating Accounts
S
Written by Sergiiy
Updated 11 months ago

updateAccount()

This application is used to update an account. Only account that belongs to authenticated customer can be updated.

Implementation details:

  • Any parameter from createAccount() function can be used. All parameters are optional, but at least one should be specified.

Note: to change the balance of an account you have to use the Refunding an Account documentation

The applications support trusted mode and i_customer parameter should be supplied in this case.

Parameters:

  • i_account (integer) or account's account_name (string). Required

Returns:

  • result - OK means that account has been updated successfully. String.
  • XMLRPC fault in case of any error
Did this answer your question?