https://b-api.lbkrs.com/v2/billing/billing_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
idstringRequiredPackage ID
Request body application/json
Package name.
Package type.
Organization ID.
Fee items; each is an object (fields below).
Child attributes
Billing item (fee scenario) ID.
Currency code, e.g. HKD.
Fee cap (numeric string).
Fee floor (numeric string).
Threshold (numeric string).
Calculation method code.
Fee rate type code.
Metering method code.
Metering cycle type code.
Metering granularity code.
Rounding (cut-off) method code.
Number of digits kept when cutting off.
Cap metering method code; 0 means no cap.
Cap rate.
Floor metering method code; 0 means no floor.
Floor rate.
Secondary billing item IDs.
Custom fee list; pass an empty array when none.
Rate bands, at least one; missing or invalid bands return Abnormal rate range configuration.
Child attributes
Lower bound of the band (exclusive).
Upper bound of the band (inclusive); 0 means no upper bound.
Fee rate for the band.
Minimum fee for the band.
Market rule IDs.
Provides audit context for this operation.
Responses
HTTP 200The request was processed successfully. The response data does not contain additional business fields.codemessagedatadataobjectdata structureHTTP 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