You can add your receiving account to your WeChat Mini Programs to reduce the transaction cost in Mini Programs.
Before you use this API, you need to create a receiving account in “Receive Money from External” in the WeCom app or Admin Console.
For FAQs about receiving account creation, see Receiving Account FAQ
1. Go to “Receive Money from External” in the WeCom app and tap “Mini Program”.
2. On the page that appears, link the Mini Program and the receiving account.
Notes:
(1) The entity of the Mini Program must match the entity of the receiving account’s merchant account.
(2) One receiving account can be linked to up to 5 Mini Programs.
(3)The review time for connecting an external collection account to a Mini Program is about 7 working days. The review result will be pushed via the Receive Money from External app.
1. Go to “App Management” -> “Receive Money from External” -> “API” in the Admin Console. On the page that appears, set the company’s trusted IP and event receiving server for calling APIs and receiving callbacks.
2. Add the Mini Program transaction API provided by WeCom to your Mini Program. When a customer makes a payment in the Mini Program, you can call the WeCom API to make the payment.
1. What are the advantages of using receiving accounts in Mini Programs?
(1) If you use receiving accounts to receive payments in Mini Programs, the transaction cost is reduced with a service fee of only 0.2%.
(2) You can also track member performance and measure service values in private channels more easily.
2. What are the prerequisites for linking a Mini Program?
(1) The entity of the Mini Program must match the entity of the receiving account’s merchant account. (Linking of Mini Programs with different entities is coming soon.)
(2) The Mini Program must be verified by WeChat. (Verification instructions)
3. How many Mini Programs can a merchant account link?
A merchant account can be linked to 5 Mini Programs.
4. What scenarios does the reduced service fee rate apply to?
The reduced service fee rate applies to payment scenarios in WeChat Mini Programs. As long as you send the Mini Program to a WeChat customer in a chat or by using WeCom customer contact tools, such as Broadcast Messages and welcome messages, and the customer opens the Mini Program in WeChat to make payments, the reduced service fee rate applies.
5. Does this feature affect the transaction experience of customers in WeChat?
No, this feature does not affect the transaction experience of customers in WeChat. The WeChat payment experience remains unchanged. After a customer makes a payment in the Mini Program, the API provided by WeCom is called to complete the payment.
The following figure shows the payment process.
6. In addition to using Mini Programs sent from WeCom, are there other ways for customers to use Mini Programs to make payments?
Yes. Customers can search for the Mini Program or swipe down on the WeChat homepage to open the Mini Program, or open the Mini Program sent in WeChat. However, if the Mini Program is not sent from WeCom, the reduced service fee rate does not apply, and risk control rules might be triggered. We recommend that you use your receiving account’s merchant account only in scenarios where the Mini Program is sent from WeCom.
7. How do I track member performance for transactions made in Mini Programs?
(1) For Mini Programs sent from WeCom, you can obtain the scene key from the URL. (The key contains the ID of the member who sends the Mini Program.)
(2) Include the scene key in the request when you call the payment API.
(3) Then, you can view the member’s performance for transactions made in Mini Programs in “Receive Money from External” -> “Member Performance” in the Admin Console.
For example:
Assume that the URL of the product details page of a Mini Program is /page/detail?userid=xxx
When a member sends this page in WeCom, a scene key is added to the URL. The URL becomes /page/detail?userid=xxx&scenekey=asdf1234
You can parse the scenekey parameter in functions such as App.onLaunch or Page.onLoad and include the key in the request of the payment API. Then, the member ID is parsed and the performance data is available in the Admin Console.
8. Why can’t business owners see the Mini Program performance data for members in their allowed scope?
The Mini Program performance data is not available if you do not include the scene key in the request when you call the payment API.