Skip to content

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_idstringOptional

Region bank id,0: other bank

currencystringRequired

Currency,etc: USD,HKD, "ALL" all currency,

bank_opeartion_type_idstringRequired

Bank operation type id,0: obtain all , != 0: specify bank operation type id

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 200Fields are taken from the real responses definition for this operation in the published Whale OpenAPI spec (whale-openapi/Whale-openapi.json).
Standard response envelopecodemessagedata
dataobjectdata structure
deposit_configsarray<object>

Deposit config list. Deposit config list

Child attributes
idnumber

id. id

company_namestring

Company name. Company name

currenciesarray<string>

Support currency. Support currency

regionstring

Region. Region

bank_namestring

Bank name. Bank name

deposit_channel_namestring

Deposit channel name. Deposit channel name

fps_accountstring

fps id. fps id

weightstring

weight. weight

lb_bank_namestring

Receiving bank name. Receiving bank name

lb_account_simplenamestring

Receiving bank simple name. Receiving bank simple name

lb_bank_swift_codestring

Receiving bank swiftcode. Receiving bank swiftcode

lb_bank_addrstring

Receiving bank address. Receiving bank address

lb_account_namestring

Receiving bank account name. Receiving bank account name

lb_bank_accountstring

Receiving bank account. Receiving bank account

open_lb_bank_accountstring

Open account receiving bank account. Open account receiving bank account

lb_bank_account_idnumber

Receiving bank id. Receiving bank id

fee_payerstring

Fee. Fee

guide_idnumber

Guide id. Guide id

bank_operation_idnumber

Bank operation id. Bank operation id

region_bank_idnumber

Region bank id. Region bank id

guidesobject

Guides. Guides

Child attributes
currenciesarray<string>

Support currency. Support currency

guide_typestring

Guide type. Guide type

namestring

Guide name. Guide name

configstring

Guide config. Guide config

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