Account
Get account balance
GET https://www.allnodes.com/api/v1/account/balance
This endpoint returns the total and currently available account balances in USD.
The available balance excludes funds reserved for upcoming charges.
Headers
Name
Type
Description
Authorization*
string
Bearer TOKEN
{
totalBalance: number;
availableBalance: number;
balanceRunsOutAt: string | null;
}Get all invoices
GET https://www.allnodes.com/api/v1/account/invoices
This endpoint returns all invoices issued for your account.
Invoices are returned from newest to oldest. The invoice amount is represented as a positive USD value.
Headers
Name
Type
Description
Authorization*
string
Bearer TOKEN
Get an invoice as CSV
GET https://www.allnodes.com/api/v1/account/invoices/:id/csv
This endpoint returns the specified invoice in CSV format.
Path Parameters
Name
Type
Description
id*
number
Invoice ID returned by the "Get all invoices" endpoint
Headers
Name
Type
Description
Authorization*
string
Bearer TOKEN
Last updated