> ## Documentation Index
> Fetch the complete documentation index at: https://docs.augustus.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Accounts

> The Accounts object and its endpoints

## Account Object

The Account object represents a financial account that exists at a bank, to which you have been granted access through user authorization.

### Properties

<ResponseField name="id" type="string" required>
  Unique identifier for the account
</ResponseField>

<ResponseField name="bankId" type="string">
  The ID of the bank
</ResponseField>

<ResponseField name="bankName" type="string">
  The name of the bank
</ResponseField>

<ResponseField name="financialAddress" type="array" description="List of financial addresses associated with the account">
  <Expandable title="financialAddress">
    <ResponseField name="type" type="string">
      The type of the account number.
    </ResponseField>

    <ResponseField name="iban" type="object">
      <Expandable title="properties">
        <ResponseField name="iban" type="string">
          The IBAN number of the account.
        </ResponseField>

        <ResponseField name="bic" type="string">
          The BIC of the account.
        </ResponseField>
      </Expandable>
    </ResponseField>

    <ResponseField name="sortCode" type="object">
      <Expandable title="properties">
        <ResponseField name="sortCode" type="string">
          The sort code of the account.
        </ResponseField>

        <ResponseField name="accountNumber" type="string">
          The account number of the account.
        </ResponseField>
      </Expandable>
    </ResponseField>
  </Expandable>
</ResponseField>

<ResponseField name="currency" type="string">
  The currency of the balance (ISO 4217 code)
</ResponseField>

<ResponseField name="accountName" type="string">
  The name of the account
</ResponseField>

## Endpoints

### List Accounts

Returns a list of accounts.

```json theme={null}
POST /api/service/data/accounts/list
```

**Request**

```json Response theme={null}
{
    "accounts": [
        {
            "id": "bafab4a9-2532-5b78-8c6f-4b9b0ecb6302",
            "financialAddress": [
                {
                    "type": "iban",
                    "iban": {
                        "iban": "GB29NWBK60161331926819",
                        "accountHolderName": "Mickey Mouse"
                    }
                },
                {
                    "type": "sort_code",
                    "sortCode": {
                        "accountHolderName": "Mickey Mouse",
                        "sortCode": "123456",
                        "accountNumber": "12345678"
                    }
                }
            ],
            "bankId": "gb-wise",
            "bankName": "Wise (UK)",
            "currency": "GBP",
            "accountName": "GBP account"
        },
        {
            "id": "e4a387be-81bd-5036-ac04-90366b6c0cb8",
            "financialAddress": [
                {
                    "type": "iban",
                    "iban": {
                        "iban": "BE68539007547034",
                        "accountHolderName": "Mickey Mouse"
                    }
                },
                {
                    "type": "bban",
                    "bban": {
                        "bban": "0012345",
                        "accountHolderName": "Mickey Mouse"
                    }
                }
            ],
            "bankId": "gb-wise",
            "bankName": "Wise (UK)",
            "currency": "EUR",
            "accountName": "EUR account"
        }
    ]
}
```
