Skip to content
Withdrawal Reconciliation

Withdrawal Reconciliation

Query the bank reconciliation batches for the withdrawal business, used to check whether Longbridge's internal withdrawal ledger matches the bank-side records for each trade date, bank account, and currency.

Request parameters

  • Combine business filter conditions through filters (see the filters field notes below for optional fields), and use page, page_size, and orderBy to control pagination and sorting.

Business notes

Each record represents one batch of withdrawal reconciliation results for a given bank account on a given trade date and currency.

A record carries the amount and count on the Longbridge (upstream) side and the bank (downstream) side, the matched (balanced) amount and count, and the reconciliation state (such as unreconciled).

Finance operations use it to reconcile withdrawal funds by trade date and quickly locate batches that contain discrepancies.

Returns

On success, returns the matched record list with pagination info. See the response definition for the meaning of each returned column.

POSThttps://b-api.lbkrs.com/v1/datasets/booking_reconciliation_batches_withdraw

Authorization

AuthorizationstringheaderRequired

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

Permission

cmbc.reconciliation_deposit_withdraw_query

The Broker ACCESS_TOKEN must be granted the permission above, or the call will be rejected.

Request body application/json

filtersobject

Filters. Combines business filters. Omit a filter field to disable that filter.

Child attributes
lb_bank_account_idstring

Bank Account. Filters results by Bank Account.

Values are dynamic. Call GET /v1/datasets/refs/company_bank_account_config to retrieve the current data dictionary, and use the returned entry's key as this parameter's value.

trade_datestring

Reconciliation Date. Filters results by Reconciliation Date.

currencystring

Currency. Filters results by Currency.

Values are dynamic. Call GET /v1/datasets/refs/tenant_currencies_by_channel to retrieve the current data dictionary, and use the returned entry's key as this parameter's value.

statestring

Reconciliation Results. Filters results by Reconciliation Results.

Allowed values: 1 Reconciled, 2 Unreconciled

Values
1
Reconciled
2
Unreconciled
pageinteger

Page. Page number to retrieve, starting from 1.

page_sizeinteger

Page Size. Number of records to return per page.

orderByarray<object>

Order By. Array of sorting rules. Each item defines a sort field and direction.

Responses

HTTP 200On success, returns paginated Withdrawal Reconciliation records together with pagination metadata such as the page number, page size, and total record count.
Standard response envelopecodemessagedata
dataobjectdata structure
listarray<object>required

List. Returned value: List of list.

Child attributes
idstring

Check number. Returned value: Unique identifier of the current record.

trade_datestring

Reconciliation Date. Returned value: Reconciliation Date. The date or time format follows the value returned by the API.

lb_simple_namestring

Bank Abbreviation. Returned value: Bank Abbreviation.

lb_bank_accountstring

A/C No.. Returned value: A/C No..

lb_bank_namestring

Bank Name. Returned value: Bank Name.

currencystring

Currency. Returned value: Currency.

upstream_amountstring

Accumulated amount on this end. Returned value: Accumulated amount on this end.

upstream_countstring

Cumulative number of transactions on this side. Returned value: Cumulative number of transactions on this side.

downstream_amountstring

Peer Accumulated Amount. Returned value: Peer Accumulated Amount.

downstream_countstring

Cumulative number of peer-to-peer transactions. Returned value: Cumulative number of peer-to-peer transactions.

flat_countstring

Flat Count. Returned value: Flat Count.

flat_amountstring

Flat Amount. Returned value: Flat Amount.

statestring

Reconciliation Results. Returned value: Reconciliation Results.

state_valstring

Reconciliation Results (raw value). Raw value of state. The state field contains the display value resolved through a dictionary or related record; this field contains the underlying code or ID.

created_atstring

Created Time. Returned value: Created Time. The date or time format follows the value returned by the API.

totalintegerrequired

Total. Returned value: Total number of matching records, used for pagination.

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