# WeChat Pay APIv3 (Direct-Connect Merchant)

**Canonical:** https://apis.io/apis/wechat/wechat-pay-apiv3-direct-merchant/  
**Provider:** WeChat — https://apis.io/providers/wechat/  
**Base URL:** https://api.mch.weixin.qq.com  
**Documentation:** https://pay.weixin.qq.com/wiki/doc/apiv3/en/index.shtml

WeChat Pay APIv3 (Direct-Connect Merchant) is one of 16 APIs that [WeChat](https://apis.io/providers/wechat/) publishes on the [APIs.io](https://apis.io/) network, described by an AsyncAPI event-driven specification. Tagged areas include Payments, WeChat Pay, Refunds, Marketing, and Profit Sharing. The published artifact set on APIs.io includes an API reference, API documentation, code examples, and an AsyncAPI specification.

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.

## Machine-readable artifacts (10)

- **APIReference** — https://pay.weixin.qq.com/wiki/doc/apiv3/en/index.shtml
- **Documentation** — https://pay.weixin.qq.com/wiki/doc/apiv3/en/index.shtml
- **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
- **CodeExamples** — https://github.com/wechatpay-apiv3/wechatpay-postman-script
- **CLI** — https://github.com/wechatpay-apiv3/CertificateDownloader
- **AsyncAPI** — https://raw.githubusercontent.com/api-evangelist/wechat/refs/heads/main/asyncapi/wechat-webhooks-asyncapi.yml

## Other WeChat APIs (12)

- [WeChat Mini Programs Server API](https://apis.io/apis/wechat/wechat-mini-programs-server-api/)
- [WeChat Mini Programs Client API](https://apis.io/apis/wechat/wechat-mini-programs-client-api/)
- [WeChat Pay APIv3 (Service Provider / Partner)](https://apis.io/apis/wechat/wechat-pay-apiv3-service-provider/)
- [WeChat Pay Global v3 API](https://apis.io/apis/wechat/wechat-pay-global-v3/)
- [WeChat Open Platform — Mobile App Login (OAuth 2.0)](https://apis.io/apis/wechat/wechat-open-platform-mobile-login/)
- [WeChat Open Platform — Website Login (QR OAuth)](https://apis.io/apis/wechat/wechat-open-platform-website-login/)
- [WeChat Open Platform — Third-Party Platform API](https://apis.io/apis/wechat/wechat-open-platform-third-party/)
- [WeChat Official Accounts API](https://apis.io/apis/wechat/wechat-official-accounts-api/)
- [WeChat Work (WeCom) API](https://apis.io/apis/wechat/wechat-work-api/)
- [WeChat Cloud Hosting API](https://apis.io/apis/wechat/wechat-cloud-hosting-api/)
- [WeChat Channels (Video Accounts) Developer Surface](https://apis.io/apis/wechat/wechat-channels-api/)
- [WeChat Shop (微信小店) API](https://apis.io/apis/wechat/wechat-shop-api/)

## Tags

Payments, WeChat Pay, Refunds, Marketing, Profit Sharing, Transfers

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/wechat/wechat-pay-apiv3-direct-merchant/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/wechat/.
