https://b-api.longbridge.xyz/billing/billing_item/{id}Authorization
Send the Broker ACCESS_TOKEN as Authorization: Bearer <token>.
Parameters
idstringRequiredCharging scene id, supplied in the path.
Responses
HTTP 200The request was processed successfully. data contains the full configuration of the charging scene.codemessagedatadataobjectdata structureFull configuration of the charging scene.
Charging scene id.
Business type. The value comes from the billing_business_type_all data dictionary and
determines the available downstream options (such as metric type and billing object).
Call GET /v1/datasets/refs/billing_business_type_all to retrieve the current data dictionary.
Billing basis type, consistent with basis_object.basis_type used when creating or editing.
Billing basis value (such as currency or underlying), depending on basis_type.
Metric type. The value comes from the billing_metric_type data dictionary; the actual
allowed range follows the field rules returned by GET /billing/item_fields for the given biz_type.
Billing direction. The value comes from the billing_item_direction data dictionary; the actual
allowed range follows the field rules returned by GET /billing/item_fields for the given biz_type.
Billing granularity. The value comes from the billing_granularity data dictionary; the actual
allowed range follows the field rules returned by GET /billing/item_fields for the given biz_type.
Configuration type.
Fee rate type.
Associated billing name id (references a billing name entry).
Localized display text of the billing name.
Billing coefficient (multiplier).
Billing divisor.
Rounding / truncation method.
Number of digits kept for rounding / truncation.
Benchmark rate.
When metric_type is "Calculation Based On Existing Scenarios", the list of existing charging
scene ids used as the billing base; otherwise usually an empty array.
Whether the charging scene copywriting is shown: 0 hidden, 1 shown.
Charging scene copywriting content, a localized object (zh-CN / zh-HK / en).
Remark, a localized object (zh-CN / zh-HK / en).
Merchant information, a localized object (zh-CN / zh-HK / en).
Billing name (may be null; usually displayed via name_id / name_loc).
Creation time, Unix timestamp in seconds.
Last update time, Unix timestamp in seconds.
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