WeChat Pay APIv3 (Direct-Connect Merchant)
WeChat Pay's third-generation REST API for mainland-China direct-connect merchants. Authenticates with merchant API certificates and platform-key signed requests over HTTPS/JSON. Covers JSAPI / Native / App / H5 / Mini Program payments, refunds, bill download, merchant transfers, WeChat Pay Score, vouchers, marketing red packets, profit sharing, consumer complaints, and platform certificate rotation. Replaces the legacy XML-based APIv2.
Documentation
APIReference
https://pay.weixin.qq.com/wiki/doc/apiv3/en/index.shtml
Documentation
https://pay.weixin.qq.com/wiki/doc/apiv3/en/index.shtml
Specifications
Code Examples
Other Resources
Login
https://pay.weixin.qq.com/index.php/core/home/login
Portal
https://pay.weixin.qq.com/
SDKs
https://github.com/wechatpay-apiv3/wechatpay-java
SDKs
https://github.com/wechatpay-apiv3/wechatpay-go
SDKs
https://github.com/wechatpay-apiv3/wechatpay-php
CLI
https://github.com/wechatpay-apiv3/CertificateDownloader