Skip to content
Longport Whale
Settlement Contract

Settlement Contract

Query the Settlement Contract list.

POSThttps://b-api.longbridge.xyz/v1/datasets/holding_contract_bills

Authorization

AuthorizationstringheaderRequired

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

Request body application/json

filtersobject

Filters

Child attributes
filters.contract_nostring

Contract No

filters.idstring

ID

filters.account_atobjectrequired

Account Date. Range filter; both bounds are optional (omit a bound to leave that side unbounded). Defaults to 1 day(s) ago (rolling relative to the request date) when omitted.

Child attributes
filters.account_at.gtestring

Greater Than or Equal

filters.account_at.ltestring

Less Than or Equal

filters.currencystring

Currency. Values are dynamically queried from global_currency_filter_by_account_channel (not fixed); fetch them live via GET /v1/datasets/refs/tenant_currencies_by_channel.

filters.biz_codestring

Business type. Values are dynamically queried from pg_book_types_contact_bill_code (not fixed); fetch them live via GET /v1/datasets/refs/book_bill_stat_business_type.

pageinteger

Page

page_sizeinteger

Page Size

orderByarray<object>

Order By

Responses

HTTP 200Paginated list result.
Standard response envelopecodemessagedata
dataobjectdata structure
listarray<object>required

List

totalintegerrequired

Total

Whale Docs