Skip to content
Company Fund Allocation

Company Fund Allocation

Whale Transfer.

Request parameters

  • Required: transfer_type (Transfer type), from_type (Source party type), from_main_account (Source main account), from_main_account_type (Source main account type), from_account_id (Source account id), to_type (Target party type), to_main_account (Target main account), to_main_account_type (Target main account type), to_account_id (Target account id), allocation_channel (Allocation channel), currency (Currency), amount (Amount), postscript (Postscript)
  • See each field for its format, allowed values, and business meaning.

Result

On success, the endpoint completes the operation. See the 200 response schema for details.

POSThttps://b-api.longbridge.xyz/atm/whale/transfer

Authorization

Authorizationstringheaderatm.company_fund_allocation_operationRequired

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

Request body application/json

transfer_typestringrequired

Transfer type. Specifies Transfer type. This field is required.

from_typestringrequired

Source party type. Specifies Source party type. This field is required.

from_main_accountstringrequired

Source main account. Specifies Source main account. This field is required.

from_main_account_typestringrequired

Source main account type. Specifies Source main account type. This field is required.

from_account_idstringrequired

Source account id. Specifies Source account id. This field is required.

to_typestringrequired

Target party type. Specifies Target party type. This field is required.

to_main_accountstringrequired

Target main account. Specifies Target main account. This field is required.

to_main_account_typestringrequired

Target main account type. Specifies Target main account type. This field is required.

to_account_idstringrequired

Target account id. Specifies Target account id. This field is required.

allocation_channelstringrequired

Allocation channel. Specifies Allocation channel. This field is required.

currencystringrequired

Currency. Specifies Currency. This field is required.

amountstringrequired

Amount. Specifies Amount. This field is required.

postscriptstringrequired

Postscript. Specifies Postscript. This field is required.

Responses

HTTP 200The request was processed successfully. The response data does not contain additional business fields.
Standard response envelopecodemessagedata
dataobjectdata structure

This is a write operation; on success it returns no business data, and data is always an empty object {}.

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