Skip to main content

Balance types

account/data/accountBalances[]/type Yapily has a defined set of Balance Types and those reported for an account will depend on the information shared by the ASPSP. Each Balance Type has a specific purpose:

Main balance

account/data/balance We recommend the use of the typed balances (accountBalances[]) wherever possible and according to your business needs. However, the Yapily account resource also includes a ‘main balance’ (balance) which may be used as a fallback. After forming the set of Yapily Balance Types, one of the balances will additionally be mapped to this ‘main balance’ according to a pre-defined priority (where the first balance that is available from the ASPSP is mapped).

Standard mapping (in priority order)

  • INTERIM_BOOKED
  • OPENING_BOOKED
  • CLOSING_BOOKED
  • EXPECTED
  • INTERIM_AVAILABLE
  • OPENING_AVAILABLE
  • CLOSING_AVAILABLE
  • FORWARD_AVAILABLE
  • PREVIOUSLY_CLOSED_BOOKED
  • INTERIM_CLEARED
  • OPENING_CLEARED
  • CLOSING_CLEARED
  • INFORMATION
  • AUTHORISED
  • OTHER
  • UNKNOWN

Santander

  • INTERIM_AVAILABLE
  • INTERIM_CLEARED
  • INTERIM_BOOKED
  • OPENING_AVAILABLE
  • OPENING_CLEARED
  • OPENING_BOOKED
  • FORWARD_AVAILABLE
  • EXPECTED INFORMATION
  • PREVIOUSLY_CLOSED_BOOKED
  • CLOSING_AVAILABLE
  • CLOSING_CLEARED
  • CLOSING_BOOKED

Halifax

  • INTERIM_BOOKED
  • INTERIM_AVAILABLE
  • INTERIM_CLEARED
  • OPENING_BOOKED
  • OPENING_AVAILABLE
  • OPENING_CLEARED
  • FORWARD_AVAILABLE
  • EXPECTED
  • INFORMATION
  • PREVIOUSLY_CLOSED_BOOKED
  • CLOSING_BOOKED
  • CLOSING_AVAILABLE
  • CLOSING_CLEARED

Balance signing

account/data/balance account/data/accountBalances[]/balanceAmount/amount Balance amounts are signed according to whether the associated balance is positive or negative:
  • Where a positive number indicates that the customer is holding funds / has funds available to them
  • Where negative number indicates that the customer owes funds to the bank
This is true for all product types, including Credit Card accounts.

For Credit Cards:

  • A positive balance indicates that the customer has credit available to them
  • A negative balance indicates funds that the customer owes
And as such:
  • The available balances (e.g. INTERIM_AVAILABLE) are the funds available to the customer, including the credit made available to them
    • This is expected to always be a positive amount, unless the customer has exceeded the credit made available to them
  • The booked balances (e.g. INTERIM_BOOKED) reflect the ‘actual’ balance of the account - i.e. credit funds used minus repayments made.
    • A negative balance reflects that the customer owes funds (i.e. they have used credit that is yet to be repaid)
    • A positive balance reflects that the bank is holding funds owed to the customer
For example
  • An INTERIM_AVAILABLE balance of 1000 indicates that a customer has 1000 credit available to them
  • An INTERIM_AVAILABLE balance of -1000 indicates that the customer has exceeded their available credit by 1000
  • An INTERIM_BOOKED of -1000 indicates that a customer used 1000 of their credit (and owes this to the bank)