GetUserPayId
Host: dip-cb.binanceapi.com
GET /mp-api/v1/apps/{appId}/users?openId=query_open_id
Header
Parameter | Required | Description |
---|---|---|
X-Mp-Open-Api-Token | Yes | JWT token. Please refer to Description of External Interface Signature Authentication Algorithm |
Path Parameters
Parameter | Description |
---|---|
appId | The AppId of the mini program (required) |
openId | The openId of the user you wish to query (required) |
Note:
- Please make sure to call this API by attaching a JWT token in the header under
X-Mp-Open-Api-Token
. For the method of generating JWT token, please refer to Description of External Interface Signature Authentication Algorithm
Request Example
Response
HTTP 200
ErrorCode | Remark |
---|---|
000000 | Success |
900001 | Invalid Parameter |
900002 | JWT Authentication Failed |
900003 | Unexpected Error |