Skip to content
Agent Billing

Personal Fee Detail

Retrieve the fee configuration of a single personal fee record by id.

Request parameters

  • Required: id (personal fee record id), supplied in the path.

Result

On success, data.fee contains the fee configuration (same structure as Company Fee Detail). See the 200 response fields for the meaning of each field.

GEThttps://b-api.longbridge.xyz/billing/personal_fee/{id}

Authorization

AuthorizationstringheaderRequired

Send the Broker ACCESS_TOKEN as Authorization: Bearer <token>.

Parameters

idstringRequired

Personal fee record id, supplied in the path.

Responses

HTTP 200The request was processed successfully. data.fee contains the fee configuration.
Standard response envelopecodemessagedata
dataobjectdata structure
feeobject

Fee configuration, same structure as "Company Fee Detail". Key sub-fields:

  • billing_item_id: id of the associated charging scene.
  • currency: currency.
  • min / max / threshold: billing range and starting threshold.
  • rates: tiered rate list; each tier has gt, lte, fee_rate, min.
  • fee_rate_type: fee rate type.
  • special_fees: special rate list (with conditions).
  • metric_type / granularity: metric type and billing granularity.
  • cutoff_method / cutoff_digits: rounding method and retained digits.
  • billing_item: embedded charging scene configuration; fields are the same as "Charging Scene Detail".
  • calculation_method: calculation method.
HTTP 400Bad request. Check the business error code in code and the error details in message.
Standard response envelopecodemessagedata
dataobjectdata structure

No nested fields

HTTP 401The user is not authenticated, or the login session has expired.
Standard response envelopecodemessagedata
dataobjectdata structure

No nested fields

HTTP 403The current account is not authorized to use this feature. Grant the required permission to the account in User Permission.
Standard response envelopecodemessagedata
dataobjectdata structure

No nested fields

HTTP 408The request timed out. Check the business error code in code and the error details in message.
Standard response envelopecodemessagedata
dataobjectdata structure

No nested fields

Whale Docs