生成订单并获取支付链接
POST
http://localhost:9100/project/direct-order/generate/order?productId=1&payAmount=12800&deliveryAddress=%E6%B5%99%E6%B1%9F%E5%85%86%E6%B3%89&deliveryName=%E5%95%A6%E5%95%A6&deliveryMobile=13874152738
请求头
参数名
类型
描述
必填
Access-Token
int
示例:15907109532
必填
请求参数
参数名
类型
描述
必填
productId
int
示例:1
必填
payAmount
int
示例:12800
必填
deliveryAddress
string
示例:浙江兆泉
必填
deliveryName
string
示例:啦啦
必填
deliveryMobile
int
示例:13874152738
必填
orderCode
string
防止接口重复提交的唯一订单单号 (现未使用)
可选
provinceCode
省code
必填
cityCode
市区code
必填
areaCode
区域code
必填
响应参数
参数名
类型
描述
必填
resultCode
int
示例:1
必填
success
boolean
示例:true
必填
msg
string
示例:成功
必填
data
string
示例:http://h5.irichpay.com/Web/EntryPay.aspx?merchantcode=110330148160245&money=12800.0000¬ifyurl=http%3A%2F%2Fxry2.tsw202.com%2Fproject%2Fpay%2Fnotify&orderid=6&orgcode=110000672&sign=20187DF1D232EE182D2D9EDE6A41FD12×pan=20200929145327&usercode=11000026
必填
token
object
示例:null
必填
functionId
int
示例:0
必填