Open vmj opened 4 years ago
There's a new API
GET /1.3/account/resource_billing_summary/RESOURCE_ID/YYYY-MM
where RESOURCE_ID can be a server or storage UUID or an IP address.
RESOURCE_ID
https://developers.upcloud.com/1.3/3-accounts/#get-monthly-resource-billing-summary
This issue is separate from #2 but the implied (new) Billing resource will be a mess.
Billing
This seems to be available in 1.2 API, too.
The response has the following structure:
That's ugly ☹️
There's a new API
GET /1.3/account/resource_billing_summary/RESOURCE_ID/YYYY-MM
where
RESOURCE_ID
can be a server or storage UUID or an IP address.https://developers.upcloud.com/1.3/3-accounts/#get-monthly-resource-billing-summary
This issue is separate from #2 but the implied (new)
Billing
resource will be a mess.