PUT
https://b-api.longbridge.xyz/billing/market/ruleAuthorization
Send the Broker ACCESS_TOKEN as Authorization: Bearer <token>.
Request body application/json
Id of the market rule to edit.
Rule name.
Applicable market, e.g. US, HK.
Whether to merge billing: 1 merge, 0 do not merge.
Whether grey-market trades are merged for billing: 1 merge, 0 do not merge.
List of rule items. Each item has order_sources (order source list) and merge_tag.
Child attributes
Responses
HTTP 200The request was processed successfully. The response data is an empty object.Standard response envelope
codemessagedatadataobjectdata structureNo nested fields
HTTP 400Bad request. Check the business error code in code and the error details in message.Standard response envelope
codemessagedatadataobjectdata structureNo nested fields
HTTP 401The user is not authenticated, or the login session has expired.Standard response envelope
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.Standard response envelope
codemessagedatadataobjectdata structureNo nested fields
HTTP 408The request timed out. Check the business error code in code and the error details in message.Standard response envelope
codemessagedatadataobjectdata structureNo nested fields