Request
curl
Authorization header. It
does not accept MPP payment authorization.
Response
1,000,000
microdollars. This avoids floating-point rounding in automated clients.
Top-level fields
Balance calculation
account_balance_micros_usd is the sum of the effective cash, Trial, promo, and
credit buckets. An expired Trial balance is excluded.
For a limited API key, available_balance_micros_usd is the lower of the
account balance and api_key.remaining_micros_usd. For an unlimited API key,
it equals the account balance. The available balance is clamped at zero when
the account or key balance is negative.
Expired Trial credit is not included in the effective balance.
Errors
401 Unauthorized— the API key is missing, invalid, revoked, or expired.403 Forbidden— the user is disabled or the key is not allowed from the requesting IP address.500 Internal Server Error— the balance snapshot could not be read.
error field: