getBalance


SoftLayer_Account::getBalance

Description

The account balance of a SoftLayer customer account. An account’s balance is the amount of money owed to SoftLayer by the account holder, returned as a floating point number with two decimal places, measured in US Dollars ($USD). A negative account balance means the account holder has overpaid and is owed money by SoftLayer.

Parameters

None

Required Headers

Optional Headers

Return Values

  • decimal
curl -g -u $SL_USER:$SL_APIKEY -X GET \
'https://api.softlayer.com/rest/v3.1/SoftLayer_Account/{SoftLayer_AccountID}/getBalance'