> ## Documentation Index
> Fetch the complete documentation index at: https://docs.layerfi.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Plaid Account object

A bank account linked via Plaid associated with a [Business](/api-reference/business/business).

### Attributes

<ParamField body="id" type="string">
  Unique (Layer-generated) identifier of the plaid account.
</ParamField>

<ParamField body="plaid_account_id" type="string">
  Plaid-generated identifier of the plaid account.
</ParamField>

<ParamField body="status" type="enum">
  Account status within Layer. Values can be: `ACTIVE`, `ARCHIVED`.
</ParamField>

<ParamField body="mask" type="string">
  The last 2-4 alphanumeric characters of an account's official account number. Content and format varies based by financial institution.
</ParamField>

<ParamField body="name" type="string">
  The name of the account, either assigned by the user or by the financial institution itself.
</ParamField>

<ParamField body="account_type" type="string">
  The type of the account. See [Plaid account type schema](https://plaid.com/docs/api/accounts/#account-type-schema) for a full listing of account types and corresponding subtypes.
  Possible values: `INVESTMENT`, `CREDIT`, `DEPOSITORY`, `LOAN`, `BROKERAGE`, `OTHER`.
</ParamField>

<ParamField body="subtype" type="string">
  The subtype of the account. See [Plaid account type schema](https://plaid.com/docs/api/accounts/#account-type-schema) for a full listing of account types and corresponding subtypes.
  Possible values: `401a`, `401k`, `403B`, `457b`, `529`, `brokerage`, `cash isa`, `crypto exchange`, `education savings account`, `ebt`, `fixed annuity`, `gic`, `health reimbursement arrangement`, `hsa`, `isa`, `ira`, `lif`, `life insurance`, `lira`, `lrif`, `lrsp`, `non-custodial wallet`, `non-taxable brokerage account`, `other`, `other insurance`, `other annuity`, `prif`, `rdsp`, `resp`, `rlif`, `rrif`, `pension`, `profit sharing plan`, `retirement`, `roth`, `roth 401k`, `rrsp`, `sep ira`, `simple ira`, `sipp`, `stock plan`, `thrift savings plan`, `tfsa`, `trust`, `ugma`, `utma`, `variable annuity`, `credit card`, `paypal`, `cd`, `checking`, `savings`, `money market`, `prepaid`, `auto`, `business`, `commercial`, `construction`, `consumer`, `home equity`, `loan`, `mortgage`, `overdraft`, `line of credit`, `student`, `cash management`, `keogh`, `mutual fund`, `recurring`, `rewards`, `safe deposit`, `sarsep`, `payroll`, `null`.
</ParamField>

<ParamField body="created_at" type="ISO8601 timestamp">
  The timestamp of when the account was created.
</ParamField>

<ParamField body="updated_at" type="ISO8601 timestamp">
  The timestamp of when the account was last updated.
</ParamField>

<ParamField body="connection_needs_repair_as_of" type="ISO8601 timestamp">
  The timestamp of when the connection to the account from its processor token was determined to be broken, indicating the need to repair the connection. This can be done by re-linking the account and issuing a new processor token. Only appears if the account is associated with a processor token rather than an item.
</ParamField>

<ParamField body="plaid_item" type="string">
  The ID of the plaid item this account is associated with. Null if this account is instead associated with a plaid processor token. If non-null, the type will be Plaid\_Account\_With\_Item.
</ParamField>

<ParamField body="plaid_processor_token" type="string">
  The ID of the plaid processor token this account is associated with. Null if this account is instead associated with a plaid item. If non-null, the type will be Plaid\_Account\_With\_Processor\_Token.
</ParamField>

<ParamField body="ledger_account_id" type="string">
  The ID of the [ledger account](https://docs.layerfi.com/api-reference/ledger/chart#ledger-account-object) associated with the plaid account.
</ParamField>

<ResponseExample>
  ```json Example theme={null}
  {
      "type": "Plaid_Account_With_Processor_Token",
      "id": "d0068f9a-e5ad-4bed-b338-a022d6d75bd4",
      "plaid_account_id": "Aaoy8G7VXZHVeqNoL1GvcmkPdqpLRWi9NArdG",
      "plaid_processor_token": "processor-sandbox-0496279d-6c4c-4363-8783-f87d0d08e442",
      "status": "ACTIVE",
      "mask": "0000",
      "name": "Plaid Checking",
      "account_type": "DEPOSITORY",
      "subtype": "checking",
      "created_at": "2024-05-28T22:24:33.467485Z",
      "updated_at": "2024-05-28T22:24:33.467485Z",
      "ledger_account_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  }
  ```
</ResponseExample>
