Get account details

URL

https://cdnsun.com/api/account

Method

GET

Curl example

curl -i -X GET -u username:password -H 'Accept: application/json' -H 'Content-type: application/json' --url 'https://cdnsun.com/api/account'

Options

OptionData TypeDescription
balancefloatCDN credit balance (in USD).
trafficfloatCDN traffic (in bytes) since the last payment.
costsfloatCDN costs (in USD) since the last payment.
traffic_in_current_monthfloatCDN traffic (in bytes) in the current month.
costs_in_current_monthfloatCDN costs (in USD) in the current month.

Note

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.

Contact Us

 ______    __   __   _____    
|      \\  \ \\/ // |  __ \\  
|  --  //   \ ` //  | |  \ || 
|  --  \\    | ||   | |__/ || 
|______//    |_||   |_____//  
`------`     `-`'    -----`