# Account States

* `initiating` - an initial Account state. This state is immediately assigned to an entity created using [Accounts](/developer-guides/api-integration/api-reference/accounts.md#customers-customerid-accounts) endpoint provided it has passed basic validations (such as whether the input is correct, requested currencies are supported and customer is active). If validations were failed, account is transitioned to `failed` state. At this stage we expect an account challenge to be signed and verified before proceeding to next states. Upon successful challenge verification an entity is transitioned to `pending` state
* `pending` - an Account is being deployed on-chain. Upon completion it is transitioned to `active` and `chainId` is assigned
* `active` - an Account has been successfully deployed and is ready to be used to issue cards and perform payments. An entity can be temporarily deactivated in case of any issues or if we suspect any illicit activity. In this case an entity is transitioned to `inactive` state. You can also deactivate Account yourself using [Accounts](/developer-guides/api-integration/api-reference/accounts.md#accounts-accountid-deactivate) endpoint. If we have evidence of any illicit activity received through our constant monitoring workflows, an entity is transitioned to `closed` state
* `inactive` - an Account entity is temporarily deactivated. It can be re-activated again on our end or using [Accounts](/developer-guides/api-integration/api-reference/accounts.md#accounts-accountid-activate) endpoint
* `closed` - an Account has been closed and is no longer available for our services. This can be done via [Accounts](/developer-guides/api-integration/api-reference/accounts.md#accounts-accountid-1) endpoint. This is a **final** state
* `failed` - an Account creation request has failed some of the validations. A new request must be submitted. This is a **final** state


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.offblocks.xyz/developer-guides/api-integration/states-and-transitions/account-states.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
