Skip to content

Commit

Permalink
0
Browse files Browse the repository at this point in the history
  • Loading branch information
hushulin committed Mar 2, 2020
1 parent 5b83b3d commit d5c7204
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions index.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
> 系统把创建交易的能力以API的形式开放给商家,使您能用更灵活的方式集成开发支付功能。此API用于创建商家自己的自定义结帐页面,因此买家不必离开商家的网站即可完成付款。
| 接口说明 | |
| ---------- | ---------------- |
| ------------ | ------------ |
| 请求路径 | http://{host}/api/v1/submit_trans |
| 请求方式 | POST |
| Content-Type | application/json |
Expand All @@ -25,7 +25,7 @@
请求参数说明

| 参数 | 类型 | 备注 |
| ---------- | ------------ | ------------ |
| ------------ | ------------ | ------------ |
| sign | string | 签名 |
| pubkey | string | 系统分配的公钥 |
| item_name | string | (可选)此交易的商品名 |
Expand All @@ -34,7 +34,7 @@
响应参数说明

| 参数 | 类型 | 备注 |
| ---------- | ------------ | ---------------------- |
| ------------ | ------------ | ------------ |
| status | integer | 系统状态码,=0为操作成功,>0为操作失败,msg有相关错误说明 |
| msg | string | 当status>0时,错误说明信息(该字段在status=0时返回交易TXID)|
| data | object | 交易实体对象 |
Expand Down

0 comments on commit d5c7204

Please sign in to comment.