Wechat withdraws cash function [enterprise pays to change]

when does Wechat"s enterprise pay for the change and need to get the user openid, this openid?

our requirement is for users to initiate a withdrawal application in APP, submit Wechat"s account number and name, then save the withdrawal application record in the database, and then initiate withdrawal to the user"s account balance after the backend agrees to the application.

Alipay documents only need the user"s Alipay account to withdraw cash.

does Wechat"s withdrawal require APP to obtain the user"s openid when APP initiates the withdrawal?

clipboard.png

Php
Mar.14,2021

the user is saved in the user table when he or she is authorized to log in, and take it out when needed.


Wechat has done withdrawal. After logging in with authorization, save the user's openid and then call the Wechat withdrawal API.


generally, the openid is placed at the page entrance, which is achieved by calling Wechat's API to obtain user information. Because the jump action may be involved during the acquisition (transfer to Wechat's own page for user authorization, and then jump back according to the url parameters passed during the jump), it is generally not placed in the middle of the process for fear of loss. In addition, there are two ways to obtain user information: as long as openid, you can use silent, the user is not aware of it; but if you need a nickname or something, you need explicit authorization from the user.

Menu