Get the team's discounts
/billing/discount
The team's discounts, the features taken out of its Pro, and what Pro costs next month after them.
Query Parameters
Response Body
18 properties
usage never covers calls through Truto's own Google and QuickBooks apps.
prousage
Pro: $249.50 a month until Mar 1, 2027, then $499oncerepeatingforever
expiredusedstaffreplaced
Null for a discount with no end (forever, or once until the charge that uses it).
For an offer that took features out of Pro: when they come back (full price means full Pro). The discount's end, or for a used once, the 1st after the month it paid; after that, when they came back. Null for any other discount, and while the end is not known (forever, once not used yet).
Startupsstaffcode
scheduledactiveended
3 properties
ssoCents the team's discounts took off so far.
What Pro costs next month after the discount; never below 0.
Pro's monthly list price on the team's plan.
Errors
| Status | Description |
|---|---|
403 | Forbidden if the caller is not an admin of the team |
curl -X GET 'https://api.truto.one/billing/discount' \
-H 'Authorization: Bearer <your_api_token>' \
-H 'Content-Type: application/json'const response = await fetch('https://api.truto.one/billing/discount', {
method: 'GET',
headers: {
'Authorization': 'Bearer <your_api_token>',
'Content-Type': 'application/json',
},
});
const data = await response.json();
console.log(data);import requests
url = "https://api.truto.one/billing/discount"
headers = {
"Authorization": "Bearer <your_api_token>",
"Content-Type": "application/json",
}
params = {
}
response = requests.get(url, headers=headers, params=params)
print(response.json())