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

# Create status reason

`POST /accounts/v4/reasons`

## Request

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

Create an account status reason on the platform.

This endpoint generates a [Reason created](https://developers.pismo.io/events/docs/account-reason-creation-1) event.

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

## Request body

- ReasonCreate: Object to create an account reason
  - `name` string, required: Reason name
  - `description` string: Reason description
  - `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.
  - `external_id` string: Client-created ID from an external system or application. **REQUIRED** for `VIRTUAL` accounts.

## Response `201`

Created

- ReasonResponse: Object response for account reason
  - `reason_id` integer: Reason ID
  - `name` string: Reason name
  - `description` string: Reason description
  - `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.
  - `state` 'ACTIVE' | 'INACTIVE': Reason state
  - `external_id` string: Client-created ID from an external system or application. **REQUIRED** for `VIRTUAL` accounts.

## 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)
