-
Notifications
You must be signed in to change notification settings - Fork 3
Account module
Miky edited this page Sep 10, 2015
·
2 revisions
The Account module gives access to information related to the account using the API.
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.
Returns information from the account currently accessing the API.
DonDominioResponse account_info ()None
| 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 |