Skip to content

Commit

Permalink
0.15.19
Browse files Browse the repository at this point in the history
  • Loading branch information
TheNorthMemory committed Nov 27, 2023
1 parent 6c2c5c5 commit b96dc0a
Show file tree
Hide file tree
Showing 8 changed files with 365 additions and 1 deletion.
16 changes: 15 additions & 1 deletion docs/swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ info:
整理自[官方文档中心](https://pay.weixin.qq.com/wiki/doc/apiv3/index.shtml)
本[项目/工具地址](https://github.com/TheNorthMemory/wechatpay-openapi)
**访问第一次加载比较慢,请耐心等待大约1-2分钟不等(小文件下载比较多)。**
version: 0.15.18
version: 0.15.19
schemes:
- https
consumes:
Expand Down Expand Up @@ -813,6 +813,14 @@ paths:
$ref: ./v3/marketing/favor/users/{openid}/coupons/{coupon_id}.yaml
/v3/marketing/goods-subsidy-activity/retail-store-act/{activity_id}/representative:
$ref: ./v3/marketing/goods-subsidy-activity/retail-store-act/{activity_id}/representative.yaml
/v3/marketing/goods-subsidy-activity/retail-store-act/{activity_id}/representatives:
$ref: ./v3/marketing/goods-subsidy-activity/retail-store-act/{activity_id}/representatives.yaml
/v3/marketing/goods-subsidy-activity/retail-store-act/{brand_id}/materials:
$ref: ./v3/marketing/goods-subsidy-activity/retail-store-act/{brand_id}/materials.yaml
/v3/marketing/goods-subsidy-activity/retail-store-act/{brand_id}/stores:
$ref: ./v3/marketing/goods-subsidy-activity/retail-store-act/{brand_id}/stores.yaml
/v3/marketing/goods-subsidy-activity/retail-store-act/{brand_id}/stores/{store_code}:
$ref: ./v3/marketing/goods-subsidy-activity/retail-store-act/{brand_id}/stores/{store_code}.yaml
/v3/marketing/membercard-activity/activities:
$ref: ./v3/marketing/membercard-activity/activities.yaml
/v3/marketing/membercard-activity/activities/{activity_id}:
Expand Down Expand Up @@ -907,6 +915,10 @@ paths:
$ref: ./v3/mch_operate/risk/withdrawl-apply/out-request-no/{out_request_no}.yaml
/v3/merchant-risk-manage/report-trade-union-information:
$ref: ./v3/merchant-risk-manage/report-trade-union-information.yaml
/v3/merchant-risk-manage/trade-risk-information:
$ref: ./v3/merchant-risk-manage/trade-risk-information.yaml
/v3/merchant-risk-manage/trade-risk-result:
$ref: ./v3/merchant-risk-manage/trade-risk-result.yaml
/v3/merchant-risk-manage/violation-notifications:
$ref: ./v3/merchant-risk-manage/violation-notifications.yaml
/v3/merchant-service/complaint-notifications:
Expand Down Expand Up @@ -973,6 +985,8 @@ paths:
$ref: ./v3/new-tax-control-fapiao/fapiao-applications.yaml
/v3/new-tax-control-fapiao/fapiao-applications/{fapiao_apply_id}:
$ref: ./v3/new-tax-control-fapiao/fapiao-applications/{fapiao_apply_id}.yaml
/v3/new-tax-control-fapiao/fapiao-applications/{fapiao_apply_id}/fapiao-files:
$ref: ./v3/new-tax-control-fapiao/fapiao-applications/{fapiao_apply_id}/fapiao-files.yaml
/v3/new-tax-control-fapiao/fapiao-applications/{fapiao_apply_id}/insert-cards:
$ref: ./v3/new-tax-control-fapiao/fapiao-applications/{fapiao_apply_id}/insert-cards.yaml
/v3/new-tax-control-fapiao/fapiao-applications/{fapiao_apply_id}/reverse:
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
get:
x-last-updated-at: 2023.07.28
x-role:
- 普通商户
- 服务商
tags:
- 品牌小店营销
summary: 查询零售小店活动业务代理
description: '[官方文档](https://pay.weixin.qq.com/docs/partner/apis/retail-store/retail-store-act/list-representative.html)'
parameters:
- name: activity_id
in: path
required: true
type: string
description: 零售小店活动ID
example: '3118550000000004'
- name: offset
in: query
required: true
type: number
format: integer
description: 分页页码
example: 0
- name: limit
in: query
required: true
type: number
format: integer
description: 分页大小
example: 10
responses:
'200':
schema: {}
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
post:
x-last-updated-at: 2023.07.28
x-role:
- 普通商户
- 服务商
tags:
- 品牌小店营销
summary: 生成小店活动物料码
description: '[官方文档](https://pay.weixin.qq.com/docs/partner/apis/retail-store/retail-store-act/create-materials.html)'
parameters:
- name: brand_id
in: path
required: true
type: string
- name: _
in: body
required: true
type: object
schema:
properties:
out_request_no:
type: string
example: '1002600620019090123143254436'
material_num:
type: number
format: integer
example: 100
responses:
'200':
schema: {}
Original file line number Diff line number Diff line change
@@ -0,0 +1,119 @@
post:
x-last-updated-at: 2023.07.28
x-role:
- 普通商户
- 服务商
tags:
- 品牌小店营销
summary: 添加小店活动门店
description: '[官方文档](https://pay.weixin.qq.com/docs/partner/apis/retail-store/retail-store-act/add-stores.html)'
parameters:
- name: brand_id
in: path
required: true
type: string
description: 品牌ID
example: '1001'
- name: _
in: body
required: true
schema:
type: object
properties:
out_request_no:
type: string
example: '1002600620019090123143254436'
add_time:
type: string
format: rfc3339
example: '2015-05-20T13:29:35+08:00'
stores:
type: array
items:
type: object
properties:
store_code:
type: string
example: abc_001
store_name:
type: string
example: 幸福小店
responses:
'200':
schema: {}
delete:
x-last-updated-at: 2023.07.28
x-role:
- 普通商户
- 服务商
tags:
- 品牌小店营销
summary: 删除小店活动门店
description: '[官方文档](https://pay.weixin.qq.com/docs/partner/apis/retail-store/retail-store-act/delete-stores.html)'
parameters:
- name: brand_id
in: path
required: true
type: string
description: 品牌ID
example: '1001'
- name: _
in: body
required: true
schema:
type: object
properties:
out_request_no:
type: string
example: '1002600620019090123143254436'
delete_time:
type: string
format: rfc3339
example: '2015-05-20T13:29:35+08:00'
stores:
type: array
items:
type: object
properties:
store_code:
type: string
example: abc_001
store_name:
type: string
example: 幸福小店
responses:
'200':
schema: {}
get:
x-last-updated-at: 2023.07.28
x-role:
- 普通商户
- 服务商
tags:
- 品牌小店营销
summary: 查询小店活动门店列表
description: '[官方文档](https://pay.weixin.qq.com/docs/partner/apis/retail-store/retail-store-act/list-store.html)'
parameters:
- name: brand_id
in: path
required: true
type: string
description: 品牌ID
example: '1001'
- name: offset
in: query
required: true
type: number
format: integer
description: 分页页码
example: 0
- name: limit
in: query
required: true
type: number
format: integer
description: 分页大小
example: 10
responses:
'200':
schema: {}
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
get:
x-last-updated-at: 2023.07.28
x-role:
- 普通商户
- 服务商
tags:
- 品牌小店营销
summary: 查询小店活动门店详情
description: '[官方文档](https://pay.weixin.qq.com/docs/partner/apis/retail-store/retail-store-act/get-store.html)'
parameters:
- name: brand_id
in: path
required: true
type: string
description: 品牌ID
example: '1001'
- name: store_code
in: path
required: true
type: string
description: 门店编码
example: 'abc_001'
responses:
'200':
schema: {}
43 changes: 43 additions & 0 deletions docs/v3/merchant-risk-manage/trade-risk-information.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
get:
x-last-updated-at: 2023.06.07
x-role:
- 普通商户
- 服务商
tags:
- 风险管理
summary: 查询风险信息
description: '[官方文档](https://pay.weixin.qq.com/docs/partner/apis/risk-manage/trade-risk/query-trade-risk-information.html)'
parameters:
- name: sp_mchid
in: query
type: string
description: 微信支付分配的服务商唯一标识
example: '1900000109'
- name: acquiring_bank_id
in: query
type: string
description: 微信支付分配的从业机构唯一标识
example: '1356485'
- name: channel_id
in: query
type: string
description: 微信支付分配的渠道商唯一标识
example: '1900000108'
- name: sub_mchid
in: query
type: string
description: 上报订单风险数据的商户号信息
example: '1900009231'
- name: out_trade_no
in: query
type: string
description: 商户系统内部订单号,只能是数字、大小写字母_-*且在同一个商户号下唯一
example: '1217752501201407033233368018'
- name: complaints_information
in: query
type: string
description: 投诉信息
example: 商家说高额返利,支付很大金额之后发现并没有返利,是骗子
responses:
'200':
schema: {}
72 changes: 72 additions & 0 deletions docs/v3/merchant-risk-manage/trade-risk-result.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
post:
x-last-updated-at: 2023.06.07
x-role:
- 普通商户
- 服务商
tags:
- 风险管理
summary: 处置结果回传
description: '[官方文档](https://pay.weixin.qq.com/docs/partner/apis/risk-manage/trade-risk-result/create-trade-risk-result.html)'
parameters:
- name: _
in: body
required: true
schema:
type: object
properties:
sp_mchid:
type: string
description: 微信支付分配的服务商唯一标识
example: '1900000109'
acquiring_bank_id:
type: string
description: 微信支付分配的从业机构唯一标识
example: '1356485'
channel_id:
type: string
description: 微信支付分配的渠道商唯一标识
example: '1900000108'
sub_mchid:
type: string
description: 上报订单风险数据的商户号信息
example: '1900009231'
out_trade_no:
type: string
description: 商户系统内部订单号,只能是数字、大小写字母_-*且在同一个商户号下唯一
example: '1217752501201407033233368018'
risk_type:
type: string
description: 风险类型
enum:
- OTHER_RISK
- INDUCE_PAYMENT
- FRAUD
- GAMBLING
- CYBERSEX
example: OTHER_RISK
punish_type:
type: string
description: 处置手段
enum:
- OTHER_PUNISH
- DISABLE_PAYMENT
- SUSPEND_SETTLEMENT
- DISABLE_WITHDRAW
- REMOVE_MERCHANTS
- ADD_MERCHANTS_BLACKLIST
- REFUND
- FREEZING_FUND_BY_TRANSACTION
- FREEZING_FUND_BY_MERCHANTS
- BLOCKED_USER
example: OTHER_PUNISH
additional_punish_type:
type: string
description: 处置手段补充
example: 'SUSPEND_SETTLEMENT_NDAYS:10'
complaints_information:
type: string
description: 投诉信息
example: 商家说高额返利,支付很大金额之后发现并没有返利,是骗子
responses:
'200':
schema: {}
Loading

0 comments on commit b96dc0a

Please sign in to comment.