Get Average Balance - Async Response

{
   "status": 200,
   "data":{
      "message": "We are able to fetch data",
      "method":"GET",
      "api":"/v2/data/avg-balance”,   
      "job_id": "KVWJUrwQ78333309",  
      "count": {{number of objects in avg-balance}},
      "balances":[
         {
            "institution_id": 5,
            "account_id": "OrUIr5KQnhJFoHxOMPxUlw==",
            "beginning_balance": 1000,
            "avg_balance": 6935.48,
            "ending_balance": 0,
            "month": "01",
            "year": "2021"
         },
         {
            "institution_id": 5,
            "account_id": "OrUIr5KQnhJFoHxOMPxUlw==",
            "beginning_balance": 0,
            "avg_balance": 41607.14,
            "ending_balance": 35000,
            "month": "02",
            "year": "2021"
         }
      ]
   },
   "metadata":{
      "entity": "Insight",
      "source": {{API/Widget/Dashboard/SDK/Portal}}
   },
   "error":null
}

Response Parameters

Key Parameters

Data Type

Description

balances-institution_id

Integer

Unique Identification number of the institution

balances-account_id

String

End-user account number that is used to do the transaction

balances-beginning_balance

Float

Starting balance for month

balances-avg_balance

Float

Average balance for month

balances-ending_balance

Float

Ending balance of month

balances-month

Float

Month for which data is given

balances-year

Float

Month for which data is given