Balances

Query for bank account balances.

GET Balances

POST https://api.finqware.com/v1/balances/get

Get balances data related to a certain credentials_id.

Request Body

NameTypeDescription

client_id*

string

An identifier for your tenant app.

client_secret*

string

A tenant app secret.

credentials_id*

string

A pointer to a consent record created via an onboarding session.

access_token*

string

An authorization key for this particular consent record.

tenant_user_id*

string

A unique identifier for your end-user.

filter

object

A filter object. Criteria in the table below.

[
  {
    "account_id": "69a19df6-../-3bc1bddfd89a",
    "data": {
      // always a positive decimal number.
      // for overdraft/negative balances check the credit_debit_indicator.
      "amount": "210.23",

      // credit   -> positive or zero amount
      // debit    -> negative amount (overdraft)
      "credit_debit_indicator": "credit",

      "credit_limit_included": false,

      "credit_line": null,
      "currency": "RON",

      // `date` returned by the bank for certain balance types (eg: ClosingBooked)
      "native_date": "2018-03-30",
      
      // `date-time` for an intermediate balance (eg: InterimAvailable) 
      // note: potentially null
      "native_timestamp": "2021-10-14T09:00:00Z",
      
      "type": "Expected",
    },
    id: "6aac5b32-...-8f8c5f6c653d",

    // `data-time` when this balance was queried by the Finqware middleware
    timestamp: "2020-01-29T07:31:51.689168",
  },
];
Filter elementTypeInfo

account_id

string

finqware id for the bank account

type

string

The balance type

currency

string

The balance currency

// Filter example

"filter": {
  "type": "Expected",
  "currency": "RON"
}
Balance typeDescription

ClosingAvailable

Closing balance of amount of money that is at the disposal of the account owner on the date specified.

ClosingBooked

Balance of the account at the end of the pre-agreed account reporting period. It is the sum of the opening booked balance at the beginning of the period and all entries booked to the account during the pre-agreed account reporting period.

ClosingCleared

Closing balance of amount of money that is cleared on the date specified.

Expected

Balance, composed of booked entries and pending items known at the time of calculation, which projects the end of day balance if everything is booked on the account and no other entry is posted.

ForwardAvailable

Forward available balance of money that is at the disposal of the account owner on the date specified.

Information

Balance for informational purposes.

InterimAvailable

Available balance calculated in the course of the account servicer's business day, at the time specified, and subject to further changes during the business day. The interim balance is calculated on the basis of booked credit and debit items during the calculation time/period specified.

InterimBooked

Balance calculated in the course of the account servicer's business day, at the time specified, and subject to further changes during the business day. The interim balance is calculated on the basis of booked credit and debit items during the calculation time/period specified.

InterimCleared

Cleared balance calculated in the course of the account servicer's business day, at the time specified, and subject to further changes during the business day.

OpeningAvailable

Opening balance of amount of money that is at the disposal of the account owner on the date specified.

OpeningBooked

Book balance of the account at the beginning of the account reporting period. It always equals the closing book balance from the previous report.

OpeningCleared

Opening balance of amount of money that is cleared on the date specified.

PreviouslyClosedBooked

Balance of the account at the previously closed account reporting period. The opening booked balance for the new period has to be equal to this balance. Usage: the previously booked closing balance should equal (inclusive date) the booked closing balance of the date it references and equal the actual booked opening balance of the current

Last updated