Limit configurations

Create limit config by program

Create a limit configuration for authorizations on the program level.

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

This configuration currently supports only the over-limit feature. See the Over-limit fee guide for more information.

post/v1/config/program/{programId}

Request

  • Base URL
    https://sandbox.pismolabs.io/balance-watcher
  • URL
    https://sandbox.pismolabs.io/balance-watcher/v1/config/program/{programId}
  • Auth
    HTTP bearer

Request body

Example request

{
  "over_limit": {
    "enable": true
  },
  "limit_refund": {
    "enable": true
  }
}

Response

Created

Example response

{
  "over_limit": {
    "enable": true
  },
  "limit_refund": {
    "enable": true
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.