Merchant Present Mode (MPM)

MPM API Request
Endpoint :/trade/v1/paymentMethod :
POST
Supported PayTypes
| PayType | Description |
|---|---|
| 800101 | Alipay MPM (Overseas Merchants) |
| 801501 | Alipay MPM (HK Merchants) |
| 800201 | WeChat MPM (Overseas & HK Merchants) |
| 805801 | PayMe MPM (HK Merchants) |
| 800701 | UNIONPAY Quick Pass MPM |
| 802001 | FPS MPM (HK Merchants) |
| 803701 | Octopus Dynamic QRC MPM (HK Merchants) |
Scenario
The merchant generates a dynamic QR code based on Alipay or WeChat Pay protocol and displays it for the customer to scan. Customers complete the payment by scanning the QR code using their wallets. This applies to:- Offline POS environments
- Online browser-initiated flows
Example Request
HTTP
Example Response
JSON
Request Parameters
| Field | Required | Type | Description |
|---|---|---|---|
| Public Parameters | — | — | Common fields like mchid, txamt, etc. |
pay_tag | No | String(16) | Wallet specifier. Default: ALIPAYHK. Mainland Alipay: ALIPAYCN |
expired_time | No | String(3) | QR code expiry in minutes (5–120). Default is 30. Only for WeChat/Alipay |
limit_pay | No | String | Use no_credit to disable credit cards. Applicable to CN wallets only |
Response Parameters
| Field | Type | Description |
|---|---|---|
qrcode | String(512) | Generated QR code URL |
| Common Parameters | — | Common fields like respcd, syssn, etc. |
