Before accessing, merchants/institutions should first determine the access mode applicable to the registration areas of their companies. WeChat Cross-Border Pay currently provides three access modes: direct connection mode, institutional mode, and common service provider mode.
Merchants are directly connected to the WeChat Cross-Border Pay interface, and WeChat Pay settles the transaction amount with the merchants. Currently this access mode is only available in Hong Kong and Britain. For specific access procedure and qualification requirements, refer to the direct connection mode onboarding instructions.
In the institutional mode, the acquiring institution connects to the WeChat Pay API and provides the secondary encapsulation interface for the merchants. WeChat Pay settles the transaction amount with the acquiring institution, and the acquiring institution settles the transaction amount with the merchants. At present, this access mode can be used in all areas where WeChat Cross-Border Pay is available, and it is also the main connection method of WeChat Cross-Border Pay. For specific access procedure and qualification requirements, refer to the institutional mode onboarding instructions. If you would like to know the acquiring institutions in your area that has cooperated with WeChat Pay, click to view it.
In the common service provider mode, the common service provider connects to the WeChat Pay API and provides the secondary encapsulation interface for the merchant. The common service provider processes the transaction information flow only, and does not touch the cash flow. The transaction amount will be settled directly with the merchant. Currently this access mode is only available in Hong Kong. For specific access procedure and qualification requirements, refer to the common service provider mode onboarding instructions.
Select the access mode according to your actual situation and your country or region.
At present, the social carrier of institutions can only be an official account. Please apply for an official account through the following link: Official Account Application Guidelines
After an official account has been applied for successfully, the institution can log in to the official account platform to obtain the corresponding APPID. The specific directory for viewing is Development > Basic Configuration > Official Account development information, as shown in the figure below. Usually, one institution only needs to apply for one official account.
Institutions can log in to the merchant platform and enter the Institution interface to complete the onboarding of sub-merchants, or use the onboarded sub-merchant API to complete the onboarding.
WeChat Pay API Key v3 is used to encrypt and decrypt sensitive information in interface transmission. For specific encryption and decryption rules, refer to Encrypting and Decrypting Sensitive Information.
Follow the steps below to configure API Key v3:
The merchant certificate is used for signing and signature verification during content transmission by institutions/direct merchants.
Institutions can log in to WeChat Merchant Platform, and select Account Settings > API Security > API Certificate to download the certificate.
Follow the steps below to download the certificate:
The JSAPI Payment product capability needs to obtain the user's openid (please refer to the important parameters for the introduction of openid) in the form of authorization auth2 on the webpage before initiating payment to verify whether the person placing the order and the final payer are the same person. The domain name used for auth2 authorization needs to be configured on the institution's official account platform by selecting Settings > Account Info > Function Setting. The following figure shows the configuration page:
For the detailed description and operation steps of obtaining openid through Web authorization, please refer to Web authorization development.
The JSAPI Payment product capability pulls up WeChat Pay through the front-end JSAPI on the webpage in WeChat. To ensure security, the webpage directory that pulls up the WeChat Pay cash register needs to be configured on the WeChat Pay Merchant Platform.
Instructions:
•In the case of a direct connection merchant, log in to the WeChat Pay Merchant Platform and enter the Development Configuration menu for configuration.
• In the institutional mode, if the webpages used by the sub-merchants under the institution to pull up the WeChat Pay cash register belong to the same directory, the payment directory can be configured under the institution’s merchant ID, and it will be effective and available to all the sub-merchants. Then, log in to the WeChat Pay Merchant Platform and enter the Development Configuration menu. The following figure shows the specific page:
In the institutional mode, if the webpages used by the sub-merchants under the institution to pull up the WeChat Pay cash register belong to different directories, the payment directory can be configured under the sub-merchant ID, and it will be effective to this sub-merchant ID only. Then, log in to the WeChat Pay Merchant Platform, select Institution > Sub-Merchant > Application, find the specific sub-merchant to configure, click Config to enter the configuration page, and find the Payment Authorization Config area. The following figure shows the specific page:
Notes on the payment directory:
• The payment directory refers to the content before the last "/" of the page URL. For example, if the page URL is http://abc123.abc123.abc/abc123, the payment directory is http://abc123.abc123.abc/.
• When the payment directory is configured as a top-level domain name, only the top-level domain name is verified, but the suffix is not. For example, if the payment directory is configured as http://abc123.abc123.abc/, both http://abc123.abc123.abc/abc123 and http://abc123.abc123.abc/abc123/abc123 can pull up the cash cashier.
• When multi-level directories are configured, full matching will be implemented. For example, if http://abc123.abc123.abc/abc123/ is configured, only http://abc123.abc123.abc/abc123/ can pull up the cash cashier, and neither http://abc123.abc123.abc/ nor http://abc123.abc123.abc/abc123/abc123/ can pull it up.
Customer Service Tel
Business Development
9:00-18:00
Monday-Friday GMT+8
Technical Support
WeChat Pay Global
ICP证