Skip to main content
POST /v1/customers/user/inquiryUserInfoByAccessToken Lets the merchant get the user’s information after the user has authorized the Mini Program. The access token is obtained via OAuth after a successful authorization (applyToken); the information returned is limited to the scopes the user granted. See also inquiryUserInfo.

Request Parameters

string
required
Access token used to access the user’s resource scope.Max length: 128 characters
string
Unique ID assigned by the wallet to identify the client.Max length: 128 characters
string
Extended information (JSON string). Key:
  • customerBelongsTo: the e-wallet the customer uses, corresponding to the siteName from my.getSiteInfo. Mandatory in the Mini Program scenario.
Max length: 4096 characters

Response Parameters

object
required
Standard result object with resultCode, resultStatus, resultMessage
object
User open information (userId, loginIdInfos, status, nickName, userName, avatar, gender, birthday, nationality, contactInfos, extendInfo), limited to the granted scopes.

Result Handling

Result Codes

Sample

Request

Response