GET
/
account
/
{id}
/
average_balance
curl --request GET \
  --url https://api.treasuryprime.com/account/{id}/average_balance \
  --header 'Authorization: Basic <encoded-value>'
{
  "data": [
    {
      "average_balance": "253361.00",
      "month": "2024-05"
    },
    {
      "average_balance": "255281.00",
      "month": "2024-04"
    }
  ]
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Path Parameters

id
string
required

Account ID

Response

200 - application/json
A list of account.average_balance elements

The response is of type any.