---
title: "Create status"
method: POST
path: "/accounts/v4/statuses"
tags: ["Statuses and reasons"]
---

# Create status

`POST /accounts/v4/statuses`

## Request

- Base URL: `https://sandbox.pismolabs.io`
- URL: `https://sandbox.pismolabs.io/accounts/v4/statuses`
- Auth: HTTP bearer

Create an account status on the platform.

When a new account status is created, its initial `state` (see response) is `ACTIVE`.

This endpoint generates an [Account status created](https://developers.pismo.io/events/docs/account-status-creation-1) event.

Refer to the [Account status](doc:accounts-overview#account-status) guide section for more information.

## Request body

- StatusCreate: Account status object
  - `name` string, required: Account status name. Pre-defined account statuses include `DEBIT_ONLY`, `NORMAL`, `BLOCKED` and `CANCELLED`. You can create your own account statuses with the [Create status](ref:v4-post-account-status) endpoint.
  - `allowed_operations` 'ALL_OPERATIONS' | 'CREDIT_ONLY' | 'DEBIT_ONLY' | 'NO_OPERATIONS', required: Allowed operations for this status. Possible values: * `ALL_OPERATIONS`&mdash;Both credit and debit operations are allowed. * `CREDIT_ONLY`&mdash;Only credit operations allowed. * `DEBIT_ONLY`&mdash;Only debit operations allowed. * `NO_OPERATIONS`&mdash;Neither account credit nor debit operations allowed.
  - `description` string: Account status description
  - `is_final` boolean: Is this a final status? An account with a final status cannot have its status updated. Defaults to `false`. **Note:** Even if a status is final, it can still be [rolled back](ref:patch-v2-accounts-accountid-status-rollback).

## Response `201`

Created

- StatusResponse: Object response for account status
  - `status_id` integer: Account status ID
  - `name` string: Account status name. Pre-defined account statuses include `DEBIT_ONLY`, `NORMAL`, `BLOCKED` and `CANCELLED`. You can create your own account statuses with the [Create status](ref:v4-post-account-status) endpoint.
  - `description` string: Account status description
  - `state` 'ACTIVE' | 'INACTIVE': Status state
  - `is_final` boolean: Is this a final status? An account with a final status cannot have its status updated. Defaults to `false`. **Note:** Even if a status is final, it can still be [rolled back](ref:patch-v2-accounts-accountid-status-rollback).
  - `allowed_operations` 'ALL_OPERATIONS' | 'CREDIT_ONLY' | 'DEBIT_ONLY' | 'NO_OPERATIONS': Allowed operations for this status. Possible values: * `ALL_OPERATIONS`&mdash;Both credit and debit operations are allowed. * `CREDIT_ONLY`&mdash;Only credit operations allowed. * `DEBIT_ONLY`&mdash;Only debit operations allowed. * `NO_OPERATIONS`&mdash;Neither account credit nor debit operations allowed.

## Other responses

- `400`: Bad request
- `409`: Conflict
- `500`: Internal server error

---

[API](https://skmtc.dev/pismo/apis/core-platform-accounts.md) - [All operations](https://skmtc.dev/pismo/apis/core-platform-accounts/llms.txt) - [OpenAPI document](https://skmtc.dev/pismo/apis/core-platform-accounts/revisions/0b24a835073b?raw)
