WxJava is a Java toolkit for backend development against WeChat services, including official accounts, mini programs, pay, enterprise WeChat, open platform, and video channel APIs.
Overview
WxJava packages WeChat’s server-side APIs for Java applications. It is aimed at backend integration rather than mobile clients; iOS and Android still use WeChat’s official client SDKs for login, share, and similar features.
The project is split into Maven modules by scenario: weixin-java-mp for public accounts, weixin-java-miniapp for mini programs, weixin-java-pay for payments, weixin-java-cp for enterprise WeChat, weixin-java-open for the third-party open platform, and weixin-java-channel for video channel and WeChat shop features. A BOM can pin versions when you depend on several modules at once.
You add the artifacts with Maven or Gradle and call WeChat HTTP APIs from your server code. Documentation and demo references describe initialization patterns such as obtaining access tokens or exchanging login codes for session data. The maintainers note it is an SDK only and does not ship a web UI.
It has been used in production across mini programs, official accounts, and enterprise WeChat integrations listed in the project’s application examples.
Key features
- Modular Maven artifacts per WeChat product
- Official account (MP) API support
- Mini program backend APIs
- WeChat Pay integration
- Enterprise WeChat (CP) module
- Open platform third-party module
- Video channel and shop module
- BOM for multi-module version alignment
Use cases
- WeChat mini program backends
- WeChat Pay on Java servers
- Enterprise WeChat automation
- Third-party WeChat platform services