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

# Account Details Model

These models are returned by [Retrieving Account Details](#retrieve-account-details), [Generate New Collection Account](#generate-new-collection-account-coming-soon) and [Update Account Details](#update-account-details) endpoints.

## AccountDetails Data

```json theme={null}
[
    {
        "account_details_id": "42101706-b568-410f-88f5-43f39869304f",
        "account_details_type": "dedicated",
        "account_holder_address": "",
        "account_holder_name": "Implementation Account",
        "account_id": "5b40a865-72ed-5159-96ba-8d4389d0051e",
        "alias": "NL EUR Account",
        "country": "NL",
        "created": "2020-12-10 13:01:13.857898",
        "currency": "EUR",
        "domestic": null,
        "financial_institution_address": "Claude Debussylaan 26\n1028 MD, Amsterdam",
        "financial_institution_name": "EBURY PARTNERS NETHERLANDS",
        "international": {
            "account_number": "NL55RABO3717231707",
            "account_number_type": "IBAN",
            "bank_identifier": "EBURNL21",
            "bank_identifier_type": "SWBIC"
        },
        "modified": "2020-12-10 13:31:46.929423",
        "primary": true,
        "status": "confirmed"
    },
    {
        "account_details_id": "c5733e6d-9de8-46ce-e731-07d6fa4093b6",
        "account_details_type": "pooled",
        "account_holder_address": "100 Victoria Street London SW1E 5JL",
        "account_holder_name": "Ebury Partners UK Limited",
        "account_id": null,
        "country": "GB",
        "currency": "NZD",
        "domestic": {
            "account_number": "4006003",
            "account_number_type": "BBAN",
            "bank_identifier": "312840",
            "bank_identifier_type": "NZNCC"
        },
        "financial_institution_address": "Citibank Centre 23 Customs Street East\n1140\nAUCKLAND",
        "financial_institution_name": "Citibank NA New Zealand Branch",
        "international": {
            "account_number": "4006003",
            "account_number_type": "BBAN",
            "bank_identifier": "CITINZ2X",
            "bank_identifier_type": "SWBIC"
        },
        "status": "confirmed"
    }
]
```

This model is a representation of account details within Ebury.

**Fields**

<ResponseField name="account_id" type="string">
  The UUID of the account. Always present.
</ResponseField>

<ResponseField name="account_details_id" type="string">
  (uuid) Unique ID of the account details. Always present.
</ResponseField>

<ResponseField name="account_details_type" type="string">
  The [AccountDetailsType](#accountdetails-type). Always present.
</ResponseField>

<ResponseField name="alias" type="string">
  User-friendly alias for the account. Only available (and mandatory) on dedicated accounts.
</ResponseField>

<ResponseField name="account_holder_address" type="string">
  The address of the account holder. Always present.
</ResponseField>

<ResponseField name="account_holder_name" type="string">
  The name of the account holder. Always present.
</ResponseField>

<ResponseField name="country" type="string">
  The country of the account-details. An ISO 3166-1 Alpha-2 code will be returned. Always present.
</ResponseField>

<ResponseField name="currency" type="string">
  Identification of the currency in which the account is held. An ISO 3166-1 Alpha-2 code will be returned. Always present.
</ResponseField>

<ResponseField name="domestic" type="object">
  Domestic information of the account. It can be null. See the list of [Domestic AccountDetails](#domestic-accountdetails)
</ResponseField>

<ResponseField name="international" type="object">
  International information of the account. It can be null. See the list of [International AccountDetails](#international-accountdetails)
</ResponseField>

<ResponseField name="financial_institution_name" type="string">
  The name of the FI
</ResponseField>

<ResponseField name="financial_institution_address" type="string">
  The address of the FI
</ResponseField>

<ResponseField name="modified" type="string">
  In YYYY-MM-DD hh:mm:ss.SSS format. Datetime of last modification (for dedicated accounts only)
</ResponseField>

<ResponseField name="primary" type="boolean">
  If "true" the account is marked as default (for dedicated accounts only)
</ResponseField>

<ResponseField name="status" type="string">
  The [AccountDetailsStatus](#accountdetailsstatus). Always present.
</ResponseField>

## AccountDetails Type

This is an enumeration of account-details types.

**Values**

| Value | Description |
| - | - |
| `Dedicated` | The account is dedicated |
| `Pooled` | The account is pooled |

## Domestic AccountDetails

This model is a representation of domestic account-details associated with an Account.

**Fields**

| Name | Description |
| - | - |
| `domestic.account_number` | The number of the account |
| `domestic.account_number_type` | [Account Number Type](/api/account-models#accountnumbertype) |
| `domestic.bank_identifier` | The identifier of the bank. |
| `domestic.bank_identifier_type` | [Bank Identifier Type](/api/account-models#bankidentifiertype) |

## International AccountDetails

This model is a representation of international account-details associated with an Account.

**Fields**

| Name | Description |
| - | - |
| `international.account_number` | The number of the account |
| `international.account_number_type` | [Account Number Type](/api/account-models#accountnumbertype) |
| `international.bank_identifier` | The identifier of the bank. |
| `international.bank_identifier_type` | [Bank Identifier Type](/api/account-models#bankidentifiertype) |

## AccountDetailsStatus

This is an enumeration of the statuses of an account.

**Values**

| Value | Description |
| - | - |
| `Pending` | The account is pending to be created |
| `Confirmed` | The account creation is created |
| `Failed` | The account creation has failed |
