Skip to content
Bank Account Management

Add Bank Card

Add Bank Card

POSThttps://b-api.longbridge.xyz/v1/whaleapi/portfolio/withdraw/card

Authorization

AuthorizationstringheaderRequired

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

Request body application/json

bank_idnumberrequired

region bank id. region bank id

regionstringrequired

Region. Region

bank_enstringrequired

Bank name ,maximum of 30 characters. Bank name ,maximum of 30 characters

namestringrequired

User Name. User Name

name_enstringrequired

User Name En. User Name En

accountstringrequired

User Bank Account ,maximum of 20 characters. User Bank Account ,maximum of 20 characters

swift_codestringrequired

swift_code-8 or 11 characters. swift_code-8 or 11 characters

account_typestringrequired

Account Type enum:ALL,USD,HKD. Account Type enum:ALL,USD,HKD...

countrystringrequired

Country ,maximum of 50 characters. Country ,maximum of 50 characters

addressstring

Address maximum of 50 characters. Address maximum of 50 characters

remarkstring

Remark. Remark

bank_codestring

Bank Code. Bank Code

need_certificationbooleanrequired

Need Certification. Need Certification

fps_idstringrequired

Fps Id. Fps Id

account_nostringrequired

Account No. 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

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