https://b-api.longbridge.xyz/billing/company_feeAuthorization
Send the Broker ACCESS_TOKEN as Authorization: Bearer <token>.
Request body application/json
The rate record id; displayed and submitted with the form when editing.
In edit mode this field is not editable; the original value is only displayed and submitted with the form.
The selected billing-item id; populated from the detail data in edit mode.
A billing-item object, containing fields such as id/name_loc.
Allowed values:
1- Transaction Quantity(Fractional support)2- Transaction Amount3- Single Billing By Corresponding granularity4- Options Quantity5- Upstream6- Number Of Billing Contracts7- Number Of Orders8- Number Of Transactions9- Value Of Positions10- Calculation Based On Existing Scenarios11- Market Value Of Securities Lending13- Transaction Quantity Of Board Lot (Transfer Warehouse)14- Market Value (Transfer Warehouse)15- Number of Ems Orders
1 · Transaction Quantity(Fractional support)2 · Transaction Amount3 · Single Billing By Corresponding granularity4 · Options Quantity5 · Upstream6 · Number Of Billing Contracts7 · Number Of Orders8 · Number Of Transactions9 · Value Of Positions10 · Calculation Based On Existing Scenarios11 · Market Value Of Securities Lending13 · Transaction Quantity Of Board Lot (Transfer Warehouse)14 · Market Value (Transfer Warehouse)15 · Number of Ems Orders
Required when metric_type is not "charge by contract count"; a numeric string with up to 10 decimal places.
Values come from billing_package_fee_type_ref: 1 = fixed (FIXED), 2 = floating
(FLOAT), 6 = tiered, and 7 = floating tiered. Broker billing does not support
monthly tiers (3).
Allowed values:
1- FIXED2- FLOAT6- SINGLE_STEP7- FLOAT_SINGLE_STEP
1 · FIXED2 · FLOAT6 · SINGLE_STEP7 · FLOAT_SINGLE_STEP
Derived from fee_rate_type: floating types (2, 7) are "2", the rest are "1".
Used when fee_rate_type=1 (fixed rate); each element is { fee_rate: string }.
The final rate structure generated based on fee_rate_type; elements contain fields such as gt/lte/fee_rate.
Values come from the global_currency_filter_by_account_channel dynamic enumeration and are not fixed.
Call GET /v1/datasets/refs/tenant_currencies_by_channel to retrieve the current data dictionary, and use the returned entry's key as this field's value.
Specifies Minimum Fee. This field is required.
Specifies Maximum Fee. This field is required.
The raw form object { max_metric_type, max_metric_rate }.
0 = disabled, 1 = enabled; expanded from max_metric.max_metric_type.
Allowed values:
0- Disabled1- Enabled
0 · Disabled1 · Enabled
The rate value when the maximum-ratio limit is enabled; divided by 100 before submission.
Allowed values:
1- Contract2- Order3- Trade_done4- Ems_order
1 · Contract2 · Order3 · Trade_done4 · Ems_order
the request field raw object { min_metric_type, min_metric_rate }.
Expanded from min_metric.min_metric_type.
Expanded from min_metric.min_metric_rate.
Allowed values:
1- Round2- Round Up3- Round Down
1 · Round2 · Round Up3 · Round Down
Allowed values: 0, 1, 2, 3
0 · 01 · 12 · 23 · 3
Fixed logic: 4 when fee_rate_type is monthly-tiered (3), otherwise 0; always 0 for agent billing.
The array of differentiated rate conditions maintained by the SpecialFeeFields component.
Audit metadata attached on submit; in the edit scenario it always includes { isEdit: true } and the original detail data.
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