Skip to content
Bank Account Management

Region Bank

Region Bank

GEThttps://b-api.longbridge.xyz/v1/whaleapi/portfolio/withdraw/banks

Authorization

AuthorizationstringheaderRequired

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

Parameters

currencystringRequired

Currency. If not provided, defaults to HKD. This parameter is mainly used to obtain the corresponding tags for banking, securities, eDDA, and FPS payments for a particular currency. In Hong Kong, bank lists are sorted by tag count and tag priority; the currency only affects the ordering of the bank list in the Hong Kong region.

account_nostringRequired

Account No

Responses

HTTP 200OK
Standard response envelopecodemessagedata
dataobjectdata structure
listarray<object>required

Bank List

Child attributes
valuearray<object>

value

Child attributes
idnumber

ID

namestring

Bank name

name_enstring

English bank name

swift_codestring

Swift code

iconstring

Bank icon url

logostring

Bank logo url

left_backgroundstring

Bottom-left gradient color

right_backgroundstring

Top-right gradient color

bank_codestring

Bank Code

support_witnessstring

support deposit witness 0:not support 1:support

account_lengthstring

Maximum length limit of bank card

auth_flowsarray<object>

Support auth list

Child attributes
HKDobject

currency HKD

Child attributes
Idsarray<string>required

authFlowId

USDobject

Currency USD

regionstring

Region

region_namestring

Region name

bankcode_statenumber

bankcode state, 0: optional |1: required

need_addressinteger

need address 0:no need 1:required

required_addressinteger

Is the address a required field 0:no need 1:required

need_swiftinteger

if the swift code is required:0:no need 1:required

need_account_typeinteger

if the account type is required:0:no need 1:required

iconstring

icon url

tipstring

tip

tagsstring

tags

mainland_card_flagstringrequired

Whether the mainland bank card is bound

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