agent:balance

Obtaining your account balance

Depending on the actions you perform with your API account a fee will be debited from your credit account. With the following request you can obtain the balance of your account.

XML Template
<?xml version="1.0" encoding="UTF-8"?>
<request xmlns:agent="http://www.eurodns.com/agent">
    <agent:balance/>
</request>

<agent:balance> (Occurences: 1)

Returned XML Code if the action was successful
<?xml version="1.0" encoding="UTF-8"?>
<response xmlns:agent="http://www.eurodns.com/agent">
    <result code="1000">
        <msg>Command completed successfully</msg>
    </result>
    <resData>
        <agent:balance currency="#CURRENCY#">#AMOUNT#</agent:balance>
    </resData>
</response>

<agent:balance> (Occurences: 1)
#CURRENCY# The currency of the returned amount
#AMOUNT# The balance of the account