Skip to content
Longport Whale
Withdrawal - Pending

Direct Withdraw to Expenditure Account

The in-row/batch "Debit Directly from Account" button on the Withdrawal - Pending list, submitted via a dialog; details come from the selected withdrawal detail list, and bank_account_id/bank_channels_id come from the bank account/channel dropdowns. It has a 5-minute timeout (an asynchronous batch-processing endpoint) and involves real fund withdrawal.

POSThttps://b-api.longbridge.xyz/v1/portfolio/atm/direct/withdraw

Authorization

AuthorizationstringheaderRequired

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

Request body application/json

starting_check_numberstring

Starting Check Number. A form field provided by useBankDetail; whether it is required is controlled by the internal rules of commonFormData.

bank_account_idstringrequired

LB Bank Account ID. Dropdown options come from atmBankAccountIdOptions of useBankDetail.

bank_channels_idstringrequired

Bank Channel ID. Dropdown options come from the bank channel query data.

detailsarray<string>required

Withdraw Detail List. Array element structure: {withdraw_detail_id: withdrawal detail ID, withdraw_detail_serial_no: bank channel serial number}, from the rows selected in the dialog.

audit_frontend_resourceobject

Audit Frontend Resource. Audit information automatically attached by the front end, including $behavior/$action (single add / batch bulk_add), the account name for bank_account_id, the channel name for bank_channels_id, etc.

Responses

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

No nested fields

Whale Docs