https://b-api.lbkrs.com/billing/single_item_package/{id}Authorization
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.
Parameters
idstringRequiredId of the single item package to edit.
Request body application/json
Single item package name.
Associated securities account (optional).
Pass the internal numeric ID of the customer's securities account (aaid), not the securities account number account_no (such as H00000000) or the customer ID member_id. One customer can have multiple aaid values.
Fee detail. Same structure as the fee returned by "Single Item Package Detail" (billing_item_id, currency, min / max / threshold, rates, special_fees, metric_type, granularity, etc.).
Child attributes
Billing item (fee scenario) ID.
Currency code, e.g. HKD.
Number of digits kept when cutting off.
Rounding (cut-off) method code.
Fee rate type code.
Metering granularity code.
Calculation method code.
Fee cap (numeric string).
Fee floor (numeric string).
Threshold (numeric string).
Metering method code.
Metering cycle type code.
Cap metering method code; 0 means no cap.
Floor metering method code; 0 means no floor.
Cap rate.
Floor rate.
Secondary billing item IDs.
Custom fee list; pass an empty array when none.
Rate bands, at least one.
Child attributes
Band lower bound (exclusive).
Band upper bound (inclusive); 0 means no upper bound.
Fee rate for this band.
Minimum fee for this band.
Responses
HTTP 200The request was processed successfully. The response data is an empty object.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