Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Z
zhichan
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
蒋勇
zhichan
Commits
564fd580
Commit
564fd580
authored
Jan 10, 2020
by
王栋源
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wdy
parent
c8be87bc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
48 additions
and
7 deletions
+48
-7
igirl-channel/app/front/entry/public/apidoc/paymentDesc/payment.md
+48
-7
No files found.
igirl-channel/app/front/entry/public/apidoc/paymentDesc/payment.md
View file @
564fd580
<a
name=
"menu"
href=
"/doc"
>
返回主目录
</a>
1.
[
pc端订单支付二维码生成
](
#paypc
)
1.
[
通联支付查询
](
#tlqo
)
## **<a name="paypc"> 订单支付</a>**
[
返回到目录
](
#menu
)
##### URL
[
/
api/payment/paymentApi/getQrCode
]
[
/
web/payment/paymentApi/springBoard
]
#### 参数格式 `JSON`
#### HTTP请求方式 `POST`
#### 渠道执行的类型 actionType:
paypc
#### 渠道执行的类型 actionType:
getQrCode
```
javascript
{
"uapp_id"
:
"1"
,
//平台渠道ID
"order_num"
:
"1"
,
//支付单号
"total_fee"
:
"1"
,
//支付金额 分
"body_desc"
:
"1"
,
//产品名称
"opType"
:
"1"
,
// 支付方式 alipay阿里 wx微信
"actionType"
:
"getQrCode"
,
//Y string 渠道执行的类型
"actionBody"
:
{
"uapp_id"
:
"1"
,
//平台渠道ID
"order_num"
:
"1"
,
//支付单号
"total_fee"
:
"1"
,
//支付金额 分
"body_desc"
:
"1"
,
//产品名称
"opType"
:
"alipay"
,
// 支付方式 alipay阿里 wx微信
}
}
```
...
...
@@ -33,3 +37,40 @@
"requestId"
:
"058244807fff4ab388bbda79afc04b28"
}
```
## **<a name="tlqo"> 订单支付查询</a>**
[
返回到目录
](
#menu
)
##### URL
[
/web/payment/paymentApi/springBoard
]
#### 参数格式 `JSON`
#### HTTP请求方式 `POST`
#### 渠道执行的类型 actionType:queryOrder
```
javascript
{
"actionType"
:
"queryOrder"
,
//Y string 渠道执行的类型
"actionBody"
:
{
"uapp_id"
:
"1"
,
//平台渠道ID
"trxid"
:
"112094120001042656"
//支付渠道交易单号,如支付宝,微信平台的交易单号
}
}
```
#### 返回结果
```
javascript
{
"status"
:
0
,
"msg"
:
"SUCCESS"
,
"data"
:
{
"trxcode"
:
"VSP501"
,
//交易类型,VSP501 微信支付、VSP511 支付宝支付
"trxamt"
:
"100"
,
//交易金额 单位为分
"reqsn"
:
"dfghrtjjn_1"
,
//商户订单号_uappid
"trxid"
:
"112094120001042656"
,
// 交易单号,平台的交易流水号
"trxstatus"
:
"3045"
,
// 交易状态,0000:交易成功、1001:交易不存在、
//2008或者2000 : 交易处理中,请查询交易,如果是实时交易(例如刷卡支付,交易撤销,退货),建议每隔一段时间(10秒)查询交易、
//3888-流水号重复、其他3开头的错误码代表交易失败
"fintime"
:
"20200107180458"
,
// 交易完成时间 yyyyMMddHHmmss
"errmsg"
:
"超时未支付"
// 错误原因
},
"requestId"
:
"cc7d75a1e7084aeeb082176cd9efdb4f"
}
```
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment