API documentation

Billing Overview

Obtain a summary of your billing information that includes your number of SSL certificates, yearly SSL fee, estimated bandwidth usage, estimated lifespan of your credit, credit expiration and remaining credit.

Details

GET
https://api.cdn77.com/v2.0/billing-overview/details
Object in standard response: billingOverview

Parameters

Parameter Example Description
Parameter: login string* Example: info@domain.com Your login (email) to CDN77 control panel
Parameter: passwd string* Example: 8vL4BpXbRqgPTKA0h Your API password.
* Parameter required.

Return Values

Return Value Description
credit_available Available only for accounts that have already been billed. Currency is in USD.
credit_expiration Available only for accounts that have already been billed. Format is in 'YYYY-MM-DD'.
credit_estimated_lifespan Available only for accounts that have already billed. e.g. "1 year".
cdn_estimated_usage Estimated monthly usage in USD.
ssl_yearly_price Yearly price for a custom domain SSL certificates in USD.
ssl_amount Number of custom domain SSL certificates.

Examples

                                
                                                                            
# GET request
curl "https://api.cdn77.com/v2.0/billing-overview/details?login=name@domain.com&passwd=your_api_password" # response {"status": "ok", "description": "Request was successful.", "billingOverview": {"credit_available": 50.87, "credit_expiration": "2015-04-22", "credit_estimated_lifespan": "1 year", "cdn_estimated_usage": 0, "ssl_yearly_price": 3, "ssl_amount": 4}}