Skip to main content

Query Linked Accounts Info

API Description

Query Linked Accounts Info

HTTP Request

POST /bapi/ekyc/v2/public/ekyc/customer/query-linked-accounts

Request Header

NameTypeMandatoryDescription
X-SHA2-SignatureSTRINGYESRequest Signature

Request Parameters

NameTypeMandatoryDescription
bizEntityKeySTRINGYESbusiness entity key, each access entity has its own bizEntityKey
entityCustomerIdSTRINGYEScustomer id, that is, the user id of the access entity site. Not Required for Oauth Link
brokerMainAccountIdSTRINGYESBroker main account id
openIdSTRINGNORequired for Oauth Link
oauthClientIdSTRINGNORequired for Oauth Link

Response Fields

NameTypeMandatoryDescription
codeSTRINGYES
dataLinkedBrokerAccountsResponseNO

LinkedBrokerAccountsResponse

NameTypeDescription
accountListList<BrokerAccountInfoVo>Linked accounts info

BrokerAccountInfoVo

NameTypeDescription
brokerMainAccountIdSTRINGBroker main account id
brokerSubAccountIdSTRINGBroker sub account id

Request Body Example

{
"bizEntityKey": "BROKERKEY",
"entityCustomerId": "45712345678999212345",
"requestNo": "123456"
}

Response Example

{
"code": "000000",
"message": null,
"messageDetail": null,
"data": {
"accountList": [
{
"brokerMainAccountId": "123456789",
"brokerSubAccountId": "45712345678999212345"
}
]
},
"success": true
}