https://b-api.lbkrs.com/v2/billing/billing_packageAuthorization
Send the Broker ACCESS_TOKEN as Authorization: Bearer <token>.
Permission
The Broker ACCESS_TOKEN must be granted the permission above, or the call will be rejected.
Request body application/json
This field is required.
Corresponds to the ORG_PACKAGE_TYPE and similar category enums in the first step of the form wizard.
1- General
2- FD Biz
Org ID associated with this request.
The field name is spelled as in the API (maket_rule_ids, not market_rule_ids); elements are rule IDs (number).
Each array item has the form { billing_item_id, currency, max, min, threshold }.
billing_item_id identifies the billing scenario, currency is a currency code, and
max, min, and threshold are numeric strings.
Array elements { gt, lte, fee_rate, min }: configure the fee rate fee_rate and minimum charge min per interval (greater than gt, less than or equal to lte).
An enum value whose exact meaning was not confirmed in the client; it cascades according to the structure returned by billingItemFields.
1- Fixed Rate
2- Single-Step Tiered Rate
3- Monthly Tiered Rate
4- Floating Rate
5- Floating Rate Single-Tier
This field is required.
Uses the same metric_type enum as the billing scenario, sourced from the
billing_metric_type reference data.
1- Transaction Quantity(Fractional support)
2- Transaction Amount/Other Amount
3- Single Billing By Corresponding granularity
4- Options Quantity
5- Upstream
6- Number Of Billing Contracts
7- Number Of Orders
8- Number Of Transactions
9- Value Of Positions
10- Calculation Based On Existing Scenarios
11- Market Value Of Securities Lending
13- Transaction Quantity Of Board Lot (Transfer Warehouse)
14- Market Value (Transfer Warehouse)
15- Number of Ems Orders
The enum is the same as ref billing_granularity.
1- Contract
2- Order
3- Trade Done
4- Ems Order
Enum is the same as the billing_fee_cutoff_method reference.
0- Follow the scene
1- Round (round half up)
2- Round up
3- Round down
This field is required.
Each item is a number and follows the same rules as the field with the same name in the billing scenario.
Array elements { max, min, threshold, max_metric_type, max_metric_rate, min_metric_type, name, rate, metric_type, granularity, cutoff_method, cutoff_digits }, used to add special rate items to the package.
Array element { field, value }:
field: Condition field number (integer) identifying which business dimension the condition applies to. For example,3denotes the account/counter condition.value: The selected value for the condition, as a string.
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