Leshua
Channel Overview
Leshua (乐刷) is Leshua Technology's aggregated payment channel. DaxPay integrates in ISV mode (product leshua_pay); one onboarding accepts WeChat, Alipay, and QuickPass QR and in-app payments.
Leshua is a commercial-edition extended channel; after purchasing the flagship edition the official team assists with onboarding and integration. See the channel overview.
Supported Payment Methods
| Underlying rail | Supported methods |
|---|---|
| Barcode, JSAPI (Official Account), mini-program | |
| Alipay | Barcode, QR code, JSAPI |
| UnionPay (QuickPass) | Barcode, QR code, JSAPI |
WeChat JSAPI and mini-program payments require a bound WeChat app (AppId) in the channel configuration.
Configuration Structure
Leshua keys are a product-level global configuration (one set for all Leshua merchants); the channel merchant only registers the merchant number:
- Configure the ISV keys (Leshua product → Key Configuration, one global set):
| Group | Field | Notes |
|---|---|---|
| Keys | Leshua ISV number | Required for onboarding interfaces |
| Signature type | MD5 or SM3 | |
| Trade key | Signs trade and onboarding requests | |
| Notification key | Verifies async callbacks |
- Create the channel merchant: Merchant Workbench → Channel Merchants → Create, pick the Leshua product and fill in merchant name + Leshua merchant number (obtained after onboarding).
Signature & Callback
- Request signing: MD5 or SM3 (per the selected signature type), with the trade key;
- Async notifications are XML payloads verified with the notification key.
Notes
- Switch the environment before creating merchants: one set per environment;
- Ensure the server egress IP is whitelisted by Leshua;
- The trade key and the notification key serve different purposes — obtain both from the Leshua service-provider portal.