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.

2 Replies

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!

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct