|
|
|
@ -140,9 +140,9 @@ tags:
|
|
|
|
|
- name: RetailPay
|
|
|
|
|
description: |
|
|
|
|
|
线下支付订单接口用于线下零售收银,有B扫C和C扫B两种模式
|
|
|
|
|
- name: AlipayOnline
|
|
|
|
|
- name: ChannelGateway
|
|
|
|
|
description: |
|
|
|
|
|
用于PC端支付宝支付,创建订单后跳转到返回的pay_url(需附加签名参数和redirect参数),随后进入支付宝支付页面完成支付
|
|
|
|
|
用于PC端渠道网关支付,创建订单后跳转到返回的pay_url(需附加签名参数和redirect参数),随后进入渠道收银台页面完成支付
|
|
|
|
|
该接口现仅支持支付宝。
|
|
|
|
|
<img src="img/alipayOnline_cn.png">
|
|
|
|
|
- name: CB Bank
|
|
|
|
@ -212,7 +212,7 @@ paths:
|
|
|
|
|
- SDK Payment
|
|
|
|
|
- CB Bank
|
|
|
|
|
- RetailPay
|
|
|
|
|
- AlipayOnline
|
|
|
|
|
- ChannelGateway
|
|
|
|
|
- CardPayment
|
|
|
|
|
- MiniProgram
|
|
|
|
|
- MobileH5
|
|
|
|
@ -239,7 +239,7 @@ paths:
|
|
|
|
|
- SDK Payment
|
|
|
|
|
- CB Bank
|
|
|
|
|
- RetailPay
|
|
|
|
|
- AlipayOnline
|
|
|
|
|
- ChannelGateway
|
|
|
|
|
- CardPayment
|
|
|
|
|
- MiniProgram
|
|
|
|
|
- MobileH5
|
|
|
|
@ -833,13 +833,13 @@ paths:
|
|
|
|
|
description: 付款码字符串,商户可自行生成二维码 # todo
|
|
|
|
|
/alipay/partners/{partner_code}/orders/{partner_order_id}:
|
|
|
|
|
put:
|
|
|
|
|
summary: 支付宝WEB订单下单
|
|
|
|
|
summary: 渠道网关订单下单
|
|
|
|
|
x-sort-order: 0
|
|
|
|
|
description: |
|
|
|
|
|
创建订单后跳转到返回的pay_url(需附加签名参数和redirect参数),随后进入支付宝支付页面完成支付
|
|
|
|
|
该接口现仅支持支付宝。
|
|
|
|
|
tags:
|
|
|
|
|
- AlipayOnline
|
|
|
|
|
- ChannelGateway
|
|
|
|
|
parameters:
|
|
|
|
|
- name: partner_code
|
|
|
|
|
in: path
|
|
|
|
@ -851,7 +851,16 @@ paths:
|
|
|
|
|
content:
|
|
|
|
|
application/json:
|
|
|
|
|
schema:
|
|
|
|
|
$ref: 'components_order.yml#/orderBasic'
|
|
|
|
|
allOf:
|
|
|
|
|
- $ref: 'components_order.yml#/orderBasic'
|
|
|
|
|
- type: object
|
|
|
|
|
properties:
|
|
|
|
|
channel:
|
|
|
|
|
type: string
|
|
|
|
|
description: 支付渠道,默认为Alipay
|
|
|
|
|
enum:
|
|
|
|
|
- Alipay
|
|
|
|
|
- AlipayPlus
|
|
|
|
|
responses:
|
|
|
|
|
200:
|
|
|
|
|
description: Order
|
|
|
|
@ -1016,7 +1025,7 @@ paths:
|
|
|
|
|
- MobileH5
|
|
|
|
|
- MiniProgram
|
|
|
|
|
- CardPayment
|
|
|
|
|
- AlipayOnline
|
|
|
|
|
- ChannelGateway
|
|
|
|
|
- RetailPay
|
|
|
|
|
- CB Bank
|
|
|
|
|
- SDK Payment
|
|
|
|
@ -1062,7 +1071,7 @@ paths:
|
|
|
|
|
- MobileH5
|
|
|
|
|
- MiniProgram
|
|
|
|
|
- CardPayment
|
|
|
|
|
- AlipayOnline
|
|
|
|
|
- ChannelGateway
|
|
|
|
|
- RetailPay
|
|
|
|
|
- CB Bank
|
|
|
|
|
- SDK Payment
|
|
|
|
@ -1234,7 +1243,7 @@ paths:
|
|
|
|
|
- SDK Payment
|
|
|
|
|
- CB Bank
|
|
|
|
|
- RetailPay
|
|
|
|
|
- AlipayOnline
|
|
|
|
|
- ChannelGateway
|
|
|
|
|
- CardPayment
|
|
|
|
|
- MiniProgram
|
|
|
|
|
- MobileH5
|
|
|
|
|