---
title: "Retrieve Account"
method: GET
path: "/{Version}/clients/{ClientID}/accounts/{AccountID}"
tags: ["Account"]
---

# Retrieve Account

`GET /{Version}/clients/{ClientID}/accounts/{AccountID}`

Retrieves the Account.

In circumstances where you fail to receive an `accountID` from us, you can do a [retrieve via referenceID](https://developers.tabapay.com/reference/retrieve-via-referenceid). *(Allowed only up to 24 hours after original request)*

## Path parameters

- `Version` string, required
- `ClientID` string, required
- `AccountID` string, required

## Response `200`

Account retrieved.

- RetrieveAccountResponse
  - `SC` integer — [HTTP Status Code](https://developers.tabapay.com/reference/http-status-codes#/)
  - `EC` string — Internal Error Code. This is used to help TabaPay team members trace an error.
  - `referenceID` string, string, required — 1-15 character unique [referenceID](https://developers.tabapay.com/docs/glossary#reference-id). Used for [Retrieve via ReferenceID](https://developers.tabapay.com/reference/retrieve-via-referenceid) in case of an HTTP timeout, or any scenario where you fail to get a response body. *Not case sensitive*
  - `bank` object — Bank Details
    - `routingNumber` string — [ABA routing transit number](https://en.wikipedia.org/wiki/ABA_routing_transit_number)
    - `last4` string, required — Last 4 of Bank Account Number
    - `accountType` string — Bank Account Type. - `S` Savings - `C` Checking - `A` Business Savings - `B` Business Checking - `L` Loan
  - `card` object — Card Details
    - `last4` string, required — Last 4 of Card Account Number (PAN)
    - `expirationDate` string — Expiration Date in YYYYMM Format Returned if present in the account.
  - `owner` Owner, required — Owner Details
    - `name` Name, required — Name Use Either: (1) `company` **OR** (2) `first`, `middle`, `last`, and `suffix` If choosing (2), `first` and `last` are required, `middle` and `suffix` are optional*
      - `company` string — Company Name Incompatible with any other `name` field.
      - `first` string — First Name Incompatible with `company` name
      - `middle` string — Middle Name Incompatible with `company` name
      - `last` string — Last Name Incompatible with `company` name
      - `suffix` string — Suffix Incompatible with `company` name
    - `address` object — Address. *All fields optional.* However, if you're planning on using AVS in [QueryCard](https://developers.tabapay.com/reference/cardquery#/), provide an accurate `zipcode` at the minimum. And, if you can, provide an accurate `line1` value as well.
      - `line1` string — Address Line 1
      - `line2` string — Address Line 2
      - `city` string — City
      - `state` string — State Code [State Code](https://developers.tabapay.com/reference/us-state-codes#/) must be a valid 2-character code if `country` is [840](https://developers.tabapay.com/reference/country-codes#/) or [Canadian 2-char code](https://developers.tabapay.com/reference/canadian-province-codes#/) if [124](https://developers.tabapay.com/reference/country-codes#/).
      - `zipcode` string — Zip Code If `country` is `840`, `zipcode` must be 5 or 9 digits. If country is `124`, `zipcode` must be in the *A1A 1A1* format. Zip codes from other countries will not be checked.
      - `country` string — [Country Code](https://developers.tabapay.com/reference/country-codes#/) *Optional. Default is `840`*
    - `phone` object — Phone *object*
      - `countryCode` string — 1-3 digit Country Calling Code *Optional.* Default is `1`.
      - `number` string, required — Phone Number. For phone numbers with `countryCode` equal to `1` (or blank), provide a 10-digit phone number. For all `countryCodes`, other than `1`, a 4-14 digit phone number is accepted.

## Other responses

- `421` — Too late to retrieve account by referenceId. Use accountId.

---

[API](https://skmtc.dev/tabapay/apis/tabapay-apis.md) · [All operations](https://skmtc.dev/tabapay/apis/tabapay-apis/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/tabapay/tabapay-apis/revisions/154fa3d585cf/schema)
