---
title: "Retrieve an account"
method: GET
path: "/accounts/{account_id}"
tags: ["Accounts"]
---

# Retrieve an account

`GET /accounts/{account_id}`

Returns the details of an account with the given `account_id`.

## Path parameters

- `account_id` string, required

## Response `200`

OK

- GetOneAccount
  - `id` string — The unique account identifier.
  - `account` string — The unique account identifier.
  - `action` string — The action performed by the API call.
  - `contact` object
    - `first` string — The first name of the designated account contact.
    - `last` string — The last name of the designated account contact.
    - `email` string — The email address of the designated account contact.
    - `company` string — The company of the designated account contact.
    - `phone` string — The telephone number of the designated account contact.
    - `subscribed` boolean — A boolean indicating whether an account includes a subscription or not.
  - `address` object
    - `addressLine1` string — Address line 1 (e.g., street, PO box, or company name).
    - `addressLine2` string — Address line 2 (e.g., apartment, suite, unit, or building).
    - `city` string — City, district, suburb, town, or village.
    - `region` string — Region code (<a href="https://en.wikipedia.org/wiki/ISO_3166-2">ISO 3166-2</a>).
    - `regionCustom` string — Phone number
    - `postalCode` string — ZIP or postal code.
    - `company` string — Company or account name.
  - `language` string — Two-letter language code (<a href="https://en.wikipedia.org/wiki/List_of_ISO_639_language_codes">ISO 639</a>).
  - `country` string — Two-letter country code (<a href="https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2">ISO 3166-1 alpha-2</a>).
  - `lookup` object
    - `global` string — A global lookup key used to retrieve account details dynamically from a static string.
    - `custom` string — A custom lookup key used to retrieve account details dynamically from a static string.
  - `url` string — FastSpring account URL.
  - `payment` object
    - `methods` integer — Total of payment methods available.
    - `active` integer — Total of active payment methods available.
  - `orders` unknown[] — Array of orders placed by the associated account ID. Each order is represented by a unique order ID.
    - unknown
  - `subscriptions` unknown[] — Array of subscriptions added by the associated account ID. Each subscription is represented by a unique subscription ID.
    - unknown
  - `charges` RetrieveCharges[]
    - `currency` string — Three-letter currency code (<a href="https://en.wikipedia.org/wiki/ISO_4217">ISO 4217</a>).
    - `total` string — Total after discounts and taxes.
    - `payoutCurrency` string — Three-letter currency code (<a href="https://en.wikipedia.org/wiki/ISO_4217">ISO 4217</a>).
    - `totalInPayoutCurrency` integer — Total after discounts and taxes.
    - `status` 'successful' | 'failed' — The status of the charge.
    - `order` string — The order ID associated with this charge.
    - `orderReference` string — The order reference associated with this charge.
    - `subscription` string — The subscription ID associated with this charge.
    - `timestamp` integer — The timestamp when this charge happened (Unix).
    - `timestampValue` integer — The timestamp when this charge happened (Unix).
    - `timestampInSeconds` integer — The timestamp when this charge happened (Unix seconds).
    - `timestampDisplay` integer — The timestamp when this charge happened (MM/DD/YY).
    - `timestampDisplayISO8601` integer — The timestamp when this charge happened (<a href="https://www.iso.org/iso-8601-date-and-time-format.html">ISO 8601</a>).
  - `subscribed` boolean — A boolean indicating whether an account includes a subscription or not.
  - `result` string — Indicates that the request has succeeded or failed.
  - `taxExemptionData` string — Tax exemption details.

## Other responses

- `400` — Bad Request

---

[API](https://skmtc.net/fastspring/apis/fastspring-api-accounts.md) · [All operations](https://skmtc.net/fastspring/apis/fastspring-api-accounts/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/fastspring/fastspring-api-accounts/versions/ae2f0b97db3e/schema)
