---
title: "Get a Sub Account"
method: GET
path: "/sub_accounts/{id}"
tags: ["Sub Accounts"]
---

# Get a Sub Account

`GET /sub_accounts/{id}`

## Request

- Base URL: `https://api.justifi.ai/v1`
- URL: `https://api.justifi.ai/v1/sub_accounts/{id}`
- Auth: none declared. Required headers: `Authorization`
- TypeScript: <https://skmtc.dev/justifi/apis/justifi-api-documentation/docs/sub_accounts/:id/get.ts> (a function with typed inputs; its response is checked against the schema)

Get information about a sub account.

## Path parameters

- `id` string, uuid, required

## Headers

- `Authorization` string, required

## Response `200`

Successfully get a sub account

- object
  - `id` string, uuid: the object id, also found in the data object
  - `type` string: the object type, or array of objects
  - `data` object: the attributes for the object
    - `id` string, uuid: sub account id
    - `name` string: sub account name
    - `account_type` string: sub account type (live or test)
    - `status` 'created' | 'submitted' | 'information_needed' | 'rejected' | 'enabled' | 'disabled' | 'archived': sub account status
    - `currency` 'usd' | 'cad'
    - `platform_account_id` string, uuid: id of associated platform account
    - `platform_sub_account` boolean: true if this is the platform's own sub account, the one the platform uses to take payments as a business itself (one per mode, live and test); false for every other sub account
    - `payout_account_id` string, uuid: id of active payout bank account
    - `business_id` string, uuid: id of associated business
    - `application_fee_rates` unknown[]: list of associated application fee rates
      - unknown
    - `processing_ready` boolean: sub account ready for processing
    - `payout_ready` boolean: sub account ready for payouts
    - `related_accounts` object: when a live sub account is created, a related test account is automatically created; this provides both ids
      - `live_account_id` string, uuid: live sub account id (this will be nil if a sub account was created with test credentials)
      - `test_account_id` string, uuid: test sub account id
    - `payments_activated_on` string, date-time, nullable: date and time when the first successful payment was processed on this sub account
    - `created_at` string, date-time
    - `updated_at` string, date-time
  - `page_info` unknown

---

[API](https://skmtc.dev/justifi/apis/justifi-api-documentation.md) - [All operations](https://skmtc.dev/justifi/apis/justifi-api-documentation/llms.txt) - [OpenAPI document](https://skmtc.dev/justifi/apis/justifi-api-documentation/revisions/dd9f3fed7e46?raw)
