List billing terms
curl --request GET \
--url https://my.server.express/api/v1/cloud/cyclesconst options = {method: 'GET'};
fetch('https://my.server.express/api/v1/cloud/cycles', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://my.server.express/api/v1/cloud/cycles"
response = requests.get(url)
print(response.text){
"success": true,
"data": [
{
"cycle": "monthly",
"label": "Quarterly",
"months": 1,
"discountBps": 123
}
]
}Cloud
List billing terms
The billing terms a VDS can be bought on and the discount each one carries (in basis points). This is the same ladder checkout and invoices use. No authentication.
GET
/
v1
/
cloud
/
cycles
List billing terms
curl --request GET \
--url https://my.server.express/api/v1/cloud/cyclesconst options = {method: 'GET'};
fetch('https://my.server.express/api/v1/cloud/cycles', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://my.server.express/api/v1/cloud/cycles"
response = requests.get(url)
print(response.text){
"success": true,
"data": [
{
"cycle": "monthly",
"label": "Quarterly",
"months": 1,
"discountBps": 123
}
]
}