GET api/Lean/GetUserConnectedBankAccounts?bankEntityID={bankEntityID}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
bankEntityID

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of AccountInfo
NameDescriptionTypeAdditional information
status

string

None.

payload

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "status": "sample string 1",
    "payload": {
      "accounts": [
        {
          "account_id": "sample string 1",
          "name": "sample string 2",
          "currency_code": "sample string 3",
          "type": "sample string 4",
          "iban": "sample string 5",
          "account_number": "sample string 6",
          "credit": {
            "card_number_last_four": 1,
            "limit": 2,
            "next_payment_due_date": "sample string 3",
            "next_payment_due_amount": 4.1
          }
        },
        {
          "account_id": "sample string 1",
          "name": "sample string 2",
          "currency_code": "sample string 3",
          "type": "sample string 4",
          "iban": "sample string 5",
          "account_number": "sample string 6",
          "credit": {
            "card_number_last_four": 1,
            "limit": 2,
            "next_payment_due_date": "sample string 3",
            "next_payment_due_amount": 4.1
          }
        }
      ]
    }
  },
  {
    "status": "sample string 1",
    "payload": {
      "accounts": [
        {
          "account_id": "sample string 1",
          "name": "sample string 2",
          "currency_code": "sample string 3",
          "type": "sample string 4",
          "iban": "sample string 5",
          "account_number": "sample string 6",
          "credit": {
            "card_number_last_four": 1,
            "limit": 2,
            "next_payment_due_date": "sample string 3",
            "next_payment_due_amount": 4.1
          }
        },
        {
          "account_id": "sample string 1",
          "name": "sample string 2",
          "currency_code": "sample string 3",
          "type": "sample string 4",
          "iban": "sample string 5",
          "account_number": "sample string 6",
          "credit": {
            "card_number_last_four": 1,
            "limit": 2,
            "next_payment_due_date": "sample string 3",
            "next_payment_due_amount": 4.1
          }
        }
      ]
    }
  }
]

application/xml, text/xml

Sample:
<ArrayOfAccountInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bankiom.Integrations.Lean">
  <AccountInfo>
    <payload>
      <accounts>
        <Account>
          <account_id>sample string 1</account_id>
          <account_number>sample string 6</account_number>
          <credit>
            <card_number_last_four>1</card_number_last_four>
            <limit>2</limit>
            <next_payment_due_amount>4.1</next_payment_due_amount>
            <next_payment_due_date>sample string 3</next_payment_due_date>
          </credit>
          <currency_code>sample string 3</currency_code>
          <iban>sample string 5</iban>
          <name>sample string 2</name>
          <type>sample string 4</type>
        </Account>
        <Account>
          <account_id>sample string 1</account_id>
          <account_number>sample string 6</account_number>
          <credit>
            <card_number_last_four>1</card_number_last_four>
            <limit>2</limit>
            <next_payment_due_amount>4.1</next_payment_due_amount>
            <next_payment_due_date>sample string 3</next_payment_due_date>
          </credit>
          <currency_code>sample string 3</currency_code>
          <iban>sample string 5</iban>
          <name>sample string 2</name>
          <type>sample string 4</type>
        </Account>
      </accounts>
    </payload>
    <status>sample string 1</status>
  </AccountInfo>
  <AccountInfo>
    <payload>
      <accounts>
        <Account>
          <account_id>sample string 1</account_id>
          <account_number>sample string 6</account_number>
          <credit>
            <card_number_last_four>1</card_number_last_four>
            <limit>2</limit>
            <next_payment_due_amount>4.1</next_payment_due_amount>
            <next_payment_due_date>sample string 3</next_payment_due_date>
          </credit>
          <currency_code>sample string 3</currency_code>
          <iban>sample string 5</iban>
          <name>sample string 2</name>
          <type>sample string 4</type>
        </Account>
        <Account>
          <account_id>sample string 1</account_id>
          <account_number>sample string 6</account_number>
          <credit>
            <card_number_last_four>1</card_number_last_four>
            <limit>2</limit>
            <next_payment_due_amount>4.1</next_payment_due_amount>
            <next_payment_due_date>sample string 3</next_payment_due_date>
          </credit>
          <currency_code>sample string 3</currency_code>
          <iban>sample string 5</iban>
          <name>sample string 2</name>
          <type>sample string 4</type>
        </Account>
      </accounts>
    </payload>
    <status>sample string 1</status>
  </AccountInfo>
</ArrayOfAccountInfo>