Skip to content
Miky edited this page Sep 10, 2015 · 2 revisions

The Account module gives access to information related to the account using the API.

Accessing the module

All the methods from this module are prefixed with account_. For example:

$dondominio = new DonDominio(array(
	'apiuser' => '00000-XXX',
	'apipasswd' => 'XXXXXXXXXXXX'
));

$accountInfo = $dondominio->account_info();

All methods will return a DonDominioResponse object containing the data -or any errors- returned by the API call.

Available methods

account_info()

Returns information from the account currently accessing the API.

Call
DonDominioResponse account_info ()
Parameters

None

Response
Field Type Description
ClientName string Account holder's name
apiuser string API username
balance float Available balance in the account
threshold float Warning threshold for balance
currency string Balance currency
ip string Current IP address from the API client

Clone this wiki locally