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
Extended information (JSON string). Key:
customerBelongsTo: the e-wallet the customer uses, corresponding to thesiteNamefrommy.getSiteInfo. Mandatory in the Mini Program scenario.
Response Parameters
User open information (
userId, loginIdInfos, status, nickName, userName, avatar, gender, birthday, nationality, contactInfos, extendInfo), limited to the granted scopes.