Skip to content
Longport Whale
Risk Control Deposit Rules

Modify Deposit Audit Rule

Submitted by the inline "Edit" dialog in the Risk Control Deposit Rules list; its field structure is largely the same as "Add" (see deposit_audit_rule_create.json in the same directory), plus an id. Note: lb_bank_account_ids is the field name actually assembled and sent (the service type declares lb_bank_channel_ids, a legacy naming inconsistency; the actually-sent lb_bank_account_ids is authoritative); rule_status is not in the service type annotation but is also sent in practice.

POSThttps://b-api.longbridge.xyz/atm/deposit/audit/rule/modify

Authorization

AuthorizationstringheaderRequired

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

Request body application/json

idstringrequired

Rule ID. The primary-key id of the rule to edit, from the list row's currentRecord.id.

rule_namestringrequired

Rule Name

lb_bank_account_idsstringrequired

Deposit Bank Account IDs. Multiple values joined by commas, from a tree-select multi-selection; ref key: atm_ref_lb_bank_account_and_name_by_id.

deposit_fromstringrequired

Deposit From. Multiple values joined with commas; ref key: atm_deposit_from.

hit_rulesstringrequired

Hit Rules. Multiple values joined by commas; ref key: aml_deposit_rules.

currenciesstringrequired

Currencies. Multiple values joined by commas; ref key: global_currency_filter_by_account_channel.

left_valuestringrequired

Amount Range Left Value. From value_range[0].

right_valuestringrequired

Amount Range Right Value. From value_range[1].

audit_resultstringrequired

Audit Result/Strategy. ref key: atm_rule_audit_result, with enum values such as pass/reject.

remark_reasonstring

Remark Reason. Shown and submitted only when audit_result=reject; sourced from useRemarkField(remarkKey.deposit_reject).

remark_config_typestring

Remark Config Type. From values.remark_reason_config_type; only has a value when the rejection-reason field is shown.

client_to_see_remarkboolean

Client Can See Remark. A checkbox shown only when audit_result=reject; defaults to false.

prioritystringrequired

Priority

rule_statusstringrequired

Rule Status. ref key: atm_deposit_audit_rule_status, e.g. enable/disable; the form default is enable.

Responses

HTTP 200No confirmable field definitions are available for the response yet.
Standard response envelopecodemessagedata
dataobjectdata structure

No nested fields

Whale Docs