Skip to content
Rate Setups(Package-based)

Copy Billing Package

Copy a billing package into a new one by the source package id.

Request parameters

  • Required: id (id of the source billing package to copy).

Result

On success, the copy is created and the response data is an empty object. Retrieve the newly created package through the package list or detail endpoint.

POSThttps://b-api.longbridge.xyz/billing/copy_billing_package

Authorization

AuthorizationstringheaderRequired

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

Request body application/json

idstringrequired

Id of the source billing package to copy.

Responses

HTTP 200The request was processed successfully. The copy is complete and data is an empty object.
Standard response envelopecodemessagedata
dataobjectdata structure

No nested fields

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