Skip to navigation

Balance and status of the calling key

View as Markdown

Passes the same gate as every proxy — a missing or unknown key draws 401, an empty balance 402, a suspended account 403 — and is never debited or cached.

Authentication

AuthorizationBearer

Your per-client bearer token — the API key the gateway issued to you. Present it in Authorization: Bearer <token> form. A token that is missing, unknown, or revoked draws a 401. Before the call is sent upstream the token is removed (stripped, or swapped for the upstream’s own credential); it never makes it past the gateway.

Response

The account behind the bearer.
balanceMicrointeger

Micro-credits (1,000,000 µc = one credit = US$1).

balanceUsddouble
statusstring
trialStatestringOptional
Present only while the account is under trial probation.

Errors

401
Unauthorized Error
402
Payment Required Error
403
Forbidden Error