https://b-api.longbridge.xyz/forex/service_strategy_addAuthorization
Send the Broker ACCESS_TOKEN as Authorization: Bearer <token>.
Request body application/json
Boolean flag for is default.
Boolean values:
true- The condition appliesfalse- The condition does not apply
Specifies Change Type.
Specifies Service Strategy.
Required when it is not the default strategy and channels must be distinguished.
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.
The request field support_currency raw array, which is moved entirely under the support_currencies key before submission.
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.
Boolean flag for is combine.
Boolean values:
true- The condition appliesfalse- The condition does not apply
Specifies Forex Mode.
Specifies Bear Wave.
Specifies Currency Prefix.
Specifies Currency Suffix.
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