WeChat Open Platform

Mini Programs Documentation

Introduction to product positioning and functions

WeChat Mini Programs are a brand new way of connecting users and services. They can be obtained and distributed quickly and conveniently within WeChat and offer an excellent user experience.

Mini Program registration

Register a Mini Program account

Click on the Register button in the top right corner of the official WeChat Official Account Platform website’s homepage (mp.weixin.qq.com).

Select account type for registration

Select Mini Program and click on View Differences Between Types to view the differences between different account types and their advantages.

Enter email address and password

Please enter an email address that is not registered to the public platform, the open platform or a corporate account, or bound to a personal account.

Activate email address

Log in to your email, check to see if you have received the activation email, and click on the activation link.

Enter entity information

After clicking on the activation link, continue with the next step of the registration process. Please select an entity type option and complete the entity and administrator information.

Select entity type

The types of entities are described below:

Account entity Scope
Individual A real-name WeChat user with Chinese ID information aged 18 or above
Corporate A company, branch, or company-related brand.
Corporate (Individually-Owned Business) An individually-owned business.
Government All types of Chinese government agencies, public institutions, or social organizations with administrative functions, at all levels. At present, this mainly covers public security agencies, Party organizations, judicial organs, transport agencies, tourism agencies, industrial and commercial tax agencies, and municipal institutions.
Media Newspapers, magazines, television, radio, news agencies, and others.
Other Organizations Types that are not classified as government, media, corporate, or individual.
Enter entity information and select verification method
  • Corporate type accounts can choose from two entity verification methods. Method 1: Requires using the company’s corporate account to remit funds to Tencent in order to verify the entity's identity. The remittance information can be viewed after the entity information is submitted. Method 2: The entity's identity is verified using WeChat Verification. The payment of a 300 yuan verification fee is required for this. Some of the Mini Program’s functions will be temporarily unavailable before verification is passed.

  • Government, Media, and Other Organizations type accounts must pass WeChat Verification in order to verify the entity’s identity. Some of the Mini Program’s functions will be temporarily unavailable before verification is passed.

  • WeChat Verification access: Log in to Mini Program - Settings - WeChat Verification Details

Enter administrator information

Confirm that entity information cannot be changed

Click on Confirm to complete the registration process

Users that choose to make a corporate remittance are requested to remit the designated amount into the designated receiving account according to the prompts on the page. Note: Please complete the remittance within 10 days, otherwise registration will fail.

Users that choose to verify an entity’s identity using WeChat Verification are requested to carry out WeChat Verification as soon as possible after completing the registration process. Some functions will be temporarily unavailable before verification is completed.

Preparations before completing and developing Mini Program information

Log in to Mini Program management platform

After completing registration, log in directly at the login access on the homepage of the official WeChat Official Account Platform website (mp.weixin.qq.com)

Complete Mini Program information

After completing registration, the WeChat Mini Program information completion step and development can be carried out simultaneously.

Users who choose to make a corporate remittance can add their Mini Program name information, upload their Mini Program picture, fill in their Mini Program introduction, and select their service scope after remittance verification has been completed.

Users who choose to verify an entity’s identity using WeChat Verification must first complete WeChat Verification before they can add their Mini Program name information, upload their Mini Program picture, fill in their Mini Program introduction, and select their service scope.

N.B.:

Preparations before development

Bind developers

Log in to the WeChat Official Account Platform Mini Program and enter User Identity-Developer to bind new developers.

An individual entity’s Mini Program can bind a maximum of 5 developers and 10 experiencers.

An unverified organization type Mini Program can bind a maximum of 10 developers and 20 experiencers.

A verified Mini Program can bind a maximum of 20 developers and 40 experiencers.

Obtain AppID

Enter Settings-Development Settings to obtain AppID information.

Read development documentation and download developer tools

Click on Documentation-Development in the top right corner of the page to read developer documentation in detail and enter the Downloads page to download developer tools.

Usage of developer tools

Download and install developer tools

Login

Developer tools use administrator or bound developer WeChat ID QR code logins.

Create project

Mini Program administrators or bound developers can create projects. The AppID, project name, and local development directory need to be entered.

Development

Administrators and developers can complete actions including development, debugging, previewing, and uploading code in the developer tools.

Preview

Mini Program administrators or developers can click on Projects on the left hand side to enter the Upload/Preview pages. By clicking on Preview, developers can use their WeChat QR code to preview Mini Program results on a phone.

Note:

  • Only developers who are logged into developer tools can scan the QR codes on developer tools and preview, other people are unable to scan QR codes and preview.
  • Please use iOS or Android WeChat client version 6.3.27 or above to scan QR codes and preview.

Upload code

Mini Program administrators can click on Projects on the left hand side to enter the Upload/Preview pages and use their WeChat ID to scan QR codes and confirm uploads. Note:

  • Only administrators can perform uploads, developers do not have the permissions to perform uploads.

After code is uploaded, the corresponding submitted version can be viewed on the Development Management page of the WeChat Official Account Platform (mp.weixin.qq.com).

Code review and publication

Submit for review

Log in to the WeChat Official Account Platform Mini Program and enter Development Management. The development version displays code that has been uploaded. Administrators can submit code to be reviewed or deleted.

Enter review information

Configure function page

Enter important business page categories and labels. The number of important business page groups cannot exceed five.

Test accounts

When Mini Programs require developers to provide test accounts before the review experience can be completed, the Mini Program will be returned the first time it is submitted for review. The developer will provide access to a test account the second time it is submitted for review. This access will involve an account provided by the developer for the WeChat review personnel to use to log in when reviewing the WeChat Mini Program.

Complete submission

After a submission for review has been completed, the Review Version module on the Development Management page will show that a review is in progress.

N.B.:

Code publication

After the code has passed its review, the developer is required to manually click on Publish before the Mini Program is published online and provides services.

Note: The Publish Code button cannot be clicked on during closed beta testing.

Mini Program applications for WeChat Verification

Government, Media, and Other Organizations type accounts must pass WeChat Verification in order to verify an entity’s identity. Corporate type accounts can determine whether to apply for WeChat Verification according to requirements. Verified accounts can use WeChat Pay permissions.

Individual type accounts do not support WeChat Verification for the time being.

WeChat Verification access: Log in to Mini Program—Settings—Basic Settings—WeChat Verification—Details

Mini Program applications for WeChat Pay

Verified Mini Programs can apply for WeChat Pay.

Bind Mini Programs to a WeChat Open Platform account

After a Mini Program has been bound to a WeChat Open Platform account, it can reach other mobile applications, website applications and official accounts under the account, and use a UnionID mechanism to meet the requirements of unified user accounts between multiple applications and official accounts.

Explanation of UnionID mechanism: If a developer possesses multiple mobile applications, website applications and official accounts (including Mini Programs), they can use a UnionID to differentiate the uniqueness of users. This is because a user’s UnionID is unique, as long as the mobile applications, website applications or official accounts (including Mini Programs) are under the same WeChat Open Platform account. In other words, a user will have the same UnionID for different applications under the same WeChat Open Platform account. A user’s UnionID can be obtained by calling the Get User Information interface.

Please view Development Documentation—API—Open Interface—User Information to learn about the Get User Information interface.

Directions on the process for binding Mini Programs: Log in to the WeChat Open Platform open.weixin.qq.com—Administration Center—Official Accounts—Bind Official Accounts

Note: WeChat Open Platform accounts must complete developer qualification verification before they can bind Mini Programs.