WeChat Mini Program - Enterprise Payment to Change API Development~~~ Payment to WeChat

Recently, the development has encountered the problem of paying the change to the enterprise. After consulting the WeChat development documents and other blogs, it was solved, and it is recorded here. WeChat development documentation reference blog

  • It is found that WeChat payment and enterprise payment to change have similar steps. 0. Generate your own signature according to the parameters to be passed. 1. Data encapsulation map is generally performed. 2. Convert the current map combination into xml format.
  1. Then send a post request to call the WeChat interface.
  2. The xml returned by parsing is a map collection. Similar to these steps, the use of some tools, merchant number and appid, etc. need to be set according to your own card method. The detailed code will be added later.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325294705&siteId=291194637