https://b-api.lbkrs.com/v1/portfolio/atm/direct/withdrawAuthorization
Send the Broker ACCESS_TOKEN as Authorization: Bearer <token>.
Permission
The Broker ACCESS_TOKEN must be granted the permission above, or the call will be rejected.
Request body application/json
Starting check number. When paying out by check, the first check serial number assigned to this batch; later details increment from it. A 6-digit number. Required only for check-based withdrawals; omit otherwise.
Receiving bank account ID. First filter the available Longbridge receiving bank accounts by bank name, then select one account's ID.
Withdrawal channel ID. After selecting a receiving bank account, choose a channel ID from the channels available to that account. Take the key from GET /v1/datasets/refs/withdraw_company_bank_channels whose name starts with the chosen account's short name (e.g. ICBC0012-HKD_网银_FPS).
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.
Child attributes
Withdraw detail id (id of a row in atm_withdraw_pending_details).
Bank channel serial number of the detail (bank_channel_serial_no); may be empty.
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.codemessagedatadataobjectdata structureNo nested fields
HTTP 400Bad request. Check the business error code in code and the error details in message.codemessagedatadataobjectdata structureNo nested fields
HTTP 401The user is not authenticated, or the login session has expired.codemessagedatadataobjectdata structureNo nested fields
HTTP 403The current account is not authorized to use this feature. Grant the required permission to the account in User Permission.codemessagedatadataobjectdata structureNo nested fields
HTTP 408The request timed out. Check the business error code in code and the error details in message.codemessagedatadataobjectdata structureNo nested fields