# Accounts
Once you've set up your Organization and have implemented a [program](https://developers.pismo.io/pismo-docs/docs/program-types), you can begin creating accounts and customers.
# Create an account
You can create an account with the [Create account application](https://developers.pismo.io/pismo-docs/reference/post-acquisitions-v3-s2s-applications) endpoint. You can create it with this endpoint or create it as a work-in-progress and add more information to it later with the [Update account application](https://developers.pismo.io/pismo-docs/reference/patch-acquisitions-v2-s2s-applications) endpoint before finally submitting it to create the account and its related structures and data.
**Note:** The create and update endpoint processing is asynchronous, meaning that you should not try to access created or modified account objects until the events these endpoints generate are received.
> 📘 Account limits
>
> For information on this topic, refer to [Account limits](https://developers.pismo.io/pismo-docs/docs/working-with-limits-objects).
# Linking Pismo accounts to an external system
Pismo's `account` object has an `external_id` field that allows you to seamlessly integrate your systems and accounts with Pismo's.
# Related accounts
You can define a parent and child relationship between accounts. A parent account can have multiple child accounts. A child account can have only one parent, but it can have multiple child accounts of its own (grandchild accounts of the main parent account). All child and grandchild accounts connect to the main parent account.
## Link and unlink related accounts
To link accounts, use the `account` object's `parent_account_id` field. You can set this when [creating an account](https://developers.pismo.io/pismo-docs/reference/post-acquisitions-v3-s2s-applications)or [updating an account](https://developers.pismo.io/pismo-docs/reference/patch-accounts-v1-accounts).
To unlink a parent account, call [Update account](https://developers.pismo.io/pismo-docs/reference/patch-accounts-v1-accounts) and enter "`null`" for the `parent_account_id` field.
## Get related account information
You can see balances and limits of all related accounts with a single call to [Get related accounts](https://developers.pismo.io/pismo-docs/reference/get-v1-accounts-limits-related-accounts). Given a parent account ID, this endpoint provides an overview of all related accounts within the same Org, with up to two levels of child accounts. The endpoint returns balances and limits of both the parent account and its active child and grandchild accounts. Active account means that its [account status](https://developers.pismo.io/pismo-docs/docs/accounts-2#account-status) is `NORMAL`.
# Account customers
Each account must have at least one customer, which can be a person or company. Each account is initially created with either a `person` or `company` object representing the account's initial customer and account owner.
[Additional customers are added](https://developers.pismo.io/pismo-docs/reference/customerv2post) with a `customer` object. The `person` and `company` objects include many fields **not** included in the `customer` object.
An account can have multiple customers to support functionality such as joint accounts and credit cards that use the same account balance among multiple customers. A customer can have multiple accounts also. For example, a person may have an account associated with a corporate credit card and another account associated with a debit card.
# Account status
Every account is created with a `NORMAL` status.
The following table describes pre-defined account status enum values.
| Status | Description |
|---|---|
| `DEBIT_ONLY` | Account is active. Allows cash-out but not cash-in. |
| `NORMAL` | Account is active. Allows both cash-in and cash-out, based on account limits. This is the default account status. |
| `BLOCKED` | Account is blocked. Allows cash-in only. This is a temporary status. You can change it to `DEBIT_ONLY`, `NORMAL`, or `CANCELLED` when needed. |
| `CANCELLED` | Account is cancelled. No cash-in or cash-out allowed. This is a final status. If you need to recover a cancelled account, you must use the [Roll back account status](https://developers.pismo.io/pismo-docs/reference/patch-v2-accounts-accountid-status-rollback) endpoint or change the status in [Control Center](https://developers.pismo.io/pismo-docs/docs/account-actions#change-account-status). |