https://b-api.longbridge.xyz/atmrisk/modify_balance_ruleAuthorization
Send the Broker ACCESS_TOKEN as Authorization: Bearer <token>.
Request body application/json
ID of the balance blocking rule to edit, used to locate the target rule. This field is required.
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 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.codemessagedatadataobjectdata structureNo nested fields
HTTP 400Bad request. Check the business error code in code and the error details in message.codemessagedatadataobjectdata structureNo nested fields
HTTP 401The user is not authenticated, or the login session has expired.codemessagedatadataobjectdata structureNo nested fields
HTTP 403The current account is not authorized to use this feature. Grant the required permission to the account in User Permission.codemessagedatadataobjectdata structureNo nested fields
HTTP 408The request timed out. Check the business error code in code and the error details in message.codemessagedatadataobjectdata structureNo nested fields