API documentation

Billing Country

View countries available to be set in the billing section.

List

GET
https://api.cdn77.com/v2.0/billing-country/list
Object in standard response: billingCountries

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
id Billing country Id.
name Billing country name.

Examples

                                
                                                                            
# GET request
curl "https://api.cdn77.com/v2.0/billing-country/list?login=name@domain.com&passwd=your_api_password" # response {"status": "ok", "description": "Request was successful.", "billingCountries": [{"id": 1, "name": "Afghanistan"}, {"id": 2, "name": "Albania"}, {"id": 3, "name": "Algeria"}, {"id": 4, "name": "American Samoa"}, {"id": 5, "name": "Andorra"}, {"id": 6, "name": "Angola"},{"id": 7, "name": "Anguilla"}, {"id": 8, "name": "Antarctica"}, {"id": 9, "name": "Antigua and Barbuda"}, {"id": 10, "name": "Argentina"}, {"id": 11, "name": "Armenia"}, {"id": 12, "name": "Aruba"}, {"id": 13, "name": "Australia"}, {"id": 14, "name": "Austria"}, {"id": 15, "name": "Azerbaijan"}, {"id": 16, "name": "Bahamas"}, {"id": 17, "name": "Bahrain"}, {"id": 18, "name": "Bangladesh"}, {"id": 19, "name": "Barbados"}, {"id": 20, "name": "Belarus"}, {"id": 21, "name": "Belgium"}, ... ]}