GET
/
accounts
/
{id}
/
balances
curl --request GET \
  --url https://sandbox-api.billingrails.com/v1/accounts/{id}/balances \
  --header 'Authorization: Bearer <token>'
{
"account_id": "acc_IhMUl3rrZ3",
"balances": [
{
"type": "currency",
"currency": "USD",
"available": 5000
},
{
"type": "asset",
"currency": "TKN",
"available": 2
}
]
}

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

The account ID

Query Parameters

currency
string

Optional currency to filter balances

asset_code
string

Optional asset code to filter balances

Response

200
application/json

Balances retrieved successfully

The response is of type object.