---
title: "Get account"
method: GET
path: "/accounts/{id}"
tags: ["Accounts"]
---

# Get account

`GET /accounts/{id}`

Get an individual account that the user has connected to your application.

> ℹ️
>
> The format for the returned account depends on the permissions you have!

For more details see:
  - [📚 Accessing account data guide](/docs/accessing-account-data)
  - [📖 Account model](/docs/the-account-model)

## Headers

- `X-Akahu-Id` string, required

## Response `200`

Successful response.

- object
  - `success` boolean
  - `item` Account
    - `_id` string, required — A unique identifier for the account in the Akahu system. It is always be prefixed by `oneoff_acc_` so that you can tell that it belongs to an account.
    - `_connection` string, required — Connection ID identifying the institution the account has been connected from.
    - `name` string, required — The name of this account. If the connection allows customisation, the name will be the custom name (or nickname), eg. "Spending Account". Otherwise Akahu falls back to the product name, eg. "Super Saver".
    - `balance` object, required — The account balance
      - `current` number, required — The current account balance.
      - `available` number — The balance that is currently available to the account holder.
      - `limit` number — The credit limit for this account. For example a credit card limit or an overdraft limit. This value is only present when provided directly by the connected financial institution.
    - `type` 'DEPOSITORY' | 'CREDIT CARD' | 'LOAN', required — The account type. - `DEPOSITORY` → A regular transactional or savings bank account. - `CREDIT CARD` → A credit card. - `LOAN` → A loan account (includes line-of-credit accounts such as revolving home loans). > ℹ️ Note that currently only the listed account types are supported for retrieval via the Akahu one-off API. Additional account types (such as investment and Kiwisaver accounts) may be added at a later date.
    - `attributes` string[], required — Indicates what functionality the account has. - `TRANSACTIONS` → This account can provide transaction data. - `TRANSACTION_EXPORTS` → This account can provide transaction data in PDF format. - `STATEMENTS` → This account can provide official PDF statements.
    - `formatted_account` string, required — For bank accounts, this will contain the account number in the standardised format `00-0000-0000000-00`. For non bank accounts (credit cards and some loans), the account number format provided by the bank will be passed through.
    - `meta` object, required — Metadata regarding this account
      - `holder` string — The account holder name as provided by the bank
      - `has_unlisted_holders` boolean — Indicates if the account has other holders that are not listed in the holder field. This only applies to official open banking connections where the institution indicates a joint account, but only provides the authorising party's name.
      - `nickname` string — The account nickname
      - `product_name` string — The account product name as provided by the bank
      - `loan_details` object — Details about a loan account, if available.
        - `purpose` 'HOME' | 'PERSONAL' | 'BUSINESS' | 'UNKNOWN', required — The purpose of the loan, if we can't determine the purpose, this will be `UNKNOWN`
        - `type` 'TABLE' | 'REDUCING' | 'REVOLVING' | 'UNKNOWN', required — The type of loan, if we can't determine the type, this will be `UNKNOWN`
        - `interest` object, required — Interest rate information for the loan.
          - `rate` number, required — The interest rate on the loan.
          - `type` 'FIXED' | 'FLOATING', required — The type of interest rate.
          - `expires_at` string, date-time — When this interest rate expires, if available.
        - `is_interest_only` boolean, required — Is the loan currently in an interest only period?
        - `interest_only_expires_at` string, date-time — When the interest only period expires, if available.
        - `term` object — The duration/term of the loan for it to be paid to completion from the start date of the loan.
          - `years` number — The number of years the loan is for.
          - `months` number — The number of months the loan is for.
        - `matures_at` string, date-time — When the loan matures, if available.
        - `initial_principal` number — The loan initial principal amount, this was the original amount borrowed.
        - `repayment` object — Loan repayment information if available.
          - `frequency` 'WEEKLY' | 'FORTNIGHTLY' | 'MONTHLY' | 'QUARTERLY' | 'BIANNUALLY' | 'ANNUALLY' — The frequency of the loan repayment.
          - `next_date` string, date-time — The next repayment date, if available.
          - `next_amount` number, required — The next instalment amount.

## Other responses

- `400` — Your request was malformed or otherwise unacceptable. More details are provided under the `message` key in the response.
- `401` — You are not authorised to access this content.
- `403` — You are not allowed to access this content.
- `404` — The item you are trying to access doesn't exist.
- `500` — An internal error has prevented us from processing the request. More detail may be supplied in the `message` key.

---

[API](https://skmtc.dev/akahu/apis/akahu-enduring-api.md) · [All operations](https://skmtc.dev/akahu/apis/akahu-enduring-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/akahu/akahu-enduring-api/revisions/b2de9915920d/schema)
