GET api/Lean/GetBankAccountBalance?bankEntityID={bankEntityID}&accountID={accountID}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
bankEntityID

string

Required

accountID

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of BalanceInfo
NameDescriptionTypeAdditional information
balance

decimal number

None.

currency_code

string

None.

account_id

string

None.

account_name

string

None.

account_type

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "balance": 1.1,
    "currency_code": "sample string 2",
    "account_id": "sample string 3",
    "account_name": "sample string 4",
    "account_type": "sample string 5"
  },
  {
    "balance": 1.1,
    "currency_code": "sample string 2",
    "account_id": "sample string 3",
    "account_name": "sample string 4",
    "account_type": "sample string 5"
  }
]

application/xml, text/xml

Sample:
<ArrayOfBalanceInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bankiom.Integrations.Lean">
  <BalanceInfo>
    <account_id>sample string 3</account_id>
    <account_name>sample string 4</account_name>
    <account_type>sample string 5</account_type>
    <balance>1.1</balance>
    <currency_code>sample string 2</currency_code>
  </BalanceInfo>
  <BalanceInfo>
    <account_id>sample string 3</account_id>
    <account_name>sample string 4</account_name>
    <account_type>sample string 5</account_type>
    <balance>1.1</balance>
    <currency_code>sample string 2</currency_code>
  </BalanceInfo>
</ArrayOfBalanceInfo>