DotNetCore.SKIT.FlurlHttpCl.../docs/WechatTenpayV3/Basic_ModelDefinition.md

1574 lines
57 KiB
Markdown
Raw Normal View History

2021-07-27 18:37:38 +08:00
## 如何快速找到需要调用的 API 模型类名 / 方法名?
2021-05-10 15:30:00 +08:00
---
本库提供的请求模型、响应模型和接口方法,三者均保持同名。
2021-05-28 19:27:50 +08:00
例如,发起退款的请求是 `CreateRefundDomesticRefundRequest`,响应是 `CreateRefundDomesticRefundResponse`,接口是 `ExecuteCreateRefundDomesticRefundAsync()`。知道其中一个,其余两个就可以快速地推断出了。
2021-05-10 15:30:00 +08:00
再有,每个对象的命名与官方文档的接口地址大体保持一致。例如刚刚提到的发起退款,它的接口地址是 `[POST] /refund/domestic/refunds`,将其中的反斜杠去掉、并以大驼峰命名法的方式调整它,就可以得到前文提到的几个对象了。
另外,以 `Query` 开头的一般表示列表查询;以 `Get` 开头的一般表示获取详情;以 `Create` 开头的一般表示发起或新建操作;以 `Update`、`Modify` 开头的一般表示修改操作;以 `Set` 开头的一般表示设置操作。
2023-04-06 18:58:56 +08:00
需注意部分接口在直连商户与服务商在两种接入模式下会显式区分为独立的接口模型,具体对照关系请参考附录。
2021-05-10 15:30:00 +08:00
完整的模型定义可以参考项目目录下的 _src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Models_ 目录。
---
2022-10-27 20:22:53 +08:00
### 找不到所需要的接口或字段?
本库会定期随微信官方更新接口或模型,但也会偶有疏漏。如果你在使用中遇到了因接口或模型定义而产生的问题,欢迎提出 Issue。
2023-03-02 19:36:47 +08:00
在 Issue 被处理之前,你也可以选择自行扩展 API。详细方式请参阅本文档[《基础用法 - 如何扩展额外的 API》](./Basic_Extensions.md)。
2022-10-27 20:22:53 +08:00
---
2021-09-11 18:10:32 +08:00
### 微信支付 API 支持情况:
<details>
<summary>[展开查看]</summary>
| | 微信 API | 商户类型 | 备注 |
| :-: | :-------------------------------: | :-----------------: | :---------------: |
| √ | 支付产品JSAPI 支付 | 直连商户 & 合作伙伴 | |
| √ | 支付产品APP 支付 | 直连商户 & 合作伙伴 | |
| √ | 支付产品H5 支付 | 直连商户 & 合作伙伴 | |
| √ | 支付产品Native 支付 | 直连商户 & 合作伙伴 | |
| √ | 支付产品:小程序支付 | 直连商户 & 合作伙伴 | |
| √ | 支付产品:付款码支付 | 直连商户 & 合作伙伴 | |
| √ | 支付产品:合单支付 | 直连商户 & 合作伙伴 | |
| √ | 支付产品:资金/交易账单 | 直连商户 & 合作伙伴 | |
| √ | 支付产品:退款 | 直连商户 & 合作伙伴 | |
| √ | 运营工具:转账到零钱 | 直连商户 & 合作伙伴 | |
| × | <del>运营工具:转账到银行卡</del> | 直连商户 & 合作伙伴 | 官方未提供 v3 API |
| √ | 经营能力:微信支付分 | 直连商户 & 合作伙伴 | |
| √ | 经营能力:微信支付分停车 | 直连商户 & 合作伙伴 | |
| √ | 经营能力:平台收付通 | 合作伙伴 | |
| √ | 运营工具:代金券 | 直连商户 & 合作伙伴 | |
| √ | 运营工具:商家券 | 直连商户 & 合作伙伴 | |
| √ | 运营工具:委托营销 | 直连商户 & 合作伙伴 | |
| √ | 运营工具:支付有礼 | 直连商户 & 合作伙伴 | |
| √ | 运营工具:智慧商圈 | 直连商户 & 合作伙伴 | |
| √ | 运营工具:支付即服务 | 直连商户 & 合作伙伴 | |
| √ | 运营工具:电子发票 | 直连商户 & 合作伙伴 | |
| √ | 运营工具:点金计划 | 合作伙伴 | |
| × | <del>运营工具:现金红包</del> | 直连商户 & 合作伙伴 | 官方未提供 v3 API |
| √ | 扩展工具:分账 | 直连商户 & 合作伙伴 | |
| √ | 扩展工具:连锁品牌分账 | 合作伙伴 | |
| √ | 扩展工具:消费者投诉 2.0 | 直连商户 & 合作伙伴 | |
| √ | 安全工具:平台证书 | 直连商户 & 合作伙伴 | |
| √ | 商户管理:特约商户进件 | 合作伙伴 | |
| √ | 商户管理:商户开户意愿确认 | 合作伙伴 | |
| √ | 商户管理:商户平台处置通知 | 合作伙伴 | |
| √ | 商户管理:不活跃商户身份核实 | 合作伙伴 | |
| √ | 其他:消费卡 | 直连商户 & 合作伙伴 | |
| √ | 其他:代扣服务切卡组件 | 直连商户 & 合作伙伴 | |
| √ | 其他:图片上传(营销专用) | 直连商户 & 合作伙伴 | |
| √ | 其他:微信先享卡 | 直连商户 | |
| √ | 其他:连锁品牌门店 | 合作伙伴 | |
| √ | 其他:品牌小店营销 | 合作伙伴 | |
| √ | 其他:租用充电宝隔夜归还 | 直连商户 | |
| √ | 其他ETC 扣费 | 合作伙伴 | |
| √ | 其他:电子小票 | 合作伙伴 | |
| √ | 其他:出租车电子发票 | 合作伙伴 | |
| √ | 其他:教育续费通 | 直连商户 | |
| √ | 其他:校园轻松付 | 合作伙伴 | |
| √ | 其他:微信点餐订单 | 合作伙伴 | |
| √ | 其他:微信寄快递 | 合作伙伴 | |
| √ | 其他:品牌小店营销 | 合作伙伴 | |
| √ | 其他:银行定向促活 | 直连商户 & 合作伙伴 | |
| √ | 其他:银行提现免费券 | 合作伙伴 | |
| √ | 其他:银行周周惠 | 合作伙伴 | |
| √ | 其他:微工卡 | 合作伙伴 | |
| √ | 其他:优惠费率活动 | 合作伙伴 | |
| √ | 其他:爱心餐 | 直连商户 | |
| × | <del>其他:清关报关</del> | 直连商户 | 官方未提供 v3 API |
| √ | 境外支付:子商户进件 | 合作伙伴 | |
| √ | 境外支付:融合钱包 | 合作伙伴 | |
| √ | 境外支付:委托代扣 | 直连商户 & 合作伙伴 | |
| √ | 境外支付:报关 | 合作伙伴 | |
2021-09-11 18:10:32 +08:00
</details>
---
2023-08-11 20:47:13 +08:00
### 【附】商户直连模式API 模型命名速查表:
2021-05-10 15:30:00 +08:00
注:树形结构与[微信支付开发者文档](https://pay.weixin.qq.com/docs/merchant/development/interface-rules/introduction.html)目录结构保持一致。
2021-05-10 15:30:00 +08:00
<details>
2021-09-11 18:10:32 +08:00
<summary>[展开查看]</summary>
2021-05-10 15:30:00 +08:00
- 支付产品
2021-05-10 15:30:00 +08:00
- JSAPI 支付
- JSAPI 下单:`CreatePayTransactionJsapi`
2021-05-10 15:30:00 +08:00
- 查询订单:`GetPayTransactionById` / `GetPayTransactionByOutTradeNumber`
- 关闭订单:`ClosePayTransaction`
- APP 支付
- APP 下单:`CreatePayTransactionApp`
2021-05-10 15:30:00 +08:00
- 查询订单:`GetPayTransactionById` / `GetPayTransactionByOutTradeNumber`
- 关闭订单:`ClosePayTransaction`
- H5 支付
- H5 下单:`CreatePayTransactionH5`
2021-05-10 15:30:00 +08:00
- 查询订单:`GetPayTransactionById` / `GetPayTransactionByOutTradeNumber`
- 关闭订单:`ClosePayTransaction`
- Native 支付
- Native 下单:`CreatePayTransactionNative`
2021-05-10 15:30:00 +08:00
- 查询订单:`GetPayTransactionById` / `GetPayTransactionByOutTradeNumber`
- 关闭订单:`ClosePayTransaction`
- 小程序支付
- 小程序下单:`CreatePayTransactionJsapi`
2021-05-10 15:30:00 +08:00
- 查询订单:`GetPayTransactionById` / `GetPayTransactionByOutTradeNumber`
- 关闭订单:`ClosePayTransaction`
- 付款码支付
- 付款码支付:`CreatePayTransactionCodePay`
- 撤销订单:`ReversePayTransaction`
2021-05-10 15:30:00 +08:00
- 合单支付
- 合单 APP 下单:`CreateCombineTransactionApp`
- 合单 JSAPI 下单:`CreateCombineTransactionJsapi`
- 合单 H5 下单:`CreateCombineTransactionH5`
2021-05-10 15:30:00 +08:00
- 合单 Native 下单:`CreateCombineTransactionNative`
- 合单小程序下单:`CreateCombineTransactionJsapi`
2021-05-10 15:30:00 +08:00
- 合单查询订单:`GetCombineTransactionByCombineOutTradeNumber`
- 合单关闭订单:`CloseCombineTransaction`
- 资金/交易账单
2021-05-10 15:30:00 +08:00
- 申请交易账单:`GetBillTradeBill`
- 申请资金账单:`GetBillFundflowBill`
- 下载账单:`DownloadBillFile`
- 退款
2021-05-10 15:30:00 +08:00
- 申请退款:`CreateRefundDomesticRefund`
- 查询单笔退款:`GetRefundDomesticRefundByOutRefundNumber`
- 发起异常退款:`CreateRefundDomesticAbnormalRefundApply`
2023-08-11 20:47:13 +08:00
- 运营工具
2023-08-11 20:47:13 +08:00
- 转账到零钱
2023-08-11 20:47:13 +08:00
- 发起批量转账:`CreateTransferBatch`
2023-08-11 20:47:13 +08:00
- 微信批次单号查询批次单:`GetTransferBatchByBatchId`
2023-08-11 20:47:13 +08:00
- 微信明细单号查询明细单:`GetTransferBatchDetailByDetailId`
2023-08-11 20:47:13 +08:00
- 商家批次单号查询批次单:`GetTransferBatchByOutBatchNumber`
2023-08-11 20:47:13 +08:00
- 商家明细单号查询明细单:`GetTransferBatchDetailByOutDetailNumber`
2023-08-11 20:47:13 +08:00
- 转账电子回单申请受理:`CreateTransferBillReceipt`
2023-08-11 20:47:13 +08:00
- 查询转账电子回单:`GetTransferBillReceiptByOutBatchNumber`
2023-08-11 20:47:13 +08:00
- 转账明细电子回单受理:`CreateTransferDetailElectronicReceipt`
2023-08-11 20:47:13 +08:00
- 查询转账明细电子回单受理结果:`GetTransferDetailElectronicReceiptByOutDetailNumber`
2023-08-11 20:47:13 +08:00
- 下载电子回单:`DownloadBillFile`
2023-08-11 20:47:13 +08:00
- 查询账户实时余额:`GetMerchantFundBalance`
2023-08-11 20:47:13 +08:00
- 查询账户日终余额:`GetMerchantFundDayendBalance`
2023-08-11 20:47:13 +08:00
- 微信支付分
2023-08-11 20:47:13 +08:00
- 服务订单
2023-08-11 20:47:13 +08:00
- 创建支付分订单:`CreatePayScoreServiceOrder`
2023-08-11 20:47:13 +08:00
- 查询支付分订单:`GetPayScoreServiceOrderByQueryId` / `GetPayScoreServiceOrderByOutOrderNumber`
2023-08-11 20:47:13 +08:00
- 取消支付分订单:`CancelPayScoreServiceOrder`
2023-08-11 20:47:13 +08:00
- 修改订单金额:`ModifyPayScoreServiceOrder`
2023-08-11 20:47:13 +08:00
- 完结支付分订单:`SetPayScoreServiceOrderComplete`
2023-08-11 20:47:13 +08:00
- 商户发起催收扣款:`SetPayScoreServiceOrderPay`
2023-08-11 20:47:13 +08:00
- 同步服务订单信息:`SetPayScoreServiceOrderSync`
2023-08-11 20:47:13 +08:00
- 申请退款:`CreateRefundDomesticRefund`
2023-08-11 20:47:13 +08:00
- 查询单笔退款:`GetRefundDomesticRefundByOutRefundNumber`
2023-08-11 20:47:13 +08:00
- 微信支付分(免确认模式)
2023-08-11 20:47:13 +08:00
- 创单结单合并:`CreatePayScoreServiceOrderDirectComplete`
2023-08-11 20:47:13 +08:00
- 微信支付分(免确认预授权模式)
2023-08-11 20:47:13 +08:00
- 商户预授权:`ApplyPayScorePermissions`
- 查询用户授权记录(授权协议号):`GetPayScorePermissionsByAuthorizationCode`
- 解除用户授权关系(授权协议号):`TerminatePayScorePermissionsByAuthorizationCode`
- 查询用户授权记录OpenId`GetPayScorePermissionsByOpenId`
- 解除用户授权关系OpenId`TerminatePayScorePermissionsByOpenId`
- 微信支付分停车
- 创建停车入场:`CreateVehicleParking`
- 查询车牌服务开通信息:`GetVehicleParkingService`
- 扣费受理:`CreateVehicleTransactionParking`
- 查询订单:`GetVehicleTransactionByOutTradeNumber`
2021-05-10 15:30:00 +08:00
- 代金券
- 创建代金券批次:`CreateMarketingFavorStock`
- 激活代金券批次:`StartMarketingFavorStock`
- 发放代金券批次:`SendMarketingFavorUserCoupon`
- 暂停代金券批次:`PauseMarketingFavorStock`
- 重启代金券批次:`RestartMarketingFavorStock`
- 条件查询批次列表:`QueryMarketingFavorStocks`
- 查询批次详情:`GetMarketingFavorStockByStockId`
- 查询代金券详情:`GetMarketingFavorUserCouponByCouponId`
- 查询代金券可用商户:`QueryMarketingFavorStockMerchants`
- 查询代金券可用单品:`QueryMarketingFavorStockItems`
- 根据商户号查用户的券:`QueryMarketingFavorUserCoupons`
- 下载批次核销明细:`GetMarketingFavorStockUseFlow`
- 下载批次退款明细:`GetMarketingFavorStockRefundFlow`
- 设置消息通知地址:`UpdateMarketingFavorCallback`
- 图片上传:`UploadMerchantMediaImage`
2021-05-10 15:30:00 +08:00
- 商家券
- 创建商家券:`CreateMarketingBusifavorStock`
- 查询商家券详情:`GetMarketingBusifavorStockByStockId`
- 核销用户券:`SetMarketingBusifavorCouponUsed`
- 根据过滤条件查询用户券:`QueryMarketingBusifavorUserCoupons`
- 查询用户单张券详情:`GetMarketingBusifavorUserCouponByCouponCode`
- 上传预存 Code`UploadMarketingBusifavorStockCouponCodes`
- 设置商家券事件通知地址:`UpdateMarketingBusifavorCallback`
- 查询商家券事件通知地址:`GetMarketingBusifavorCallback`
- 关联订单信息:`AssociateMarketingBusifavorCoupon`
- 取消关联订单信息:`DisassociateMarketingBusifavorCoupon`
- 修改批次预算:`UpdateMarketingBusifavorStockBudget`
- 修改商家券基本信息:`UpdateMarketingBusifavorStock`
- 申请退券:`CreateMarketingBusifavorCouponReturn`
- 使券失效:`DeactivateMarketingBusifavorCoupon`
- 营销补差付款:`CreateMarketingBusifavorSubsidyPayReceipt`
- 营销补差回退:`CreateMarketingBusifavorSubsidyReturnReceipt`
2023-08-11 20:47:13 +08:00
- 查询营销补差付款单列表:`QueryMarketingBusifavorSubsidyPayReceipts`
2021-05-10 15:30:00 +08:00
- 查询营销补差付款单详情:`GetMarketingBusifavorSubsidyPayReceiptBySubsidyReceiptId`
- 图片上传:`UploadMerchantMediaImage`
2021-05-10 15:30:00 +08:00
- 委托营销
- 建立合作关系:`BuildMarketingPartnership`
- 终止合作关系:`TerminateMarketingPartnership`
- 查询合作关系列表:`QueryMarketingPartnerships`
- 支付有礼
- 创建全场满额送活动:`CreateMarketingPayGiftActivityUniqueThresholdActivity`
- 查询活动详情接口:`GetMarketingPayGiftActivityByActivityId`
- 查询活动发券商户号:`QueryMarketingPayGiftActivityMerchants`
- 查询活动指定商品列表:`QueryMarketingPayGiftActivityGoods`
- 终止活动:`TerminateMarketingPayGiftActivity`
- 新增活动发券商户号:`AddMarketingPayGiftActivityMerchant`
- 获取支付有礼活动列表:`QueryMarketingPayGiftActivities`
- 删除活动发券商户号:`DeleteMarketingPayGiftActivityMerchant`
- 图片上传:`UploadMerchantMediaImage`
- 智慧商圈
- 商圈积分同步:`NotifyBusinessCirclePoints`
2021-05-10 15:30:00 +08:00
- 商圈积分授权查询:`GetBusinessCircleUserAuthorizationByOpenId`
2021-08-17 14:27:35 +08:00
- 商圈会员待积分状态查询:`GetBusinessCircleUserPointsCommitStatusByOpenId`
2021-08-17 14:27:35 +08:00
- 商圈会员停车状态同步:`NotifyBusinessCircleParkings`
2023-08-11 20:47:13 +08:00
- 支付即服务
2023-08-11 20:47:13 +08:00
- 服务人员注册:`CreateSmartGuide`
2023-08-11 20:47:13 +08:00
- 服务人员分配:`AssignSmartGuide`
2023-08-11 20:47:13 +08:00
- 服务人员查询:`QuerySmartGuides`
2023-08-11 20:47:13 +08:00
- 服务人员信息更新:`UpdateSmartGuide`
2023-08-11 20:47:13 +08:00
- 电子发票
2023-08-11 20:47:13 +08:00
- 公共 API
2021-07-07 17:54:14 +08:00
- 创建电子发票卡券模板:`CreateNewTaxControlFapiaoCardTemplate`
2021-07-07 17:54:14 +08:00
- 配置开发选项:`ModifyNewTaxControlFapiaoMerchantDevelopmentConfig`
2021-07-07 17:54:14 +08:00
- 查询商户配置的开发选项:`GetNewTaxControlFapiaoMerchantDevelopmentConfig`
2021-07-07 17:54:14 +08:00
- 查询电子发票:`GetNewTaxControlFapiaoApplicationByFapiaoApplyId`
2021-07-07 17:54:14 +08:00
- 获取抬头填写链接:`GetNewTaxControlFapiaoUserTitleUrl`
2021-07-07 17:54:14 +08:00
- 获取用户填写的抬头:`GetNewTaxControlFapiaoUserTitle`
2021-07-07 17:54:14 +08:00
- 区块链电子发票 API
2021-07-07 17:54:14 +08:00
- 获取商户开票基础信息:`GetNewTaxControlFapiaoMerchantBaseInformation`
2021-07-07 17:54:14 +08:00
- 获取商品和服务税收分类对照表:`QueryNewTaxControlFapiaoMerchantTaxCodes`
2021-07-07 17:54:14 +08:00
- 开具电子发票:`CreateNewTaxControlFapiaoApplication`
2021-07-27 00:01:00 +08:00
- 冲红电子发票:`ReverseNewTaxControlFapiaoApplication`
2021-07-27 00:01:00 +08:00
- 获取发票下载信息:`GetNewTaxControlFapiaoApplicationFiles`
2022-01-25 14:42:58 +08:00
- 下载发票文件:`DownloadNewTaxControlFapiaoApplicationFile`
2022-01-25 14:42:58 +08:00
- 电子发票商户信息
2022-01-25 14:42:58 +08:00
- 上传电子发票文件:`UploadNewTaxControlFapiaoApplicationFapiaoFile`
2022-01-25 14:42:58 +08:00
- 将电子发票插入微信用户卡包:`CreateNewTaxControlFapiaoApplicationCard`
2022-01-25 14:42:58 +08:00
- 扩展工具
2022-01-25 14:42:58 +08:00
- 分账
2022-01-25 14:42:58 +08:00
- 请求分账:`CreateProfitSharingOrder`
2022-01-25 14:42:58 +08:00
- 查询分账结果:`GetProfitSharingOrderByOutOrderNu`
2022-01-25 14:42:58 +08:00
- 请求分账回退:`CreateProfitSharingReturnOrder`
2022-01-25 14:42:58 +08:00
- 查询分账回退结果:`GetProfitSharingReturnOrderByOutOrderNumber`
2022-01-25 14:42:58 +08:00
- 解冻剩余资金:`SetProfitSharingOrderUnfrozen`
2022-01-25 14:42:58 +08:00
- 查询剩余待分金额:`GetProfitSharingTransactionAmounts`
2022-01-25 14:42:58 +08:00
- 添加分账接收方:`AddProfitSharingReceiver`
2022-01-25 14:42:58 +08:00
- 删除分账接收方:`DeleteProfitSharingReceiver`
2022-01-25 14:42:58 +08:00
- 申请分账账单:`GetProfitSharingBill`
- 下载账单:`DownloadBillFile`
2021-05-10 15:30:00 +08:00
- 消费者投诉 2.0
- 查询投诉单列表:`QueryMerchantServiceComplaints`
- 查询投诉单详情:`GetMerchantServiceComplaintByComplaintId`
- 查询投诉协商历史:`QueryMerchantServiceComplaintNegotiationHistories`
- 创建投诉通知回调地址:`CreateMerchantServiceComplaintNotification`
- 查询投诉通知回调地址:`GetMerchantServiceComplaintNotification`
- 更新投诉通知回调地址:`UpdateMerchantServiceComplaintNotification`
- 删除投诉通知回调地址:`DeleteMerchantServiceComplaintNotification`
- 提交回复:`CreateMerchantServiceComplaintResponse`
- 反馈处理完成:`SetMerchantServiceComplaintComplete`
- 商户上传反馈图片:`UploadMerchantServiceImage`
2021-08-30 12:50:07 +08:00
- 下载图片:`DownloadMerchantServiceImage`
- 安全工具
2021-05-10 15:30:00 +08:00
- 平台证书
2021-05-10 15:30:00 +08:00
- 获取平台证书列表:`QueryCertificates`
2021-05-10 15:30:00 +08:00
- 其他
2022-01-25 14:42:58 +08:00
- 消费卡
2022-01-25 14:42:58 +08:00
- 发放消费卡:`SendMarketingBusifavorCoupon`
2022-01-25 14:42:58 +08:00
- 银行定向促活
2022-01-25 14:42:58 +08:00
- 导入定向用户协议号:`UploadMarketingBankPackagesTasks`
2022-01-25 14:42:58 +08:00
- 银行提现免费券
2022-01-25 14:42:58 +08:00
- 为用户发银行提现免费券:`SendMarketingWithdrawFavorUserCoupon`
2022-01-25 14:42:58 +08:00
- 查询批次下用户银行提现免费券列表:`QueryMarketingWithdrawFavorUserCoupons`
2021-05-10 15:30:00 +08:00
- 银行周周惠
2021-05-10 15:30:00 +08:00
- 报名周周惠活动:`ApplyMarketingWeeklyDiscountActivity`
2021-05-10 15:30:00 +08:00
- 查询周周惠活动列表:`QueryApplyMarketingWeeklyDiscountActivities`
2021-05-10 15:30:00 +08:00
- 查询周周惠活动详情:`GetApplyMarketingWeeklyDiscountActivityByActivityId`
2021-05-10 15:30:00 +08:00
- 银行组件:
2021-05-10 15:30:00 +08:00
- 获取对私银行卡号开户银行:`QueryCapitalBanksByBankAccount`
2021-05-10 15:30:00 +08:00
- 查询支持个人业务的银行列表:`QueryCapitalBanksPersonalBanking`
2021-05-10 15:30:00 +08:00
- 查询支持对公业务的银行列表:`QueryCapitalBanksCorporateBanking`
2021-05-10 15:30:00 +08:00
- 查询省份列表:`QueryCapitalAreasProvinces`
2021-05-10 15:30:00 +08:00
- 查询城市列表:`QueryCapitalAreasCities`
2021-05-10 15:30:00 +08:00
- 查询支行列表:`QueryCapitalBanksBranches`
2021-05-10 15:30:00 +08:00
- 微信先享卡
2021-05-10 15:30:00 +08:00
- 预受理领卡请求:`PrepareDiscountCard`
2021-05-10 15:30:00 +08:00
- 增加用户记录:`AddDiscountCardUserRecord`
- 查询先享卡订单:`GetDiscountCardByOutCardCode`
2021-05-10 15:30:00 +08:00
- 来账识别
2021-05-10 15:30:00 +08:00
- 商户银行来账查询:`QueryMerchantFundMerchantIncomeRecords`
2021-05-10 15:30:00 +08:00
- 扣款服务
2021-05-10 15:30:00 +08:00
- 预扣费通知:`CreatePAPayContractNotification`
2021-05-10 15:30:00 +08:00
- 代扣服务切卡组件
2021-05-10 15:30:00 +08:00
- 出行券切卡组件预下单:`CreateIndustryCouponToken`
2021-05-10 15:30:00 +08:00
- 教育续费通:
2021-05-10 15:30:00 +08:00
- 预签约:`PresignEducationPAPayContract`
2021-05-10 15:30:00 +08:00
- 通过协议号查询签约:`GetEducationPAPayContractByContractId`
2021-09-06 15:42:29 +08:00
- 通过用户标识查询签约:`QueryEducationPAPayUserContracts`
2021-05-10 15:30:00 +08:00
- 解约:`TerminateEducationPAPayContract`
2021-05-10 15:30:00 +08:00
- 发送扣款预通知:`SendEducationPAPayContractNotification`
2021-05-10 15:30:00 +08:00
- 教育通扣款受理:`CreateEducationPAPayTransaction`
2021-05-10 15:30:00 +08:00
- 微信订单号查单:`GetEducationPAPayTransactionById`
2021-05-10 15:30:00 +08:00
- 商户订单号查单:`GetEducationPAPayTransactionByOutTradeNumber`
2021-05-10 15:30:00 +08:00
- 租用充电宝隔夜归还
2021-05-10 15:30:00 +08:00
- 保险订单
2021-05-10 15:30:00 +08:00
- 创建保险订单:`CreateHirePowerBankInsuranceOrder`
2021-05-10 15:30:00 +08:00
- 查询保险订单详情:`GetHirePowerBankInsuranceOrderByOutOrderNumber`
2021-09-06 15:42:29 +08:00
- 查询用户保险订单领取资格:`GetHirePowerBankUserQualificationByOpenId`
2021-05-10 15:30:00 +08:00
- 爱心餐
- 查询爱心餐品牌信息:`GetLovefeastBrandByBrandId`
</details>
2021-05-10 15:30:00 +08:00
---
2021-05-10 15:30:00 +08:00
### 【附】合作伙伴服务商、渠道商、机构、银行模式API 模型命名速查表:
2021-05-10 15:30:00 +08:00
注:树形结构与[微信支付开发者文档](https://pay.weixin.qq.com/docs/partner/development/interface-rules/introduction.html)目录结构保持一致。
2021-05-10 15:30:00 +08:00
<details>
2021-05-10 15:30:00 +08:00
<summary>[展开查看]</summary>
2021-05-10 15:30:00 +08:00
- 支付产品
2021-05-10 15:30:00 +08:00
- JSAPI 支付
2021-05-10 15:30:00 +08:00
- JSAPI 下单:`CreatePayPartnerTransactionJsapi`
2021-09-06 15:42:29 +08:00
- 查询订单:`GetPayPartnerTransactionById` / `GetPayPartnerTransactionByOutTradeNumber`
2021-05-10 15:30:00 +08:00
- 关闭订单:`ClosePayPartnerTransaction`
2021-05-10 15:30:00 +08:00
- APP 支付
- APP 下单:`CreatePayPartnerTransactionApp`
2021-05-10 15:30:00 +08:00
- 查询订单:`GetPayPartnerTransactionById` / `GetPayPartnerTransactionByOutTradeNumber`
- 关闭订单:`ClosePayPartnerTransaction`
- H5 支付
2021-05-10 15:30:00 +08:00
- H5 下单:`CreatePayPartnerTransactionH5`
2021-05-10 15:30:00 +08:00
- 查询订单:`GetPayPartnerTransactionById` / `GetPayPartnerTransactionByOutTradeNumber`
2021-09-06 15:42:29 +08:00
- 关闭订单:`ClosePayPartnerTransaction`
2021-05-10 15:30:00 +08:00
- Native 支付
2021-05-10 15:30:00 +08:00
- Native 下单:`CreatePayPartnerTransactionNative`
2021-05-10 15:30:00 +08:00
- 查询订单:`GetPayPartnerTransactionById` / `GetPayPartnerTransactionByOutTradeNumber`
- 关闭订单:`ClosePayPartnerTransaction`
- 申请退款:`CreateRefundDomesticRefund`
- 查询单笔退款:`GetRefundDomesticRefundByOutRefundNumber`
- 申请交易账单:`GetBillTradeBill`
- 申请资金账单:`GetBillFundflowBill`
2021-09-06 15:42:29 +08:00
- 申请单个子商户资金账单:`GetBillSubMerchantFundflowBill`
2021-05-10 15:30:00 +08:00
- 下载账单:`DownloadBillFile`
- 小程序支付
- 小程序下单:`CreatePayPartnerTransactionJsapi`
- 查询订单:`GetPayPartnerTransactionById` / `GetPayPartnerTransactionByOutTradeNumber`
- 关闭订单:`ClosePayPartnerTransaction`
- 付款码支付
- 付款码支付:`CreatePayPartnerTransactionCodePay`
- 撤销订单:`ReversePayPartnerTransaction`
2021-05-10 15:30:00 +08:00
- 合单支付
- 合单 APP 下单:`CreateCombineTransactionApp`
- 合单 JSAPI 下单:`CreateCombineTransactionJsapi`
- 合单 H5 下单:`CreateCombineTransactionH5`
2021-05-10 15:30:00 +08:00
- 合单 Native 下单:`CreateCombineTransactionNative`
- 合单小程序下单:`CreateCombineTransactionJsapi`
2021-05-10 15:30:00 +08:00
- 合单查询订单:`GetCombineTransactionByCombineOutTradeNumber`
- 合单关闭订单:`CloseCombineTransaction`
- 资金/交易账单
2021-05-10 15:30:00 +08:00
- 申请交易账单:`GetBillTradeBill`
- 申请资金账单:`GetBillFundflowBill`
- 下载账单:`DownloadBillFile`
- 申请单个子商户资金账单:`GetBillSubMerchantFundflowBill`
2021-05-12 01:06:19 +08:00
- 申请二级商户资金账单:`GetEcommerceBillFundflowBill`
2021-05-12 01:06:19 +08:00
- 下载单个子商户/二级商户资金账单:`DownloadBillFile`
2021-09-24 10:42:19 +08:00
- 退款
2021-05-12 01:06:19 +08:00
- 申请退款:`CreateRefundDomesticRefund`
2021-05-12 01:06:19 +08:00
- 查询单笔退款:`GetRefundDomesticRefundByOutRefundNumber`
2021-05-12 01:06:19 +08:00
- 发起异常退款:`CreateRefundDomesticAbnormalRefundApply`
2021-05-12 01:06:19 +08:00
- 运营工具
2021-05-12 01:06:19 +08:00
- 转账到零钱
2021-05-12 01:06:19 +08:00
- 发起批量转账:`CreatePartnerTransferBatch`
2023-08-11 20:47:13 +08:00
- 微信批次单号查询批次单:`GetPartnerTransferBatchByBatchId`
2023-08-11 20:47:13 +08:00
- 微信明细单号查询明细单:`GetPartnerTransferBatchDetailByDetailId`
2023-08-11 20:47:13 +08:00
- 商家批次单号查询批次单:`GetPartnerTransferBatchByOutBatchNumber`
2023-08-11 20:47:13 +08:00
- 商家明细单号查询明细单:`GetPartnerTransferBatchDetailByOutDetailNumber`
2023-08-11 20:47:13 +08:00
- 转账电子回单申请受理:`CreateTransferBillReceipt`
2021-05-10 15:30:00 +08:00
- 查询转账电子回单:`GetTransferBillReceiptByOutBatchNumber`
2021-05-10 15:30:00 +08:00
- 转账明细电子回单受理:`CreateTransferDetailElectronicReceipt`
2021-05-10 15:30:00 +08:00
- 查询转账明细电子回单受理结果:`GetTransferDetailElectronicReceiptByOutDetailNumber`
2021-05-10 15:30:00 +08:00
- 下载电子回单:`DownloadBillFile`
2021-05-10 15:30:00 +08:00
- 查询特约商户账户实时余额:`GetEcommerceFundBalance`
2021-05-10 15:30:00 +08:00
- 查询账户实时余额:`GetMerchantFundBalance`
2021-05-10 15:30:00 +08:00
- 查询账户日终余额:`GetMerchantFundDayendBalance`
2021-05-10 15:30:00 +08:00
- 微信支付分
2021-05-10 15:30:00 +08:00
- 服务订单
2021-05-10 15:30:00 +08:00
- 创建支付分订单:`CreatePayScorePartnerServiceOrder`
2021-05-10 15:30:00 +08:00
- 查询支付分订单:`GetPayScorePartnerServiceOrderByQueryId` / `GetPayScoreServiceOrderByOutOrderNumber`
- 取消支付分订单:`CancelPayScorePartnerServiceOrder`
- 修改订单金额:`ModifyPayPartnerScoreServiceOrder`
2022-01-25 14:42:58 +08:00
- 完结支付分订单:`SetPayScorePartnerServiceOrderComplete`
- 商户发起催收扣款:`SetPayScorePartnerServiceOrderPay`
- 同步服务订单信息:`SetPayScorePartnerServiceOrderSync`
- 商户申请获取对账单:`GetPayScoreMerchantBill`
- 微信支付分(免确认预授权模式)
- 商户预授权:`ApplyPayScorePartnerPermissions`
- 查询用户授权记录(授权协议号):`GetPayScorePartnerPermissionsByAuthorizationCode`
- 解除用户授权关系(授权协议号):`TerminatePayScorePartnerPermissionsByAuthorizationCode`
- 查询用户授权记录OpenId`GetPayScorePartnerPermissionsByOpenId`
- 解除用户授权关系OpenId`TerminatePayScorePartnerPermissionsByOpenId`
- 微信支付分停车
- 查询车牌服务开通信息:`GetVehicleParkingService`
- 创建停车入场:`CreateVehicleParking`
- 扣费受理:`CreateVehicleTransactionParking`
- 查询订单:`GetVehicleTransactionByOutTradeNumber`
2021-05-10 15:30:00 +08:00
2023-08-11 20:47:13 +08:00
- 平台收付通(商户进件)
2021-05-10 15:30:00 +08:00
- 二级商户进件:`CreateEcommerceApplyment`
- 查询申请状态:`GetEcommerceApplymentByApplymentId` / `GetEcommerceApplymentByOutRequestNumber`
- 下载平台证书:`QueryCertificates`
- 修改结算帐号:`ModifyApplyForSubMerchantSettlement`
- 查询结算账户:`GetApplyForSubMerchantSettlement`
- 查询结算账户修改申请状态:`GetApplyForSubMerchantSettlementByApplicationNumber`
2023-08-11 20:47:13 +08:00
- 平台收付通(普通支付)
2021-05-10 15:30:00 +08:00
- APP 下单:`CreatePayPartnerTransactionApp`
- JSAPI 下单:`CreatePayPartnerTransactionJsapi`
- 小程序下单:`CreatePayPartnerTransactionJsapi`
- H5 下单:`CreatePayPartnerTransactionH5`
- Navive 下单:`CreatePayPartnerTransactionNavive`
2021-05-10 15:30:00 +08:00
- 查询订单:`GetPayPartnerTransactionById` / `GetPayPartnerTransactionByOutTradeNumber`
- 关闭订单:`ClosePayPartnerTransaction`
2023-08-11 20:47:13 +08:00
- 平台收付通(合单支付)
2021-05-10 15:30:00 +08:00
- 合单 APP 下单:`CreateCombineTransactionApp`
- 合单 JSAPI 下单:`CreateCombineTransactionJsapi`
- 合单 H5 下单:`CreateCombineTransactionH5`
2021-05-10 15:30:00 +08:00
- 合单 Native 下单:`CreateCombineTransactionNative`
- 合单小程序下单:`CreateCombineTransactionJsapi`
2021-05-10 15:30:00 +08:00
- 合单查询订单:`GetCombineTransactionByCombineOutTradeNumber`
- 合单关闭订单:`CloseCombineTransaction`
2023-08-11 20:47:13 +08:00
- 平台收付通(合单代扣)
- APP 方式预签约:`PresignEcommerceCombinePAPayContractEntrustApp`
- 查询协议:`GetEcommerceCombinePAPayContractByOutContractCode`
- 解约协议:`TerminatEcommerceCombinePAPayContract`
- 支付:`CreateEcommerceCombinePAPayTransaction`
- 撤销订单:`ReverseEcommerceCombinePAPayTransaction`
- 查询订单:`GetEcommerceCombinePAPayTransactionByCombineOutTradeNumber`
2023-08-11 20:47:13 +08:00
- 平台收付通(分账)
2021-05-10 15:30:00 +08:00
- 请求分账:`CreateEcommerceProfitSharingOrder`
- 查询分账结果:`GetEcommerceProfitSharingOrderByOutOrderNumber`
- 请求分账回退:`CreateEcommerceProfitSharingReturnOrder`
- 查询分账回退结果:`GetEcommerceProfitSharingReturnOrderByOrderId` / `GetEcommerceProfitSharingReturnOrderByOutOrderNumber`
- 完结分账:`SetEcommerceProfitSharingOrderFinish`
- 查询订单剩余待分金额:`GetEcommerceProfitSharingOrderAmounts`
- 添加分账接收方:`AddEcommerceProfitSharingReceiver`
- 删除分账接收方:`DeleteEcommerceProfitSharingReceiver`
2023-08-11 20:47:13 +08:00
- 平台收付通(补差)
2021-05-10 15:30:00 +08:00
- 请求补差:`CreateEcommerceSubsidy`
- 请求补差回退:`CreateEcommerceSubsidyReturn`
- 取消补差:`CancelEcommerceSubsidy`
2023-08-11 20:47:13 +08:00
- 平台收付通(退款)
2021-05-10 15:30:00 +08:00
- 申请退款:`CreateEcommerceRefund`
- 查询退款:`GetEcommerceRefundByRefundId` / `GetEcommerceRefundByOutRefundNumber`
- 垫付退款回补:`CreateEcommerceRefundReturnAdvance`
- 查询垫付回补结果:`GetEcommerceRefundReturnAdvance`
2023-08-11 20:47:13 +08:00
- 平台收付通(余额查询)
2021-05-10 15:30:00 +08:00
- 查询二级商户账户实时余额:`GetEcommerceFundBalance`
- 查询二级商户账户日终余额:`GetEcommerceFundDayendBalance`
- 查询电商平台账户实时余额:`GetMerchantFundBalance`
- 查询电商平台账户日终余额:`GetMerchantFundDayendBalance`
2023-08-11 20:47:13 +08:00
- 平台收付通(商户提现)
2021-05-10 15:30:00 +08:00
- 二级商户余额提现:`CreateEcommerceFundWithdraw`
- 二级商户查询提现状态:`GetEcommerceFundWithdrawByWithdrawId` / `GetEcommerceFundWithdrawByOutRequestNumber`
- 电商平台提现:`CreateMerchantFundWithdraw`
- 电商平台查询提现状态:`GetMerchantFundWithdrawByWithdrawId` / `GetMerchantFundWithdrawByOutRequestNumber`
- 按日下载提现异常文件:`GetMerchantFundWithdrawBill`
2023-08-11 20:47:13 +08:00
- 平台收付通(注销申请)
- 提交注销申请单:`CreateEcommerceAccountCancelApplication`
- 查询注销单状态:`GetEcommerceAccountCancelApplicationByOutApplyNumber`
- 图片上传:`UploadEcommerceAccountCancelApplicationMedia`
- 平台收付通(注销后提现)
- 商户提现申请单号查询提现申请单状态:`GetMerchantOperateRiskWithdrawlApplyByOutRequestNumber`
- 微信支付提现申请单号查询提现申请单状态:`GetMerchantOperateRiskWithdrawlApplyByApplymentId`
- 提交已注销商户号可用余额提现申请单:`CreateMerchantOperateRiskWithdrawlApply`
- 平台收付通(跨境付款)
- 查询订单剩余可出境余额:`GetFundsToOverseaTransactionAvailableAbroadAmountByTransactionId`
- 申请资金出境:`CreateFundsToOverseaOrder`
- 查询出境结果:`GetFundsToOverseaOrderByOutOrderId`
- 获取购付汇账单文件下载链接:`GetFundsToOverseaBillDownloadUrl`
2023-08-11 20:47:13 +08:00
- 平台收付通(下载账单)
2021-05-10 15:30:00 +08:00
- 申请交易账单:`GetBillTradeBill`
- 申请资金账单:`GetBillFundflowBill`
- 获取分账账单文件下载地址:`GetProfitSharingBill`
2021-05-10 15:30:00 +08:00
- 申请二级商户资金账单:`GetEcommerceBillFundflowBill`
- 下载账单:`DownloadBillFile`
- 代金券
2021-05-10 15:30:00 +08:00
- 创建代金券批次:`CreateMarketingFavorStock`
2021-05-10 15:30:00 +08:00
- 激活代金券批次:`StartMarketingFavorStock`
2021-05-10 15:30:00 +08:00
- 发放代金券批次:`SendMarketingFavorUserCoupon`
- 暂停代金券批次:`PauseMarketingFavorStock`
- 重启代金券批次:`RestartMarketingFavorStock`
2023-08-11 20:47:13 +08:00
- 条件查询批次列表:`QueryMarketingFavorStocks`
2023-08-11 20:47:13 +08:00
- 查询批次详情:`GetMarketingFavorStockByStockId`
2023-08-11 20:47:13 +08:00
- 查询代金券详情:`GetMarketingFavorUserCouponByCouponId`
2023-08-11 20:47:13 +08:00
- 查询代金券可用商户:`QueryMarketingFavorStockMerchants`
2023-08-11 20:47:13 +08:00
- 查询代金券可用单品:`QueryMarketingFavorStockItems`
2023-08-11 20:47:13 +08:00
- 根据商户号查用户的券:`QueryMarketingFavorUserCoupons`
2023-08-11 20:47:13 +08:00
- 下载批次核销明细:`GetMarketingFavorStockUseFlow`
2023-08-11 20:47:13 +08:00
- 下载批次退款明细:`GetMarketingFavorStockRefundFlow`
2023-08-11 20:47:13 +08:00
- 设置消息通知地址:`UpdateMarketingFavorCallback`
2023-08-11 20:47:13 +08:00
- 图片上传:`UploadMarketingMediaImage`
2023-08-11 20:47:13 +08:00
- 商家券
2023-08-11 20:47:13 +08:00
- 创建商家券:`CreateMarketingBusifavorStock`
2023-08-11 20:47:13 +08:00
- 查询商家券详情:`GetMarketingBusifavorStockByStockId`
2023-08-11 20:47:13 +08:00
- 核销用户券:`SetMarketingBusifavorCouponUsed`
2023-08-11 20:47:13 +08:00
- 根据过滤条件查询用户券:`QueryMarketingBusifavorUserCoupons`
2023-08-11 20:47:13 +08:00
- 查询用户单张券详情:`GetMarketingBusifavorUserCouponByCouponCode`
2023-08-11 20:47:13 +08:00
- 上传预存 Code`UploadMarketingBusifavorStockCouponCodes`
2023-08-11 20:47:13 +08:00
- 设置商家券事件通知地址:`UpdateMarketingBusifavorCallback`
2023-08-11 20:47:13 +08:00
- 查询商家券事件通知地址:`GetMarketingBusifavorCallback`
2023-08-11 20:47:13 +08:00
- 关联订单信息:`AssociateMarketingBusifavorCoupon`
2023-08-11 20:47:13 +08:00
- 取消关联订单信息:`DisassociateMarketingBusifavorCoupon`
2023-08-11 20:47:13 +08:00
- 修改批次预算:`UpdateMarketingBusifavorStockBudget`
2023-08-11 20:47:13 +08:00
- 修改商家券基本信息:`UpdateMarketingBusifavorStock`
2023-08-11 20:47:13 +08:00
- 申请退券:`CreateMarketingBusifavorCouponReturn`
2023-08-11 20:47:13 +08:00
- 使券失效:`DeactivateMarketingBusifavorCoupon`
2023-08-11 20:47:13 +08:00
- 营销补差付款:`CreateMarketingBusifavorSubsidyPayReceipt`
2023-08-11 20:47:13 +08:00
- 营销补差回退:`CreateMarketingBusifavorSubsidyReturnReceipt`
2023-08-11 20:47:13 +08:00
- 查询营销补差付款单列表:`QueryMarketingBusifavorSubsidyPayReceipts`
2023-08-11 20:47:13 +08:00
- 查询营销补差付款单详情:`GetMarketingBusifavorSubsidyPayReceiptBySubsidyReceiptId`
- 图片上传:`UploadMarketingMediaImage`
- 委托营销
- 建立合作关系:`BuildMarketingPartnership`
- 终止合作关系:`TerminateMarketingPartnership`
- 查询合作关系列表:`QueryMarketingPartnerships`
- 支付有礼
- 创建全场满额送活动:`CreateMarketingPayGiftActivityUniqueThresholdActivity`
- 查询活动详情接口:`GetMarketingPayGiftActivityByActivityId`
- 查询活动发券商户号:`QueryMarketingPayGiftActivityMerchants`
- 查询活动指定商品列表:`QueryMarketingPayGiftActivityGoods`
- 终止活动:`TerminateMarketingPayGiftActivity`
- 新增活动发券商户号:`AddMarketingPayGiftActivityMerchant`
- 获取支付有礼活动列表:`QueryMarketingPayGiftActivities`
- 删除活动发券商户号:`DeleteMarketingPayGiftActivityMerchant`
- 图片上传:`UploadMarketingMediaImage`
- 智慧商圈
- 商圈积分同步:`NotifyBusinessCirclePoints`
- 商圈积分授权查询:`GetBusinessCircleUserAuthorizationByOpenId`
- 商圈会员待积分状态查询:`GetBusinessCircleUserPointsCommitStatusByOpenId`
- 商圈会员停车状态同步:`NotifyBusinessCircleParkings`
- 支付即服务
- 服务人员注册:`CreateSmartGuide`
- 服务人员分配:`AssignSmartGuide`
- 服务人员查询:`QuerySmartGuides`
- 服务人员信息更新:`UpdateSmartGuide`
- 电子发票
- 电子发票卡券模板
- 创建电子发票卡券模板:`CreateNewTaxControlFapiaoCardTemplate`
- 电子发票
- 开具电子发票:`CreateNewTaxControlFapiaoApplication`
- 上传电子发票文件:`UploadNewTaxControlFapiaoApplicationFapiaoFile`
- 查询电子发票:`GetNewTaxControlFapiaoApplicationByFapiaoApplyId`
- 获取发票下载信息:`GetNewTaxControlFapiaoApplicationFiles`
- 将电子发票插入微信用户卡包:`CreateNewTaxControlFapiaoApplicationCard`
- 冲红电子发票:`ReverseNewTaxControlFapiaoApplication`
- 下载发票文件:`DownloadNewTaxControlFapiaoApplicationFile`
- 电子发票商户信息
- 获取商户开票基础信息:`GetNewTaxControlFapiaoMerchantBaseInformation`
2023-08-11 20:47:13 +08:00
- 查询商户配置的开发选项:`GetNewTaxControlFapiaoMerchantDevelopmentConfig`
- 配置开发选项:`ModifyNewTaxControlFapiaoMerchantDevelopmentConfig`
- 获取商品和服务税收分类对照表:`QueryNewTaxControlFapiaoMerchantTaxCodes`
- 检查子商户开票功能状态:`CheckNewTaxControlFapiaoMerchant`
- 用户抬头
- 获取用户填写的抬头:`GetNewTaxControlFapiaoUserTitle`
- 获取抬头填写链接:`GetNewTaxControlFapiaoUserTitleUrl`
- 点金计划
2023-08-11 20:47:13 +08:00
- 点金计划管理:`ChangeGoldPlanStatus`
2023-08-11 20:47:13 +08:00
- 商家小票管理:`ChangeGoldPlanCustomPageStatus`
2023-08-11 20:47:13 +08:00
- 同业过滤标签管理:`SetGoldPlanAdvertisingIndustryFilter`
2023-08-11 20:47:13 +08:00
- 开通广告展示:`OpenGoldPlanAdvertisingShow`
2023-08-11 20:47:13 +08:00
- 关闭广告展示:`CloseGoldPlanAdvertisingShow`
2023-08-11 20:47:13 +08:00
- 扩展工具
2023-08-11 20:47:13 +08:00
- 分账
2023-08-11 20:47:13 +08:00
- 请求分账:`CreateProfitSharingOrder`
2023-08-11 20:47:13 +08:00
- 查询分账结果:`GetProfitSharingOrderByOutOrderNu`
2023-08-11 20:47:13 +08:00
- 请求分账回退:`CreateProfitSharingReturnOrder`
2023-08-11 20:47:13 +08:00
- 查询分账回退结果:`GetProfitSharingReturnOrderByOutOrderNumber`
2023-08-11 20:47:13 +08:00
- 解冻剩余资金:`SetProfitSharingOrderUnfrozen`
2023-08-11 20:47:13 +08:00
- 查询剩余待分金额:`GetProfitSharingTransactionAmounts`
2023-08-11 20:47:13 +08:00
- 查询最大分账比例:`GetProfitSharingMerchantConfigs`
2023-08-11 20:47:13 +08:00
- 添加分账接收方:`AddProfitSharingReceiver`
2023-08-11 20:47:13 +08:00
- 删除分账接收方:`DeleteProfitSharingReceiver`
2023-08-11 20:47:13 +08:00
- 申请分账账单:`GetProfitSharingBill`
2023-08-11 20:47:13 +08:00
- 下载账单:`DownloadBillFile`
2023-08-11 20:47:13 +08:00
- 连锁品牌分账
2023-08-11 20:47:13 +08:00
- 请求分账:`CreateBrandProfitSharingOrder`
2023-08-11 20:47:13 +08:00
- 查询分账结果:`GetBrandProfitSharingOrderByOutOrderNumber`
2023-08-11 20:47:13 +08:00
- 请求分账回退:`CreateBrandProfitSharingReturnOrder`
2023-08-11 20:47:13 +08:00
- 查询分账回退结果:`GetBrandProfitSharingReturnOrderByOrderId` / `GetBrandProfitSharingReturnOrderByOutOrderNumber`
2023-08-11 20:47:13 +08:00
- 完结分账:`SetBrandProfitSharingOrderFinish`
2021-05-10 15:30:00 +08:00
- 查询订单剩余待分金额:`GetBrandProfitSharingOrderAmounts`
2021-05-10 15:30:00 +08:00
- 查询最大分账比例:`GetBrandProfitSharingBrandConfigs`
2021-05-10 15:30:00 +08:00
- 添加分账接收方:`AddBrandProfitSharingReceiver`
2021-05-10 15:30:00 +08:00
- 删除分账接收方:`DeleteBrandProfitSharingReceiver`
2021-05-10 15:30:00 +08:00
- 消费者投诉 2.0
2021-05-10 15:30:00 +08:00
- 查询投诉单列表:`QueryMerchantServiceComplaints`
2021-05-10 15:30:00 +08:00
- 查询投诉单详情:`GetMerchantServiceComplaintByComplaintId`
2021-05-10 15:30:00 +08:00
- 查询投诉协商历史:`QueryMerchantServiceComplaintNegotiationHistories`
2021-05-10 15:30:00 +08:00
- 创建投诉通知回调地址:`CreateMerchantServiceComplaintNotification`
2021-05-10 15:30:00 +08:00
- 查询投诉通知回调地址:`GetMerchantServiceComplaintNotification`
2021-05-10 15:30:00 +08:00
- 更新投诉通知回调地址:`UpdateMerchantServiceComplaintNotification`
2021-05-10 15:30:00 +08:00
- 删除投诉通知回调地址:`DeleteMerchantServiceComplaintNotification`
2021-05-10 15:30:00 +08:00
- 提交回复:`CreateMerchantServiceComplaintResponse`
2021-05-10 15:30:00 +08:00
- 反馈处理完成:`SetMerchantServiceComplaintComplete`
2021-05-10 15:30:00 +08:00
- 商户上传反馈图片:`UploadMerchantServiceImage`
2021-05-10 15:30:00 +08:00
- 下载图片:`DownloadMerchantServiceImage`
2021-05-10 15:30:00 +08:00
- 安全工具
2021-05-10 15:30:00 +08:00
- 平台证书
2021-05-10 15:30:00 +08:00
- 获取平台证书列表:`QueryCertificates`
2021-05-10 15:30:00 +08:00
- 商户管理
2021-05-10 15:30:00 +08:00
- 特约商户进件
2021-05-10 15:30:00 +08:00
- 提交申请单:`CreateApplyForSubMerchantApplyment`
2021-05-10 15:30:00 +08:00
- 查询申请单状态:`GetApplyForSubMerchantApplymentByApplymentId` / `GetApplyForSubMerchantApplymentByBusinessCode`
2021-05-10 15:30:00 +08:00
- 修改结算帐号:`ModifyApplyForSubMerchantSettlement`
2021-05-10 15:30:00 +08:00
- 查询结算账户:`GetApplyForSubMerchantSettlement`
2021-05-10 15:30:00 +08:00
- 查询结算账户修改申请状态:`GetApplyForSubMerchantSettlementByApplicationNumber`
2021-05-10 15:30:00 +08:00
- 图片上传:`UploadMerchantMediaImage`
2021-05-10 15:30:00 +08:00
- 视频上传:`UploadMerchantMediaVideo`
2021-05-10 15:30:00 +08:00
- 商户开户意愿确认
2021-05-10 15:30:00 +08:00
- 提交申请单:`CreateApplyForSubjectApplyment`
2021-05-10 15:30:00 +08:00
- 撤销申请单:`CancelApplyForSubjectApplymentByApplymentId` / `CancelApplyForSubjectApplymentByBusinessCode`
2021-05-10 15:30:00 +08:00
- 查询申请单审核结果:`GetApplyForSubjectApplymentByApplymentId` / `GetApplyForSubjectApplymentByBusinessCode`
2021-05-10 15:30:00 +08:00
- 获取商户开户意愿确认状态:`GetApplyForSubjectApplymentMerchantState`
2023-08-11 20:47:13 +08:00
- 图片上传:`UploadMerchantMediaImage`
2021-05-10 15:30:00 +08:00
- 商户平台处置通知
2021-05-10 15:30:00 +08:00
- 创建商户违规通知回调地址:`CreateMerchantRiskManageViolationNotification`
2021-05-10 15:30:00 +08:00
- 查询商户违规通知回调地址:`GetMerchantRiskManageViolationNotification`
2021-05-10 15:30:00 +08:00
- 更新商户违规通知回调地址:`UpdateMerchantRiskManageViolationNotification`
2021-05-10 15:30:00 +08:00
- 删除商户违规通知回调地址:`DeleteMerchantRiskManageViolationNotification`
2021-05-10 15:30:00 +08:00
- 商户风险管理
2021-05-10 15:30:00 +08:00
- 上报订单关联信息:`CreateMerchantRiskManageTradeUnionInformationReport`
2021-05-10 15:30:00 +08:00
- 查询风险信息:`GetMerchantRiskManageTradeRiskInformation`
2021-05-10 15:30:00 +08:00
- 处置结果回传:`CreateMerchantRiskManageTradeRiskResult`
2021-05-10 15:30:00 +08:00
- 其他
2021-05-10 15:30:00 +08:00
- 来账识别
2021-05-10 15:30:00 +08:00
- 特约商户银行来账查询:`QueryMerchantFundPartnerIncomeRecords`
2021-05-10 15:30:00 +08:00
- 服务商银行来账查询:`QueryMerchantFundMerchantIncomeRecords`
- 扣款服务
- 预扣费通知:`NotifyPartnerPAPayContract`
2021-05-10 15:30:00 +08:00
- 代扣服务切卡组件
- 出行券切卡组件预下单:`CreateIndustryCouponToken`
- 连锁品牌门店
2021-05-10 15:30:00 +08:00
- 创建门店:`CreateMerchantStore`
2021-05-10 15:30:00 +08:00
- 查询门店:`GetMerchantStoreByStoreId`
2021-07-07 17:54:14 +08:00
- 修改门店:`ModifyMerchantStore`
2021-07-07 17:54:14 +08:00
- 绑定门店收款信息:`BindMerchantStoreRecipient`
2021-07-07 17:54:14 +08:00
- 解除门店收款信息绑定:`UnbindMerchantStoreRecipient`
2021-07-07 17:54:14 +08:00
- 品牌小店营销
2021-07-07 17:54:14 +08:00
- 查询零售小店活动业务代理:`QueryMarketingGoodsSubsidyActivityRetailStoreRepresentatives`
2021-07-07 17:54:14 +08:00
- 添加零售小店活动业务代理:`AddMarketingGoodsSubsidyActivityRetailStoreRepresentative`
2021-07-07 17:54:14 +08:00
- 删除零售小店活动业务代理:`DeleteMarketingGoodsSubsidyActivityRetailStoreRepresentative`
2021-07-07 17:54:14 +08:00
- 生成小店活动物料码:`CreateMarketingGoodsSubsidyActivityRetailStoreMaterial`
2021-07-07 17:54:14 +08:00
- 查询小店活动门店列表:`QueryMarketingGoodsSubsidyActivityRetailStores`
2021-07-07 17:54:14 +08:00
- 查询小店活动门店详情:`GetMarketingGoodsSubsidyActivityRetailStoreByStoreCode`
2021-07-27 00:01:00 +08:00
- 添加小店活动门店:`AddMarketingGoodsSubsidyActivityRetailStore`
2021-07-27 00:01:00 +08:00
- 删除小店活动门店:`DeleteMarketingGoodsSubsidyActivityRetailStore`
2021-05-10 15:30:00 +08:00
- 电子小票
2021-05-10 15:30:00 +08:00
- 自定义入口
2021-05-10 15:30:00 +08:00
- 创建自定义入口:`CreateMarketingShoppingReceiptCustomEntrance`
2021-05-10 15:30:00 +08:00
- 查询自定义入口:`GetMarketingShoppingReceiptCustomEntranceByBrandId`
2021-05-10 15:30:00 +08:00
- 更新自定义入口:`ModifyMarketingShoppingReceiptCustomEntrance`
2021-05-10 15:30:00 +08:00
- 电子小票
2021-05-10 15:30:00 +08:00
- 上传电子小票:`UploadMarketingShoppingReceipt`
2021-05-10 15:30:00 +08:00
- 商家电子小票跳转信息
2021-05-10 15:30:00 +08:00
- 上传商家电子小票跳转信息:`SetMarketingShoppingReceiptJumpInfo`
2021-05-10 15:30:00 +08:00
- 小票机
2022-01-25 14:42:58 +08:00
- 小票机打印:`CreatePayDevicePrinterPrintOrder`
2022-01-25 14:42:58 +08:00
- 查询订单:`GetPayDevicePrinterPrintOrderByPrintOrderNumber`
2022-01-25 14:42:58 +08:00
- ETC 扣费
2022-01-25 14:42:58 +08:00
- 预开通用户 ETC 指定卡扣费:`PreopenVehicleETC`
2022-01-25 14:42:58 +08:00
- 高速场景商户扣款:`CreateVehicleETCTransactionHighway`
2022-01-25 14:42:58 +08:00
- 查询 ETC 签约状态:`GetVehicleETCContractByOpenId` / `GetVehicleETCContractByContractId`
2022-01-25 14:42:58 +08:00
- 查询订单:`GetVehicleETCTransactionByOutTradeNumber` / `GetVehicleETCTransactionByTransactionId`
2022-01-25 14:42:58 +08:00
- 出租车电子发票
2022-01-25 14:42:58 +08:00
- 新增出租车公司:`CreateTaxiInvoiceTaxiCompany`
2022-01-25 14:42:58 +08:00
- 获取出租车公司商户信息:`GetTaxiInvoiceTaxiCompany`
2022-01-25 14:42:58 +08:00
- 更新出租车信息:`UpdateTaxiInvoiceTaxi`
2022-01-25 14:42:58 +08:00
- 获取出租车信息:`GetTaxiInvoiceTaxi`
2022-01-25 14:42:58 +08:00
- 更新司机信息:`UpdateTaxiInvoiceDriver`
2022-01-25 14:42:58 +08:00
- 获取司机信息:`GetTaxiInvoiceDriver`
2022-01-25 14:42:58 +08:00
- 签到签退:`CreateTaxiInvoicePunchAttendance`
2022-01-25 14:42:58 +08:00
- 根据凭证查询乘客行程单:`GetTaxiInvoiceUserTaxiOrderByToken`
- 上传出租车电子发票文件:`UploadTaxiInvoiceCardFile`
- 将出租车电子发票插入微信用户卡包:`CreateTaxiInvoiceCard`
- 校园轻松付:
- 预签约:`PresignEducationSchoolPayContract`
- 通过协议号查询签约:`GetEducationSchoolPayContractByContractId`
- 商户主动解约:`TerminateEducationSchoolPayContract`
- 查询用户签约列表:`QueryEducationSchoolPayUserContracts`
- 扣款:`CreateEducationSchoolPayTransaction`
- 微信支付订单号查单:`GetEducationSchoolPayTransactionById`
- 商户订单号查单:`GetEducationSchoolPayTransactionByOutTradeNumber`
- 商户查询用户欠款状态:`GetEducationSchoolPayUserDebtState`
2022-01-25 14:42:58 +08:00
2022-11-24 13:15:38 +08:00
- 微工卡
- 微工卡获得用户授权
- 生成授权 Token`CreatePayrollCardToken`
- 查询微工卡授权关系:`GetPayrollRelationByOpenId`
- 微工卡用户核身份:
- 微工卡核身预下单:`PreorderWithAuthPayrollCardAuthentication`
2022-11-24 13:15:38 +08:00
- 获取核身结果:`GetPayrollCardAuthenticationByAuthenticateNumber`
- 查询核身记录:`QueryPayrollCardAuthentications`
- 微工卡转账:
- 发起批量转账:`CreatePayrollCardTransferBatch`
- 微信支付批次单号查询批次单:`GetTransferBatchByBatchId`
- 微信支付明细单号查询明细单:`GetTransferBatchDetailByDetailId`
- 商家批次单号查询批次单:`GetTransferBatchByOutBatchNumber`
- 商家明细单号查询明细单:`GetTransferBatchDetailByOutDetailNumber`
- 转账电子回单申请受理:`CreateTransferBillReceipt`
- 查询转账电子回单:`GetTransferBillReceiptByOutBatchNumber`
- 转账明细电子回单受理:`CreateTransferDetailElectronicReceipt`
- 查询转账明细电子回单受理结果:`GetTransferDetailElectronicReceiptByOutDetailNumber`
- 下载电子回单:`DownloadBillFile`
- 微工卡余额查询:
- 查询特约商户账户实时余额:`GetEcommerceFundBalance`
- 查询账户实时余额:`GetMerchantFundBalance`
- 查询账户日终余额:`GetMerchantFundDayendBalance`
- 微工卡提现:
- 特约商户余额提现:`CreateEcommerceFundWithdraw`
- 查询特约商户提现状态:`GetEcommerceFundWithdrawByWithdrawId` / `GetEcommerceFundWithdrawByOutRequestNumber`
- 按日下载提现异常文件:`GetMerchantFundWithdrawBill`
- 微工卡账单:
- 申请单个子商户资金账单:`GetBillSubMerchantFundflowBill`
- 下载账单:`DownloadBillFile`
- 微工卡来账识别:
- 特约商户银行来账查询:`QueryMerchantFundPartnerIncomeRecords`
- 服务商银行来账查询:`QueryMerchantFundMerchantIncomeRecords`
- 微信点餐订单
2021-11-19 23:43:25 +08:00
- 点餐订单信息同步:`SyncCateringOrderStatus`
2021-05-10 15:30:00 +08:00
- 微信寄快递
2021-05-10 15:30:00 +08:00
- 用户 OpenID 转换:`TransformExpressUserOpenId`
2021-05-10 15:30:00 +08:00
</details>
2022-02-24 16:32:45 +08:00
---
### 【附】境外支付 API 模型命名速查表:
2022-02-24 16:32:45 +08:00
注:树形结构与[微信支付开发者文档](https://pay.weixin.qq.com/wiki/doc/api/wxpay/en/pages/Overview.shtml)目录结构保持一致。
<details>
<summary>[展开查看]</summary>
- Payments
- Quick Pay
- Quick Pay`CreateHKTransactionMicroPay` / `CreateHKPartnerTransactionMicroPay`
- Query Order`GetHKTransactionByOutTradeNumber` / `GetHKTransactionById` / `GetHKPartnerTransactionByOutTradeNumber` / `GetHKPartnerTransactionById`
- Refund Application`CreateHKRefund` / `CreateHKPartnerRefund`
- Query Single Refund`GetHKRefundByOutRefundNumber` / `GetHKRefundById` / `GetHKPartnerRefundByOutRefundNumber` / `GetHKPartnerRefundById`
- Query All Refunds: `QueryHKRefunds` / `QueryHKPartnerRefunds`
- Downloading Reconciliation`DownloadHKStatements`
- Revoke Order`ReverseHKTransaction` / `ReverseHKPartnerTransaction`
- Downloading Platform Certificate`QueryCertificates`
- Query Fund Settlement Details`QueryHKSettlements`
- Native Payment
- Order Placement`CreateHKTransactionMicroPay` / `CreateHKPartnerTransactionMicroPay`
- Query Order`GetHKTransactionByOutTradeNumber` / `GetHKTransactionById` / `GetHKPartnerTransactionByOutTradeNumber` / `GetHKPartnerTransactionById`
- Refund Application`CreateHKRefund` / `CreateHKPartnerRefund`
- Query Single Refund`GetHKRefundByOutRefundNumber` / `GetHKRefundById` / `GetHKPartnerRefundByOutRefundNumber` / `GetHKPartnerRefundById`
- Query All Refunds: `QueryHKRefunds` / `QueryHKPartnerRefunds`
- Downloading Reconciliation`DownloadHKStatements`
- Close Order`CloseHKTransaction` / `CloseHKPartnerTransaction`
- Downloading Platform Certificate`QueryCertificates`
- Query Fund Settlement Details`QueryHKSettlements`
- JSAPI Payment
- Order Placement`CreateHKTransactionMicroPay` / `CreateHKPartnerTransactionMicroPay`
- Query Order`GetHKTransactionByOutTradeNumber` / `GetHKTransactionById` / `GetHKPartnerTransactionByOutTradeNumber` / `GetHKPartnerTransactionById`
- Refund Application`CreateHKRefund` / `CreateHKPartnerRefund`
- Query Single Refund`GetHKRefundByOutRefundNumber` / `GetHKRefundById` / `GetHKPartnerRefundByOutRefundNumber` / `GetHKPartnerRefundById`
- Query All Refunds: `QueryHKRefunds` / `QueryHKPartnerRefunds`
- Downloading Reconciliation`DownloadHKStatements`
- Close Order`CloseHKTransaction` / `CloseHKPartnerTransaction`
- Downloading Platform Certificate`QueryCertificates`
- Query Fund Settlement Details`QueryHKSettlements`
- In-App Payment
- Order Placement`CreateHKTransactionMicroPay` / `CreateHKPartnerTransactionMicroPay`
- Query Order`GetHKTransactionByOutTradeNumber` / `GetHKTransactionById` / `GetHKPartnerTransactionByOutTradeNumber` / `GetHKPartnerTransactionById`
- Refund Application`CreateHKRefund` / `CreateHKPartnerRefund`
- Query Single Refund`GetHKRefundByOutRefundNumber` / `GetHKRefundById` / `GetHKPartnerRefundByOutRefundNumber` / `GetHKPartnerRefundById`
- Query All Refunds: `QueryHKRefunds` / `QueryHKPartnerRefunds`
- Downloading Reconciliation`DownloadHKStatements`
- Close Order`CloseHKTransaction` / `CloseHKPartnerTransaction`
- Downloading Platform Certificate`QueryCertificates`
- Query Fund Settlement Details`QueryHKSettlements`
- Mini-Program Payment
- Order Placement`CreateHKTransactionMicroPay` / `CreateHKPartnerTransactionMicroPay`
- Query Order`GetHKTransactionByOutTradeNumber` / `GetHKTransactionById` / `GetHKPartnerTransactionByOutTradeNumber` / `GetHKPartnerTransactionById`
- Refund Application`CreateHKRefund` / `CreateHKPartnerRefund`
- Query Single Refund`GetHKRefundByOutRefundNumber` / `GetHKRefundById` / `GetHKPartnerRefundByOutRefundNumber` / `GetHKPartnerRefundById`
- Query All Refunds: `QueryHKRefunds` / `QueryHKPartnerRefunds`
- Downloading Reconciliation`DownloadHKStatements`
- Close Order`CloseHKTransaction` / `CloseHKPartnerTransaction`
- Downloading Platform Certificate`QueryCertificates`
- Query Fund Settlement Details`QueryHKSettlements`
- H5 Payment
- Order Placement`CreateHKTransactionMicroPay` / `CreateHKPartnerTransactionMicroPay`
- Query Order`GetHKTransactionByOutTradeNumber` / `GetHKTransactionById` / `GetHKPartnerTransactionByOutTradeNumber` / `GetHKPartnerTransactionById`
- Query All Refunds: `QueryHKRefunds` / `QueryHKPartnerRefunds`
- Refund Application`CreateHKRefund` / `CreateHKPartnerRefund`
- Query Single Refund`GetHKRefundByOutRefundNumber` / `GetHKRefundById` / `GetHKPartnerRefundByOutRefundNumber` / `GetHKPartnerRefundById`
- Downloading Reconciliation`DownloadHKStatements`
- Close Order`CloseHKTransaction` / `CloseHKPartnerTransaction`
- Downloading Platform Certificate`QueryCertificates`
- Query Fund Settlement Details`QueryHKSettlements`
- Auto-Debit Payment
- Mini Program Signing: `PresignHKPAPayContractEntrustMiniProgram` / `PresignHKPartnerPAPayContractEntrustMiniProgram`
- H5 Signing: `PresignHKPAPayContractEntrustH5` / `PresignHKPartnerPAPayContractEntrustH5`
- JSAPI Signing: `PresignHKPAPayContractEntrustJsapi` / `PresignHKPartnerPAPayContractEntrustJsapi`
- PC WEB Signing: `PresignHKPAPayContractEntrustJsapi` / `PresignHKPartnerPAPayContractEntrustJsapi`
- APP Signing: `PresignHKPAPayContractEntrustApp` / `PresignHKPartnerPAPayContractEntrustApp`
- Querying Signing Status: `GetHKPAPayContractByOutContractCode` / `GetHKPAPayContractByContractId` / `GetHKPartnerPAPayContractByOutContractCode` / `GetHKPartnerPAPayContractByContractId`
- Applying for Termination: `TerminateHKPAPayContract` / `TerminateHKPartnerPAPayContract`
- Deduction: `CreateHKPAPayTransaction` / `CreateHKPartnerPAPayTransaction`
- Order Query: `GetHKPAPayTransactionByOutTradeNumber` / `GetHKPAPayTransactionById` / `GetHKPartnerPAPayTransactionByOutTradeNumber` / `GetHKPartnerPAPayTransactionById`
- Order Reversing: `ReverseHKPAPayTransaction` / `ReverseHKPartnerPAPayTransaction`
- Submit Refund: `CreateHKRefund` / `CreateHKPartnerRefund`
- Query Single Refund: `GetHKRefundByOutRefundNumber` / `GetHKRefundById` / `GetHKPartnerRefundByOutRefundNumber` / `GetHKPartnerRefundById`
- Query All Refunds: `QueryHKRefunds` / `QueryHKPartnerRefunds`
- Other
- Merchant Onboarding
- Onboarding Sub-merchant`AddSubMerchant`
- Query Sub-merchant`GetSubMerchant`
- Sub Merchant Modifying`ModifySubMerchant`
2022-02-24 16:32:45 +08:00
- Upload Image`UploadMerchantMediaImage`
2022-02-24 16:32:45 +08:00
- Customs Declaration
2022-02-24 16:32:45 +08:00
- Customs Declaration`CreateCustomsOrder`
2022-02-24 16:32:45 +08:00
- Identity Information Verification`VerifyCustomsCertificate`
2022-02-24 16:32:45 +08:00
- Query Customs Declaration`QueryCustomsOrders`
2022-02-24 16:32:45 +08:00
- Repush Customs Declaration`RedeclareCustomsOrder`
2022-02-24 16:32:45 +08:00
- Modify Customs Declaration Info`ModifyCustomsOrder`