Skip to content
Longport Whale
New Account Management

Create/Edit OB Account

Submitted by the "New"/"Edit" form on the IPO-subscription account management page, creating or editing an OB IPO-subscription account; the id is carried when editing, while ob_channel and aaid can only be entered on create. It changes real IPO-subscription account data.

POSThttps://b-api.longbridge.xyz/ob/manage/account

Authorization

AuthorizationstringheaderRequired

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

Request body application/json

idstring

Account Record ID. Sent only when editing; not sent when creating.

ob_channelstringrequired

OB Channel. Values come from the account_channels dynamic enumeration (dynamically provided); not editable after creation.

aaidnumberrequired

Account Number. An AAID input, converted to a number on submit; not editable after creation.

methodsstringrequired

Support Methods. Multi-select; values: CASH = cash subscription, FINANCING = margin subscription.. Options: CASH = Cash; FINANCING = Financing

CASHFINANCING

remarkstring

Remark. Submits an empty string when left blank.

radiostring

Financing Radio. Only when methods includes FINANCING, the front end always attaches radio: '0.00' (no input field; a fixed value).

Responses

HTTP 200No confirmable field definitions are available for the response yet.
Standard response envelopecodemessagedata
dataobjectdata structure

No nested fields

Whale Docs