Get current account balance
Money
Get current account balance
Retrieves the current account balance.
GET
Get current account balance
Authorizations
Create an API token using sf tokens create or at https://sfcompute.com/account/api-keys.
Response
Successfully retrieved balance
Response body for getting account balance from the credit ledger.
Available options:
balances Example:
"balances"
Available balance in cents: sum(credit) - sum(debit) - sum(committed holds)
Required range:
x >= 0Example:
150000
Reserved balance in cents: sum(credit) - sum(debit)
Required range:
x >= 0Example:
180000
Total spend that hasn't been paid for yet, in cents.
Required range:
x >= 0Example:
0
The maximum amount of overages the account can incur before they are blocked from buying compute.
Required range:
x >= 0Example:
0
When the balance was last updated as a unix timestamp
Example:
1640995200