Skip to content
Withdrawal - Pending

Direct Withdraw to Expenditure Account

Transfers Withdraw to Expenditure Account.

Request parameters

  • Required: bank_account_id (Bank Account ID), bank_channels_id (Bank Channel ID), details (Withdraw Detail List)
  • Optional: starting_check_number (Starting Check Number), audit_frontend_resource (Audit Context)
  • See each field for its format, allowed values, and business meaning.

Risk notice

This operation may change real cash balances, positions, or transaction state. Verify the target records and parameters before calling it.

Result

On success, the endpoint completes the operation. See the 200 response schema for returned data and subsequent state information.

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

Authorization

Authorizationstringheaderatm.direct_withdrawRequired

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

Request body application/json

starting_check_numberstring

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

bank_account_idstringrequired

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 Context. Audit information automatically attached by the client, 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 200The request was processed successfully. The response data does not contain additional business fields.
Standard response envelopecodemessagedata
dataobjectdata structure

No nested fields

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