Skip to content

Commit

Permalink
支付分∙先用后付
Browse files Browse the repository at this point in the history
  • Loading branch information
TheNorthMemory committed Jan 24, 2024
1 parent 5945fe1 commit 8beab27
Show file tree
Hide file tree
Showing 20 changed files with 1,398 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
| 支付分∙免确认模式∙普通授权 | ✔️ | |
| 支付分∙免确认模式∙预授权 | ✔️ | |
| 支付分∙先享卡 | ✔️ | |
| 支付分∙先用后付 | ✔️ | ✔️ |
| 支付分∙先享后付 | ✔️ | |
| 支付分∙智慧零售 | ✔️ | |
| 支付分∙停车服务 | ✔️ | ✔️ |
Expand Down
15 changes: 14 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.21
version: 0.15.22
schemes:
- https
consumes:
Expand Down Expand Up @@ -47,6 +47,7 @@ tags:
- name: 支付分∙免确认模式∙普通授权
- name: 支付分∙免确认模式∙预授权
- name: 支付分∙先享卡
- name: 支付分∙先用后付
- name: 支付分∙先享后付
- name: 支付分∙智慧零售
- name: 支付分∙停车服务
Expand Down Expand Up @@ -1115,10 +1116,16 @@ paths:
$ref: ./v3/payscore/acquiringbank/serviceorder/{out_order_no}/cancel.yaml
/v3/payscore/acquiringbank/serviceorder/{out_order_no}/complete:
$ref: ./v3/payscore/acquiringbank/serviceorder/{out_order_no}/complete.yaml
/v3/payscore/acquiringbank/serviceorder/{out_order_no}/modify:
$ref: ./v3/payscore/acquiringbank/serviceorder/{out_order_no}/modify.yaml
/v3/payscore/acquiringbank/serviceorder/{out_order_no}/registerdeductinfo:
$ref: ./v3/payscore/acquiringbank/serviceorder/{out_order_no}/registerdeductinfo.yaml
/v3/payscore/acquiringbank/serviceorder/{out_order_no}/sync:
$ref: ./v3/payscore/acquiringbank/serviceorder/{out_order_no}/sync.yaml
/v3/payscore/acquiringbank/serviceorder/deduction:
$ref: ./v3/payscore/acquiringbank/serviceorder/deduction.yaml
/v3/payscore/acquiringbank/servicepayondeliveryorder:
$ref: ./v3/payscore/acquiringbank/servicepayondeliveryorder.yaml
/v3/payscore/merchant-bill:
$ref: ./v3/payscore/merchant-bill.yaml
/v3/payscore/partner/permissions:
Expand Down Expand Up @@ -1149,6 +1156,10 @@ paths:
$ref: ./v3/payscore/partner/serviceorder/{out_order_no}/sync.yaml
/v3/payscore/partner/serviceorder/direct-complete:
$ref: ./v3/payscore/partner/serviceorder/direct-complete.yaml
/v3/payscore/partner/servicepayondeliveryorder:
$ref: ./v3/payscore/partner/servicepayondeliveryorder.yaml
/v3/payscore/partner/servicequotas/service-id/{service_id}:
$ref: ./v3/payscore/partner/servicequotas/service-id/{service_id}.yaml
/v3/payscore/payafter-orders:
$ref: ./v3/payscore/payafter-orders.yaml
/v3/payscore/payafter-orders/{out_order_no}/cancel:
Expand Down Expand Up @@ -1181,6 +1192,8 @@ paths:
$ref: ./v3/payscore/serviceorder/{out_order_no}/sync.yaml
/v3/payscore/serviceorder/direct-complete:
$ref: ./v3/payscore/serviceorder/direct-complete.yaml
/v3/payscore/servicepayondeliveryorder:
$ref: ./v3/payscore/servicepayondeliveryorder.yaml
/v3/payscore/smartretail-orders:
$ref: ./v3/payscore/smartretail-orders.yaml
/v3/payscore/smartretail-orders/{out_order_no}/cancel:
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,98 @@
post:
x-last-updated-at: 2023.05.24
x-role:
- 从业机构
tags:
- 支付分∙先用后付
summary: 修改订单金额
description: '[官方文档](https://pay.weixin.qq.com/docs/partner/apis/partner-institution-weixin-pay-score/acquiring-bank-service-order/modify-acquiring-bank-service-order.html)'
parameters:
- name: out_order_no
in: path
required: true
type: string
description: 商户服务订单号
example: 1234323JKHDFE1243252
- name: _
in: body
required: true
schema:
type: object
required:
- service_id
- sub_mchid
- total_amount
- reason
properties:
service_id:
type: string
description: 服务ID
example: '2002000000000558128851361561536'
sub_mchid:
type: string
description: 子商户号
example: '1900000109'
channel_id:
type: string
description: 渠道商商户号
example: '1230000109'
post_payments:
type: array
description: 后付费项目
items:
type: object
required:
- name
properties:
name:
type: string
description: 付费名称
example: 就餐费用
description:
type: string
description: 付费说明
example: 就餐人均100元
amount:
type: integer
description: 付费金额
example: 40000
count:
type: integer
description: 付费数量
example: 4
post_discounts:
type: array
description: 后付费商户优惠
items:
type: object
required:
- name
- description
- amount
properties:
name:
type: string
description: 优惠名称
example: 满20减1元
description:
type: string
description: 优惠说明
example: 不与其他优惠叠加
amount:
type: integer
description: 优惠金额
example: 100
count:
type: integer
description: 优惠数量
example: 2
total_amount:
type: integer
description: 总金额
example: 50000
reason:
type: string
description: 修改原因
example: 用户投诉
responses:
'204': {}
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
post:
x-last-updated-at: 2023.05.24
x-role:
- 从业机构
tags:
- 支付分∙先用后付
summary: 同步订单信息
description: '[官方文档](https://pay.weixin.qq.com/docs/partner/apis/partner-institution-weixin-pay-score/acquiring-bank-service-order/sync-acquiring-bank-service-order.html)'
parameters:
- name: out_order_no
in: path
required: true
type: string
description: 商户服务订单号
example: 1234323JKHDFE1243252
- name: _
in: body
required: true
schema:
type: object
required:
- service_id
- sub_mchid
- type
- detail
properties:
service_id:
type: string
description: 服务ID
example: '2002000000000558128851361561536'
sub_mchid:
type: string
description: 子商户号
example: '1900000109'
channel_id:
type: string
description: 渠道商商户号
example: '1230000109'
type:
type: string
description: 场景类型
example: Order_Paid
detail:
type: object
description: 内容信息详情
required:
- paid_time
properties:
paid_time:
type: string
description: 收款成功时间
example: '20091225091210'
responses:
'204': {}
Loading

0 comments on commit 8beab27

Please sign in to comment.