Skip to content
Longport Whale
Sub Account

Sub Account

Query the Sub Account list.

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

Authorization

AuthorizationstringheaderRequired

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

Request body application/json

filtersobject

Filters

Child attributes
filters.member_idstring

Client

filters.sub_account_nostring

Sub Account No

filters.lb_bank_account_idstring

Bank Name. Values are dynamically queried from lb_bank_accounts (not fixed); fetch them live via GET /v1/datasets/refs/lb_bank_account_config.

filters.statestring

Activation Status. Options: 0 = Opening; 1 = Opened; 2 = Deleting; 3 = Deleted; 4 = Closed

01234

filters.opened_atobject

Open Time. Range filter; both bounds are optional (omit a bound to leave that side unbounded).

Child attributes
filters.opened_at.gtestring

Greater Than or Equal

filters.opened_at.ltestring

Less Than or Equal

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