Fuyou
Channel Overview
Fuyou (富友) is Shanghai Fuyou Payment's aggregated payment channel. DaxPay offers two Fuyou products: the ISV mode (fuyou_pay) and the direct merchant-front mode (fuyou_direct), both on the fuyou_pay channel, covering WeChat, Alipay, and QuickPass QR and in-app collection.
Fuyou is a commercial-edition extended channel; after purchasing the flagship edition the official team assists with onboarding and integration. See the channel overview.
Payment Products
| Product | Mode | Suitable for |
|---|---|---|
fuyou_pay (ISV) | ISV collects on behalf of sub-merchants | Merchants onboarded via a Fuyou service provider |
fuyou_direct (merchant front) | Merchant direct | Merchants with their own Fuyou merchant number and keys |
Both products support the same methods:
| Underlying rail | Supported methods |
|---|---|
| QR code, JSAPI (Official Account), mini-program, barcode | |
| Alipay | QR code, JSAPI, barcode |
| UnionPay (QuickPass) | QR code |
WeChat JSAPI and mini-program payments require a bound WeChat app (AppId) in the channel configuration.
Configuration Structure (ISV mode)
Keys are a product-level global configuration; the channel merchant registers the merchant and terminal numbers:
- Configure the ISV keys (Fuyou product → Key Configuration, one global set):
| Group | Field | Notes |
|---|---|---|
| Basic | Fuyou app number | Institution code ins_cd |
| Order prefix | Optional; callbacks match platform orders by order-number prefix | |
| Keys | Merchant RSA private key | Base64 (PKCS#8), for signing |
| Fuyou RSA public key | Base64 (X509), for verification |
- Create the channel merchant: pick the Fuyou ISV product and fill in merchant name + Fuyou merchant number + terminal number.
Configuration Structure (merchant-front mode)
Direct-product keys are configured per channel merchant: register the merchant and terminal numbers at creation, then fill in under Channel Merchant Detail → Key Configuration:
| Field | Notes |
|---|---|
| Fuyou merchant number | mchnt_cd |
| Merchant key | mchnt_key, for MD5 signing |
| Terminal number | term_id |
Signature & Callback
- ISV mode: MD5withRSA (private key signs, public key verifies);
- Direct mode: MD5 (merchant key in the concatenation);
- The direct product has no async refund notification — refund final states are determined by refund queries.
Notes
- Switch the environment before creating merchants: one set per environment;
- Ensure the server egress IP is whitelisted by Fuyou.