---
title: "Get Account by ID"
method: POST
path: "/getAccountById"
tags: ["Accounts and Cards"]
---

# Get Account by ID

`POST /getAccountById`

Use the Get Account by ID endpoint to retrieve account information using _exactly one_ of the mutually exclusive lookup keys. See <a href="doc:about-accounts#account-lookup" target="_blank">Account lookup</a> for specific instructions.

This endpoint returns customer data such as enrollment status and onboarding date as well as a list of all accounts associated with the customer. Each account entry includes `closureDate` to indicate when the account was closed. `closureDate` is populated only when the account is in status `C` (closed/canceled), `Z` (closed/canceled without refund), or `R` (charged off); it is `null` for open accounts.

To search on broader criteria, try <a href="ref:post_searchaccounts" target="_blank">Search Accounts</a>.

## Response `default`

- object
  - `status_code` integer, nullable, required — The response status code. May return a string for some statuses.
  - `status` string, nullable, required — The condition of a process or response
  - `processing_time` number, float, nullable, required — The time elapsed in processing the transaction
  - `echo` object, nullable, required — A structure that contains transaction ID information
    - `transaction_id` string, nullable, required — An ID that represents an API transaction
    - `provider_timestamp` string, date-time, nullable, required — Store a related timestamp for reporting and troubleshooting purposes
    - `provider_transaction_id` string, nullable, required — Secondary transaction identifier (generated by a provider)
  - `system_timestamp` string, date-time, nullable, required — A system generated timestamp
  - `rtoken` string, nullable, required — A system-generated ID used for tracking
  - `errors` string[] — A list of errors generated while the request was processed
  - `response_data` object, nullable, required — A structure for the response data. It can be empty but usually will contain information.
    - `accounts` object[], required — List of accounts
      - `prn` string, required — The <a href="doc:about-accounts#prn" target="_blank">payment reference number</a>
      - `prod_id` string, required — A unique product identifier from SoFi Tech Solutions
      - `app_date` string, date-time, nullable, required — The date the account's application was submitted
      - `status` string, required — The <a href="ref:api-reference-account-statuses" target="_blank">status of the account</a>
      - `active_flag` string, required — Whether the account is active
      - `balance` number, float, nullable — The <a href="doc:account-balances#available-balance" target="_blank">available balance</a> of the account
      - `closure_date` string, date-time, nullable — UTC timestamp (`YYYY-MM-DD hh:mm:ss`) of when the account was closed. Populated only when status is `C` (closed/canceled), `Z` (closed/canceled without refund), or `R` (charged off); `null` means the account is open.
      - `galileo_account_number` string, nullable, required — The balance ID of the account.
      - `cards` object[], nullable — List of the cards associated with the account
        - `card_id` string, required — The card identifier (CAD)
        - `card_status` string, required — The <a href="ref:api-reference-card-statuses" target="_blank">status of the card</a>
    - `externalCustomerId` string, nullable — The customer's `externalCustomerId`. Returned only when the lookup resolves to a single customer, as when the request is made with `customerId`. Omitted for lookups that may span multiple customers.

---

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