wxpay-nodejs-sdk 0.2.1 → 0.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +22 -22
- package/dist/index.d.mts +510 -3
- package/dist/index.d.ts +510 -3
- package/dist/index.js +620 -75
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +610 -75
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -54,28 +54,28 @@ console.log(callback.data.out_trade_no, callback.data.trade_state);
|
|
|
54
54
|
|
|
55
55
|
## 支持的 API
|
|
56
56
|
|
|
57
|
-
| Service
|
|
58
|
-
|
|
59
|
-
| `JsapiService`
|
|
60
|
-
| `AppService`
|
|
61
|
-
| `H5Service`
|
|
62
|
-
| `NativeService`
|
|
63
|
-
| `CombineService` / `CombineH5Service` / `CombineAppService` / `CombineNativeService` / `CombineMiniProgramService` | 合单支付
|
|
64
|
-
| `ProfitSharingService`
|
|
65
|
-
| `PayScoreService`
|
|
66
|
-
| `ParkingService`
|
|
67
|
-
| `BillService`
|
|
68
|
-
| `MerchantTransferService`
|
|
69
|
-
| `CouponService`
|
|
70
|
-
| `ComplaintService`
|
|
71
|
-
| `PartnershipService`
|
|
72
|
-
| `SmartGuideService`
|
|
73
|
-
| `BusinessCircleService`
|
|
74
|
-
| `PayGiftActivityService`
|
|
75
|
-
| `MedInsService`
|
|
76
|
-
| `MediaService`
|
|
77
|
-
| `SecurityService`
|
|
78
|
-
| `CallbackHandler`
|
|
57
|
+
| Service | 说明 |
|
|
58
|
+
| ------------------------------------------------------------------------------------------------------------------ | ----------------------- |
|
|
59
|
+
| `JsapiService` | JSAPI 支付 / 小程序支付 |
|
|
60
|
+
| `AppService` | APP 支付 |
|
|
61
|
+
| `H5Service` | H5 支付 |
|
|
62
|
+
| `NativeService` | Native 支付 |
|
|
63
|
+
| `CombineService` / `CombineH5Service` / `CombineAppService` / `CombineNativeService` / `CombineMiniProgramService` | 合单支付 |
|
|
64
|
+
| `ProfitSharingService` | 分账 |
|
|
65
|
+
| `PayScoreService` | 微信支付分 |
|
|
66
|
+
| `ParkingService` | 停车服务 |
|
|
67
|
+
| `BillService` | 账单下载 |
|
|
68
|
+
| `MerchantTransferService` | 商家转账 |
|
|
69
|
+
| `CouponService` | 代金券 |
|
|
70
|
+
| `ComplaintService` | 消费者投诉 |
|
|
71
|
+
| `PartnershipService` | 委托营销 |
|
|
72
|
+
| `SmartGuideService` | 智慧导购 |
|
|
73
|
+
| `BusinessCircleService` | 商圈服务 |
|
|
74
|
+
| `PayGiftActivityService` | 支付有礼 |
|
|
75
|
+
| `MedInsService` | 医保服务 |
|
|
76
|
+
| `MediaService` | 文件上传 |
|
|
77
|
+
| `SecurityService` | 安全服务 |
|
|
78
|
+
| `CallbackHandler` | 回调通知验签与解密 |
|
|
79
79
|
|
|
80
80
|
> 各 Service 的方法和参数请参考 [微信支付官方文档](https://pay.weixin.qq.com/doc/v3/merchant/4012062524),本 SDK 的方法名与官方 API 路径一一对应。
|
|
81
81
|
|