endpoint for accrued costs in current month
I was wondering if the API offered an endpoint that could be used to query the accrued costs for the current month. I saw the invoices endpoints, but those seem to only contain information about past months, as far as I could tell.
You should be able to view your current month's charges using the "Account View" endpoint:
curl -H "Authorization: Bearer $TOKEN" \ https://api.linode.com/v4/account
Using the CLI, this should display your current active balance in one column, and your uninvoiced balance (scheduled due) in another column:
linode-cli account view
Hope that helps!