2. Query account

POST /api/merchant/queryAccount

Alipay use this interface to initiate a account query to merchant.

This API call typically occurs in scenarios where:

  • The first time the user enter『Bills & Utilities』 after binding their account to Alipay.


Request parameters

openId string  

ID of AlipayHK user.

For keys 「openId」 & 「userId」, one of them must have content

userId string  

ID of AlipayHK user.

For keys 「openId」 & 「userId」, one of them must have content

Response parameters

result object  REQUIRED

Result of response

Show child parameters

openId string  REQUIRED

ID of AlipayHK user.

accounts Array<object>  REQUIRED

Account information list

Show child parameters
API Explorer

Request

Request Body

Response

Response Body