https://b-api.longbridge.xyz/v1/whaleapi/portfolio/withdraw/banksAuthorization
Send the Broker ACCESS_TOKEN as Authorization: Bearer <token>.
Parameters
currencystringRequiredCurrency(Currency. If not provided, it will default to HKD. This parameter is mainly used for obtaining 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 sorting of the bank list in the Hong Kong region)
account_nostringRequiredAccount 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).codemessagedatadataobjectdata structureBank List. Bank List
Child attributes
value
Child attributes
ID. ID
Bank name. Bank name
English bank name. English bank name
Swift code. Swift code
Bank icon url. Bank icon url
Bank logo url. Bank logo url
Bottom-left gradient color. Bottom-left gradient color
Top-right gradient color. Top-right gradient color
Bank Code. Bank Code
support deposit witness 0:not support 1:support. support deposit witness 0:not support 1:support
Maximum length limit of bank card. Maximum length limit of bank card
Support auth list. Support auth list
Child attributes
currency HKD. currency HKD
Child attributes
authFlowId. authFlowId
Currency USD. Currency USD
Region. Region
Region name. Region name
bankcode state, 0: optional |1: required. bankcode state, 0: optional |1: required
need address 0:no need 1:required. need address 0:no need 1:required
Is the address a required field 0:no need 1:required. Is the address a required field 0:no need 1:required
if the swift code is required:0:no need 1:required. if the swift code is required:0:no need 1:required
if the account type is required:0:no need 1:required. if the account type is required:0:no need 1:required
icon url. icon url
tip. tip
tags. tags
Whether the mainland bank card is bound. Whether the mainland bank card is bound
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