Skip to content
Crypto Approval

Add Withdraw Audit Rule

Add Withdraw Audit Rule.

Request parameters

  • Required: rule_name (Rule Name), priority (Priority), upstream_broker (Channel), account_nos (Applicable Accounts), broker_allocate_states (Company Fund Allocation Status), coin_quantity_list (Crypto & Quantity Range List), delay_time (Review Delay Time), audit_type (Audit Type), status (Status)
  • Optional: equivalent_usd (Equivalent USD Amount Range), remark (Remark)
  • See each field for its format, allowed values, and business meaning.

Result

On success, the endpoint completes the operation. See the 200 response schema for returned data and subsequent state information.

POSThttps://b-api.longbridge.xyz/v1/atm/va/add/withdraw/audit/rule

Authorization

AuthorizationstringheaderRequired

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

Request body application/json

rule_namestringrequired

Specifies Rule Name. This field is required.

prioritynumberrequired

Processing priority. Interpret the value and sort order according to the allowed-value definitions. This field is required.

upstream_brokerstringrequired

Distinguishes the upstream party for the deposit account; the only front-end option is currently HASHKEY.

Allowed values: HASHKEY

HASHKEY · HASHKEY

account_nosstringrequired

For "All Accounts" pass all; for "Specified Accounts" pass multiple securities account numbers separated by commas.

broker_allocate_statesstringrequired

Broker-allocation statuses. Select multiple values and join them with a comma , when submitting.

4 · Success5 · Failed6 · Abnormal7 · Rejected

coin_quantity_listarray<string>required

A dynamic list where each item is { coin: currency (values come from the tenant_crypto_currencies dynamic enum), quantity_min: minimum quantity, quantity_max: maximum quantity }.

Call GET /v1/datasets/refs/tenant_crypto_currencies to retrieve the current data dictionary, and use the returned entry's key as this field's value.

equivalent_usdobject

{ amount_min, amount_max }, an optional numeric range.

delay_timenumberrequired

In minutes; value range 1–999.

audit_typestringrequired

Audit type.

auto_pass · Auto Approvedauto_reject · Auto Rejectedmanual_ticket · Ticket Approval

statusstringrequired

enabled - Enabled, disabled - Disabled

remarkstring

Specifies Remark.

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