Skip to content
All Client Fee List

Delete Data Source

Channel Exchange Order and Settlement Contract share this endpoint. Each uses its own deleteDataSource wrapper with the same parameter structure. This operation affects live accounting-entry source data.

Request parameters

  • Required: source_id (Source ID), tx_no (Transaction No.)
  • See each field for its format, allowed values, default behavior, and business meaning.

Result

On success, the endpoint completes the described business operation. See the 200 response schema for returned data.

POSThttps://b-api.longbridge.xyz/book/delete_data_source

Authorization

AuthorizationstringheaderRequired

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

Request body application/json

source_idnumberrequired

Enum BookkeepingSourceType.

Allowed values:

  • 1 - Payment Flow
  • 2 - Bank Statement
  • 3 - Channel Statement
  • 4 - IB Accrued Interest
  • 5 - IB Commission Cost
  • 6 - Client Fee Statement
  • 7 - CCASS Statement
  • 8 - IPO Statement
  • 9 - Other Fee Statement
  • 10 - FD Client Fee Statement
  • 11 - Business Statistics Statement
  • 12 - Channel Exchange Order
  • 13 - Atomic Vaults Statement
  • 14 - Settlement Contract
  • 15 - IFAST Statement
  • 16 - OB Account Payment Transactions
  • 17 - OB Account Settlement Contract

1 · Payment Flow2 · Bank Statement3 · Channel Statement4 · IB Accrued Interest5 · IB Commission Cost6 · Client Fee Statement7 · CCASS Statement8 · IPO Statement9 · Other Fee Statement10 · FD Client Fee Statement11 · Business Statistics Statement12 · Channel Exchange Order13 · Atomic Vaults Statement14 · Settlement Contract15 · IFAST Statement16 · OB Account Payment Transactions17 · OB Account Settlement Contract

tx_nostringrequired

Specifies Transaction No.. This field is required.

Responses

HTTP 200The request was processed successfully. The response data does not contain additional business fields.
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