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
results_id

string

None.

status

string

None.

payload

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "results_id": "sample string 1",
    "status": "sample string 2",
    "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.1,
            "next_payment_due_date": "sample string 3",
            "next_payment_due_amount": 4.1
          },
          "Balance": {
            "balance": 1.1,
            "currency_code": "sample string 2",
            "account_id": "sample string 3",
            "account_name": "sample string 4",
            "account_type": "sample string 5",
            "type": "sample string 6",
            "reconnect_id": "sample string 7",
            "status": "sample string 8"
          }
        },
        {
          "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.1,
            "next_payment_due_date": "sample string 3",
            "next_payment_due_amount": 4.1
          },
          "Balance": {
            "balance": 1.1,
            "currency_code": "sample string 2",
            "account_id": "sample string 3",
            "account_name": "sample string 4",
            "account_type": "sample string 5",
            "type": "sample string 6",
            "reconnect_id": "sample string 7",
            "status": "sample string 8"
          }
        }
      ],
      "reconnect_id": "sample string 1"
    }
  },
  {
    "results_id": "sample string 1",
    "status": "sample string 2",
    "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.1,
            "next_payment_due_date": "sample string 3",
            "next_payment_due_amount": 4.1
          },
          "Balance": {
            "balance": 1.1,
            "currency_code": "sample string 2",
            "account_id": "sample string 3",
            "account_name": "sample string 4",
            "account_type": "sample string 5",
            "type": "sample string 6",
            "reconnect_id": "sample string 7",
            "status": "sample string 8"
          }
        },
        {
          "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.1,
            "next_payment_due_date": "sample string 3",
            "next_payment_due_amount": 4.1
          },
          "Balance": {
            "balance": 1.1,
            "currency_code": "sample string 2",
            "account_id": "sample string 3",
            "account_name": "sample string 4",
            "account_type": "sample string 5",
            "type": "sample string 6",
            "reconnect_id": "sample string 7",
            "status": "sample string 8"
          }
        }
      ],
      "reconnect_id": "sample string 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>
          <Balance>
            <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>
            <reconnect_id>sample string 7</reconnect_id>
            <status>sample string 8</status>
            <type>sample string 6</type>
          </Balance>
          <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.1</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>
          <Balance>
            <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>
            <reconnect_id>sample string 7</reconnect_id>
            <status>sample string 8</status>
            <type>sample string 6</type>
          </Balance>
          <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.1</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>
      <reconnect_id>sample string 1</reconnect_id>
    </payload>
    <results_id>sample string 1</results_id>
    <status>sample string 2</status>
  </AccountInfo>
  <AccountInfo>
    <payload>
      <accounts>
        <Account>
          <Balance>
            <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>
            <reconnect_id>sample string 7</reconnect_id>
            <status>sample string 8</status>
            <type>sample string 6</type>
          </Balance>
          <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.1</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>
          <Balance>
            <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>
            <reconnect_id>sample string 7</reconnect_id>
            <status>sample string 8</status>
            <type>sample string 6</type>
          </Balance>
          <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.1</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>
      <reconnect_id>sample string 1</reconnect_id>
    </payload>
    <results_id>sample string 1</results_id>
    <status>sample string 2</status>
  </AccountInfo>
</ArrayOfAccountInfo>