GET
/
accounts
/
{account_id}
/
credit_balance
curl --request GET \
  --url https://api.togai.com/accounts/{account_id}/credit_balance \
  --header 'Authorization: Bearer <token>'
{
  "activeCredits": 1000,
  "availableBalance": 800,
  "runningBalance": 700,
  "inapplicableCredits": 100,
  "unit": "USD",
  "lastUpdatedAt": "2020-07-04T12:00:00.000Z"
}

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

account_id
string
required

account_id corresponding to an account

Response

200 - application/json
activeCredits
number
required
availableBalance
number
required
runningBalance
number
required
inapplicableCredits
number
required
unit
string
required
lastUpdatedAt
string
required