add alipayplus params

master
yixian 4 years ago
parent 78a2d1468c
commit 17b726d482

@ -32,6 +32,77 @@ orderBasic:
可以提供以下格式的精确时间yyyy-MM-dd HH:mm:ss基于GMT+10时区。
或以以下格式提供:数字+m/hm=分钟h=小时
超时时间最小1m最大24h
extra:
type: object
description: 订单扩展参数,部分渠道必填
properties:
pay_type:
type: string
description: 钱包类型AlipayPlus 线上订单必填默认是alipay_cn
enum:
- alipay_cn
- alipay_hk
- gcash
- dana
- bkash
- kakaopay
- easy_paisa
- tng
- truemoney
flights:
type: array
description: 航班信息如果有多个航班需分开填入如果商户业务类型是航班类型且钱包类型为alipay_cn时必填
items:
type: object
properties:
flight_no:
type: string
description: 航班号
departure_time:
type: string
format: date-time
pattern: yyyyMMddHHmm
description: 起飞时间(当地时区)
hotels:
type: array
description: 酒店预订信息如果有多个酒店则分开录入如果商户类型为旅游且钱包类型为alipay_cn时必填
items:
type: object
properties:
name:
type: string
description: 酒店名称
check_in_time:
type: string
format: date
pattern: yyyyMMdd
description: 入住日期
check_out_time:
type: string
format: date
pattern: yyyyMMdd
description: 离店日期
schools:
type: array
description: 留学信息如果存在多个则分开录入如果商户类型为留学且钱包类型为alipay_cn时必填
items:
type: object
properties:
admission_notice_url:
type: string
description: 学校AdmissionNotice网页地址
goods:
type: array
description: 商品信息如果存在多个则分开录入如果商户类型为贸易且钱包类型为alipay_cn时必填
items:
type: object
properties:
name:
type: string
description: 商品名称
quantity:
type: number
description: 数量
orderWithChannel:
allOf:
- $ref: '#/orderBasic'
@ -42,6 +113,7 @@ orderWithChannel:
enum:
- Alipay
- Wechat
- AlipayPlus
type: object
required:
- channel

@ -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
@ -1016,7 +1016,7 @@ paths:
- MobileH5
- MiniProgram
- CardPayment
- AlipayOnline
- ChannelGateway
- RetailPay
- CB Bank
- SDK Payment
@ -1062,7 +1062,7 @@ paths:
- MobileH5
- MiniProgram
- CardPayment
- AlipayOnline
- ChannelGateway
- RetailPay
- CB Bank
- SDK Payment
@ -1234,7 +1234,7 @@ paths:
- SDK Payment
- CB Bank
- RetailPay
- AlipayOnline
- ChannelGateway
- CardPayment
- MiniProgram
- MobileH5

Loading…
Cancel
Save