title: Taro.getOpenUserInfo()
sidebar_label: getOpenUserInfo
This interface allows you to obtain basic information about your Alipay members (avatar image address, nickname, gender, country code, province and city), see details.To obtain the Alipay member ID (user_id), please call my.getAuthCode and alipay.system.oauth.token interfaces.
Type
() => Promise<string>
Parameters
API Support
| API | WeChat Mini-Program | Alipay Mini-Program | H5 | React Native |
|---|---|---|---|---|
| Taro.getOpenUserInfo | ✔️ |
