Skip to main content
GET
Get balance and top-up terms

Authorizations

x-api-key
string
header
required

An API key (chance_sk_live_…) from https://harness.chance.cc/keys.

Response

Balance and terms.

creditsRemaining
integer
Example:

42

priceUsdPerCredit
number
Example:

0.05

topup
object