---
title: "Create limit config by account"
method: POST
path: "/v1/config/account/{accountId}"
tags: ["Limit configurations"]
---

# Create limit config by account

`POST /v1/config/account/{accountId}`

## Request

- Base URL: `https://sandbox.pismolabs.io/balance-watcher`
- URL: `https://sandbox.pismolabs.io/balance-watcher/v1/config/account/{accountId}`
- Auth: HTTP bearer

Create a limit configuration for authorizations on the account level. 

This is the most granular level allowed and can be used to customize a specific account. There can be only one configuration by account. New creation attempts for the same account get a conflict response.

This configuration currently supports only the over-limit feature. See the [Over-limit fee](doc:over-limit-fee) guide for more information.

## Request body

- ConfigRequest: Configuration record request
  - `over_limit` Overlimit: Group of configurations related to the over-limit flow
    - `enable` boolean, required: Flag to enable the over-limit feature.
  - `limit_refund` LimitRefund: Group of configurations related to the limit refund flow
    - `enable` boolean, required: Flag to enable the limit refund feature.

## Response `201`

Created

- ConfigResponse: Configuration record response
  - `over_limit` Overlimit: Group of configurations related to the over-limit flow
    - `enable` boolean, required: Flag to enable the over-limit feature.
  - `limit_refund` LimitRefund: Group of configurations related to the limit refund flow
    - `enable` boolean, required: Flag to enable the limit refund feature.

## Other responses

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

---

[API](https://skmtc.dev/pismo/apis/core-platform-balance-watcher.md) - [All operations](https://skmtc.dev/pismo/apis/core-platform-balance-watcher/llms.txt) - [OpenAPI document](https://skmtc.dev/pismo/apis/core-platform-balance-watcher/revisions/77c15d1d913c?raw)
