接口名称 | 创建订单(个人码) 签名 |
地址 | https://api.cnlive.com/open/api2/pom/orderForPromCode |
method | post |
返回数据 | json |
/* Title: 2.6 创建视频订单(兑码) Sort: 8 */
参数 | 必选 | 类型 | 说明 |
---|---|---|---|
sp_id | true | String | 服务提供商ID |
sid | true | Integer | 用户ID |
prdId | true | String | 商品ID |
promCode | true | String | 视频兑换码 |
plat | true | String | 平台类型 |
sign | true | String | 签名 |
订单创建成功:
{
"errorCode":"0",
"errorMessage":"兑换成功"
}
订单创建失败:
{
"errorCode":"xxxx",
"errorMessage":"参数非法|未登录|您已订购|兑换码不存在|兑换码已被使用|兑换成功"
}