The Lunar New Year is approaching, Alipay has fought a red packet, and WeChat blocked its sharing in Moments, but single defense is not enough, offense is the best defense. Yesterday, the WeChat payment cash red envelope interface was officially opened. You only need to open WeChat payment to access cash red envelopes. You can also distribute cash red envelopes on WeChat public accounts!
Through the cash red envelope interface, the developer of the official account can plan related operation activities and distribute WeChat cash red envelopes to users, so as to better achieve the effect of brand promotion and feedback to users.
1. When a merchant calls the interface, red envelopes are distributed by specifying the sending object and sending amount. This method allows merchants to flexibly apply to various rich activity scenarios.
2. After receiving the red envelope, the user's funds will go directly to WeChat change to avoid the complicated reward process and bring users a smooth experience of WeChat payment natively.
Introduction
During the Spring Festival, WeChat red envelopes were warmly welcomed by the majority of users once launched with their unique charm, excellent user experience and a safe payment environment. WeChat payment cash red envelopes are now open to WeChat payment merchants.
WeChat red envelope sending rules
1. Send frequency rules
◆ The number of red packets sent per minute shall not exceed 1,800;
◆ Red envelope gifts will not be triggered from 0:00 to 8:00 Beijing time; (If the above rules do not meet your needs, please send an email to [email protected] for upgrade guidance)
2. Red envelope rules
◆ The amount of a single red envelope is between [1.00 yuan, 200.00 yuan];
◆ The same red envelope can only be sent to one user; (If the above rules do not meet your needs, please send an email to [email protected] for upgrade guidance)
Merchant side call red envelope interface process
1. Log in to the WeChat Pay Merchant Platform to download the certificate and recharge
Before calling the interface, please use the WeChat Pay Merchant account to log in to the WeChat Pay Merchant Platform to complete the following tasks:
Remark:
The WeChat payment merchant platform address is pay.weixin.qq.com. The WeChat Pay merchant account will be sent to you by opening an account email after the merchant successfully applies for WeChat payment. Please do not use WeChat public platform account or appid to log in. If you have problems logging in, please contact WeChat payment assistant [email protected]
◆ Download the certificate
When the merchant calls the WeChat red envelope interface, the server will perform certificate verification. Please download the certificate from the merchant platform.
◆ Recharge
The distribution of cash red envelopes will deduct the merchant’s available balance. Please note that the available balance is not the WeChat payment transaction amount, and it requires pre-recharge to ensure that the available balance is sufficient. Please log in to the WeChat Pay Merchant Platform to view available balances, recharges, and withdrawals, and enter the "Fund Management" menu to perform operations.
2. WeChat red envelope interface call process
◆ Background API call: communicate in detail with development when entering the joint debugging process;
◆ Tell the server: Tell the server to openID of the user who received WeChat red envelopes, and tell the server the amount obtained by the user;