1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
definitions:
models.PlaceAnOrderParamInput:
properties:
app_id:
type: string
attach_info:
type: string
customer:
type: string
dynamic_id:
type: string
goods_des:
type: string
goods_detail:
type: string
goods_price:
type: number
is_serve:
type: integer
notice_url:
type: string
open_id:
type: string
operator:
type: string
pay_type:
type: integer
platform_info:
type: string
platform_type:
type: integer
quit_url:
type: string
return_url:
type: string
source_code:
type: integer
store_sn:
type: string
sub_mchid:
type: string
wap_name:
type: string
wap_url:
type: string
type: object
models.RefundParamInput:
properties:
goods_price:
type: number
order_id:
type: string
type: object
models.WxNoticeInput:
properties:
channel_id:
type: string
merchant_no:
type: string
order_create_time:
type: string
order_efficient_time:
type: string
order_info:
type: string
order_status:
type: string
order_trade_info:
type: object
out_order_no:
type: string
pay_order_no:
type: string
split_info:
type: object
term_no:
type: string
total_amount:
type: number
trans_merchant_no:
type: string
trans_term_no:
type: string
type: object
info:
contact: {}
description: 采购订单项目
title: 谛宝多多平台
version: "1.0"
paths:
/api/v1/pay/unified_order:
post:
consumes:
- application/json
description: 拉卡拉统一支付
parameters:
- description: 参数
in: body
name: body
required: true
schema:
$ref: '#/definitions/models.PlaceAnOrderParamInput'
- description: 语言类型 zh-CN简体中文 en-US英文 ja 日文 默认中文
in: header
name: language
type: string
produces:
- application/json
responses:
"200":
description: ""
summary: 拉卡拉统一支付
tags:
- 拉卡拉统一支付
/api/v1/pay/unified_refund:
post:
consumes:
- application/json
description: 拉卡拉退款
parameters:
- description: 参数
in: body
name: body
required: true
schema:
$ref: '#/definitions/models.RefundParamInput'
- description: 语言类型 zh-CN简体中文 en-US英文 ja 日文 默认中文
in: header
name: language
type: string
produces:
- application/json
responses:
"200":
description: ""
summary: 拉卡拉退款
tags:
- 拉卡拉退款
/api/v1/pay/wx_notice:
post:
consumes:
- application/json
description: 拉卡拉统一支付微信回调
parameters:
- description: 参数
in: body
name: body
required: true
schema:
$ref: '#/definitions/models.WxNoticeInput'
- description: 语言类型 zh-CN简体中文 en-US英文 ja 日文 默认中文
in: header
name: language
type: string
produces:
- application/json
responses:
"200":
description: ""
summary: 拉卡拉统一支付微信回调
tags:
- 拉卡拉统一支付回调
securityDefinitions:
ApiKeyAuth:
in: header
name: Authorization
type: apiKey
swagger: "2.0"