Skip to content
Exchange Service Control

Update Service Strategy

Edit an FX service strategy. The field structure matches "Add FX strategy"; the target strategy's id is required when editing.

Request parameters

  • Required: id (strategy ID)
  • The remaining fields follow "Add FX strategy". See each field's definition for its format, value range, default behavior, and business meaning.

Business notes

id identifies the FX strategy to edit; the remaining fields (service strategy, channel, supported currency pairs, service time, FX mode, spread-bearing method, etc.) have the same meaning as in the create endpoint.

Risk warning

This operation changes an FX strategy configuration and may affect the FX service that takes effect for customers under that strategy. Confirm the target strategy and parameters before calling.

Result

On success the FX strategy is updated; see the 200 response definition for the returned content.

POSThttps://b-api.lbkrs.com/forex/service_strategy_update

Authorization

AuthorizationstringheaderRequired

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

Permission

lb_hk_conversion.exchangeserve_update

The Broker ACCESS_TOKEN must be granted the permission above, or the call will be rejected.

Request body application/json

idstringrequired

Strategy ID associated with this request.

change_typestringrequired

change_type.

Allowed values: 0 All, 1 Large-amount exchange, 2 Small-amount exchange (within the pool), 3 Small-amount exchange (beyond the pool)

Values
0
All
1
Large-amount exchange
2
Small-amount exchange (within the pool)
3
Small-amount exchange (beyond the pool)
service_strategystringrequired
channel_namestringrequired

Required when it is not the default strategy and channels must be distinguished.

support_currencyarray<string>required

An array of supported currency pairs, each a USD/HKD-style string (assembled from each item's currency_prefix/currency_suffix in support_currencies).

The candidate currency pairs come from the supported currency-pair list returned by POST /forex/query_support_currency.

service_timestringrequired

A JSON string assembled from the segmented request fields service_time.time_zones/time_rule/time_rule_0, etc. The structure is fairly complex (covering time zones and time-slot rules); the inner fields are not exhaustively enumerated here.

verify_pool_limitstring

Verification pool limit configuration.

isDefaultstring

Flag indicating whether this is the default strategy; options come from a backend data dictionary.

audit_frontend_resourceobject

Caller-attached audit context capturing the pre-update strategy snapshot.

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