Skip to content
Deposits

Obtain the deposit information

Obtain the deposit information

GEThttps://b-api.longbridge.xyz/v1/whaleapi/portfolio/deposit/config

Authorization

AuthorizationstringheaderRequired

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

Parameters

bank_idstring

Region bank ID. 0 means another bank.

currencystringRequired

Currency, for example USD or HKD. ALL means all currencies.

bank_opeartion_type_idstringRequired

Bank operation type ID. 0 returns all types; a non-zero value selects a specific bank operation type.

rulestringRequired

Rule 0: ordinary obtain | 1: degradation, making the bank didn't seek other Banks, does not contain other degradation rules

regionstringRequired

Region

account_nostringRequired

Account No

Responses

HTTP 200OK
Standard response envelopecodemessagedata
dataobjectdata structure
deposit_configsarray<object>

Deposit config list

Child attributes
idnumber

id

company_namestring

Company name

currenciesarray<string>

Support currency

regionstring

Region

bank_namestring

Bank name

deposit_channel_namestring

Deposit channel name

fps_accountstring

fps id

weightstring

weight

lb_bank_namestring

Receiving bank name

lb_account_simplenamestring

Receiving bank simple name

lb_bank_swift_codestring

Receiving bank swiftcode

lb_bank_addrstring

Receiving bank address

lb_account_namestring

Receiving bank account name

lb_bank_accountstring

Receiving bank account

open_lb_bank_accountstring

Open account receiving bank account

lb_bank_account_idnumber

Receiving bank id

fee_payerstring

Fee

guide_idnumber

Guide id

bank_operation_idnumber

Bank operation id

region_bank_idnumber

Region bank id

guidesobject

Guides

Child attributes
currenciesarray<string>

Support currency

guide_typestring

Guide type

namestring

Guide name

configstring

Guide config

sub_accountsarray<object>

List of the account's sub-accounts. May be empty.

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