cURL
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" } ] }
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Basic <encoded-value>
<encoded-value>
username:password
Account ID
A map containing a list of average_balance elements
The response is of type object.
object