Get account details
curl -i -X GET -u username:password -H 'Accept: application/json' -H 'Content-type: application/json' --url 'https://cdnsun.com/api/account'
|balance||float||CDN credit balance (in USD).|
|traffic||float||CDN traffic (in bytes) since the last payment.|
|costs||float||CDN costs (in USD) since the last payment.|
|traffic_in_current_month||float||CDN traffic (in bytes) in the current month.|
|costs_in_current_month||float||CDN costs (in USD) in the current month.|
Account details are updated every hour.
Please note that this action is available only to paying customers, it is not available to free trial accounts.