---
title: "Create limit acceptance config by Org"
method: POST
path: "/v1/acceptance/processing-code/{processingCode}"
tags: ["Limit acceptance configurations"]
---

# Create limit acceptance config by Org

`POST /v1/acceptance/processing-code/{processingCode}`

## Request

- Base URL: `https://sandbox.pismolabs.io/balance-watcher`
- URL: `https://sandbox.pismolabs.io/balance-watcher/v1/acceptance/processing-code/{processingCode}`
- Auth: HTTP bearer

Create a limit acceptance configuration for authorizations on the organization (Org) level. This configuration applies to authorizations generated by operations defined in the provided processing code. 

This level can be used as a default configuration for all programs and accounts in this Org. There can be only one configuration by Org. New creation attempts for the same Org get a conflict response.

At least one of the following objects is **required** in this request:
- `network_authorization` 
- `platform_authorization`
- `authorization`

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

## Request body

- AcceptanceRequest: Acceptance configuration request
  - `network_authorization` object: Group of acceptance configurations related to the network authorization flow
    - `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.
  - `platform_authorization` object: Group of acceptance configurations related to the platform authorization flow
    - `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.
  - `authorization` object: Group of acceptance configurations related to the authorization flow
    - `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

- AcceptanceResponse: Acceptance configuration response
  - `network_authorization` object: Group of acceptances related to the network authorization flow
    - `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.
  - `platform_authorization` object: Group of acceptances related to the platform authorization flow
    - `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.
  - `authorization` object: Group of acceptances related to the authorization flow
    - `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)
