订单提交接口
POST
https://vipapi.nvframe.com/api/merchant/index
请求参数
Body 参数application/json
appid
string
商户id
method
string
接口方法
timestamp
number
时间戳
content
object
业务参数,json字符串
out_no
string
商户订单号
account
string
充值账号
account_type
string
账号类型
product_id
integer
产品编码
price_limit
number
单价限价(单位:元)
当平台授权的价格大于了传入的限价,订单将自动失败。
该价格一般传入的是平台授权给贵司的价格,当然也可以根据贵司实际运营传入其他的限制价格。
如果不想做校验,传0即可。
num
integer
充值数量
notify_url
string
回调地址
extend
object
其他参数
sign
string
签名
示例
{
"appid": "9733732",
"method": "order.submit",
"timestamp": "1698714824",
"content": "{\"out_no\":\"202310310913448798\",\"account\":\"15717141167\",\"account_type\":\"mobile\",\"product_id\":\"100000\",\"num\":\"1\",\"notify_url\":\"https://notify.xxxxx.com/api/xx\"}",
"sign": "5e1a2e7db15a075ea4168363660b6ca8"
}
返回响应
🟢200通用响应
application/json
Body
code
integer
错误码
msg
string
错误说明
data
object
响应结果
order_no
string
订单号
out_no
string
商户自己的单号
示例
{
"code": 0,
"msg": null,
"data": {
"order_no": "231031333000032",
"out_no": "202310310913448798"
}
}
修改于 2024-04-12 16:02:29