https://b-api.longbridge.xyz/billing/billing_itemAuthorization
Send the Broker ACCESS_TOKEN as Authorization: Bearer <token>.
Request body application/json
Business Type. Enum from ref billing_biz_type_all; determines subsequent options (such as billing method / billing target).
Fee Name ID. From the names list returned by the billingItemName({biz_type}) endpoint, queried in a cascade based on the current biz_type.
Basis Object (structured). The value of the BasisObject form component { basis_type, basis }: basis_type comes from ref billing_basis_type (e.g. market / currency / billing item), and basis is the concrete value (market uses global_market, currency uses global_currency_filter_by_account_channel, billing item is plain text).
Basis Type. A top-level field expanded from basis_object.basis_type on submit, matching the value inside basis_object.
Basis Value. A top-level field expanded from basis_object.basis at submission time.
Fee Direction. The enum comes from ref billing_item_direction; the options are filtered by the bizMap corresponding to biz_type.
Divisor. Dropdown options generated by filtering bizMap's allow_options for the given biz_type.
Metric Type. Enum from ref billing_metric_type, filtered by the bizMap corresponding to biz_type.
Secondary Bill Amount Item IDs. Required only when metric_type = calculation based on existing scenarios (BillingMetricType.CalculationBasedOnExistingScenarios); comes from the multi-select result of the templateId=billing_item_for_secondary_item table.
Granularity. Values come from ref billing_granularity, filtered by biz_type via bizMap.
Benchmark Rate Formula. Shown only when the bizMap for the given biz_type has a benchmark_rate config; a plain number with up to 10 decimal places.
Cutoff Object (structured). { cutoff_method, cutoff_digits }; the cutoff_method enum comes from ref billing_fee_cutoff_method.
Cutoff Method. A top-level field expanded from cutoff_object.cutoff_method on submission.
Cutoff Digits. A top-level field expanded from cutoff_object.cutoff_digits at submission time.
Responses
HTTP 200No confirmable field definitions are available for the response yet.codemessagedatadataobjectdata structureNo nested fields