POST public/v3/OpenUserPayOrder/CreatePayOrder

创建订单

Request

URI Params

None.

Body Params

订单详情

CreateAppOrderApiModel
字段名字段说明字段类型附加信息
AppID

integer

None.

ShopID

integer

None.

ShopDesc

string

None.

CloudID

integer

None.

BillNo

string

None.

PayType

PayType

None.

Amount

integer

None.

Subject

string

None.

Desc

string

None.

Extra

string

None.

ReturnUrl

string

None.

NotifyUrl

string

None.

UxSign

string

None.

Request Formats

application/json, text/json

Sample:
{
  "AppID": 1,
  "ShopID": "2",
  "ShopDesc": "sample string 3",
  "CloudID": 4,
  "BillNo": "sample string 5",
  "PayType": 0,
  "Amount": 6,
  "Subject": "sample string 7",
  "Desc": "sample string 8",
  "Extra": "sample string 9",
  "ReturnUrl": "sample string 10",
  "NotifyUrl": "sample string 11",
  "UxSign": "sample string 12"
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Api Parameter Descriptions

参数描述参数说明参数源
order

订单详情

FromBody

Response

APITResultOfPayOrderResultApiModel
字段名字段说明字段类型附加信息
Data

PayOrderResultApiModel

None.

Ret

返回结果(0-成功;>0-失败) ret=0 成功返回/ret=1 参数错误/ret=2 频率受限 /ret=3 Token无效 /ret=4 服务器内部错误 /ret=5 用户操作错误 / ret=6 停机维护 / ret=7 身份失效

integer

None.

ErrCode

错误代码,因功能而异

integer

None.

Msg

返回信息

string

None.

SeqId

请求序列

integer

None.

InfoMsg

API附加信息

string

None.

application/json, text/json

Sample:
{
  "Data": {
    "UxPayID": "1",
    "WxCode": "sample string 2",
    "WxMsg": "sample string 3"
  },
  "Ret": 1,
  "ErrCode": 2,
  "Msg": "sample string 3",
  "SeqId": 4,
  "InfoMsg": "sample string 5"
}