Skip to content
Balance Blocking Rules

Edit Balance Blocking Rule

Edits a single balance blocking rule, updating its warning amount and intercept amount.

Request parameters

  • Required: id (rule ID), warning_amount (warning amount), intercept_amount (intercept amount).
  • id identifies the rule to edit and typically comes from a Balance Blocking Rules list record.
  • warning_amount and intercept_amount are non-negative integer amounts; the currency follows the rule's own configuration.

Result

On success, the rule's warning amount and intercept amount are updated. The response data does not contain additional business fields.

POSThttps://b-api.longbridge.xyz/atmrisk/modify_balance_rule

Authorization

AuthorizationstringheaderRequired

Send the Broker ACCESS_TOKEN as Authorization: Bearer <token>.

Request body application/json

idstringrequired

ID of the balance blocking rule to edit, used to locate the target rule. This field is required.

warning_amountintegerrequired

Warning amount, a non-negative integer. A warning is triggered when the account balance falls below this threshold. The currency follows the rule's own configuration. This field is required.

intercept_amountintegerrequired

Intercept amount, a non-negative integer. Withdrawals are intercepted when the account balance falls below this threshold. The currency follows the rule's own configuration. This field is required.

Responses

HTTP 200The request was processed successfully. The response data does not contain additional business fields.
Standard response envelopecodemessagedata
dataobjectdata structure

No nested fields

HTTP 400Bad request. Check the business error code in code and the error details in message.
Standard response envelopecodemessagedata
dataobjectdata structure

No nested fields

HTTP 401The user is not authenticated, or the login session has expired.
Standard response envelopecodemessagedata
dataobjectdata structure

No nested fields

HTTP 403The current account is not authorized to use this feature. Grant the required permission to the account in User Permission.
Standard response envelopecodemessagedata
dataobjectdata structure

No nested fields

HTTP 408The request timed out. Check the business error code in code and the error details in message.
Standard response envelopecodemessagedata
dataobjectdata structure

No nested fields

Whale Docs