# Binding experiencer

Debugging tools

Interface should be called on the server side, seeHattori API

# Interface Dxplaination

# Interface name

bindTester

# Functional description

  • Before the third-party platform helps the authorized Mini Program to submit the code for review, it can first let the Mini Program operator experience, and before the experience, the operator's personal WeChat ID needs to be added to the list of the Mini Program experiencers.
  • If you encounter problems during use, you canOpen Platform Service Provider ZonePosting exchanges.

# Note

If the operator is also the administrator of the Mini Program, there is no need to bind, and the administrator has experience permissions by default.

# Calling mode

# HTTPS call


POST https://api.weixin.qq.com/wxa/bind_tester?access_token=ACCESS_TOKEN 

# Third Party Invocation

  • The calling method and parameters are the same as HTTPS, only the calling token is different

  • The permission set id to which this interface belongs is: 18

初始值 After the service provider has been authorized with one of the permission sets, it can do so by usingauthorizer_access_TokenCalling on behalf of the merchant

# Request parameters

attribute type Required Introductions
access_Token string yes Interface invokes the certificate, which is URL Parameters, non Body Parameters. useauthorizer_access_Token
Wechatid string yes WeChat account

# Return parameters

attribute type Introductions
errcode number Error code
errmsg string Error message
userstr string Unique character string corresponding to a person

# Call Example

Example Dxplaination: HTTPS requests

# Sample Request Data


{
  "wechatid": "tests"
} 

# Return Data Example


{
  "errcode": 0,
  "errmsg": "ok",
  "userstr": "xxxxxxxxx"
} 

# Error code

Error code Error code Solutions
0 ok ok
85001 user not exist or user cannot be searched WeChat account does not exist or WeChat account is set not searchable
85002 number of tester reach bind limit The number of Mini Program binding experience reached the limit
85003 user already bind too many weapps WeChat account binding Mini Program experience reached the limit
85004 user already bind WeChat ID is bound