Get Balance history of the financial account at period

Get Balance History

Returns an array of dated balance snapshots for a given financial account over a specified time period. This endpoint is useful for generating account statements, auditing balance trends, and powering reporting dashboards. Each entry in the response pairs a timestamp with the account balance recorded at that point in time.

Endpoint

GET /Report/balance

Authentication

Bearer token required. Obtain via:

POST https://api.banking.netevia.dev/api/auth/v2

Include in header: Authorization: Bearer {token}
Token lifetime: 10 minutes. Refresh via POST /api/auth/refresh.

When to use

Use this endpoint when you need to audit historical balance changes for a specific financial account over a defined period. It is commonly used to build balance trend charts, generate periodic account statements, or verify that scheduled transfers and transactions have resulted in expected balance movements.

Query Parameters

ParameterTypeRequiredDescription
periodstring (date-time)NoThe point in time (ISO 8601 date-time) up to which balance history is retrieved.
profileIdinteger (int32)NoThe unique identifier of the customer profile whose account balance history is being requested.
financialAccountIdstringNoThe unique identifier of the financial account for which balance history is retrieved.

Response

200 OK

Returns an array of datebalance objects, each representing a balance snapshot at a specific date and time.

FieldTypeDescription
datestring (date-time)The date and time at which the balance snapshot was recorded, in ISO 8601 format.
balanceinteger (int64)The account balance at the recorded date, expressed in the smallest currency unit (e.g., cents).
[
  {
    "date": "2024-01-01T00:00:00Z",
    "balance": 150000
  },
  {
    "date": "2024-01-15T00:00:00Z",
    "balance": 143500
  },
  {
    "date": "2024-02-01T00:00:00Z",
    "balance": 162000
  }
]

Error Codes

CodeWhen it happens
400Missing required fields or validation error
401Token missing, expired, or invalid
403Insufficient permissions
404Resource not found
500Internal server error

Common Mistakes

  • Providing a period value that is not a valid ISO 8601 date-time string, which will result in a 400 validation error.
  • Omitting financialAccountId when querying a profile that has multiple financial accounts, which may return balance history across unintended accounts or an empty result.
  • Using a profileId that does not belong to the authenticated partner, which will result in a 403 forbidden error.
  • Forgetting that balance values are expressed in the smallest currency unit (cents), so a value of 150000 represents $1,500.00.

Related Endpoints

  • GET /Report/transactions — Retrieve transaction history for a financial account over a specified period.
  • GET /Report/statement — Generate a formal account statement for a given financial account and date range.

Example

curl -X GET "https://api.banking.netevia.dev/Report/balance?period=2024-02-01T00%3A00%3A00Z&profileId=98765&financialAccountId=XXXXXXXXXX" \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -H "Content-Type: application/json"
Query Params
date-time
int32
string
Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Response

Language
Credentials
Bearer
JWT
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
text/plain
application/json
text/json